Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Initial Commit
- Loading branch information
0 parents
commit e2ce9b8
Showing
119 changed files
with
26,763 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php get_header(); ?> | ||
<div class = "long-row"> | ||
<div class = "row"> | ||
|
||
<?php get_template_part('content', '404'); ?> | ||
|
||
</div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# independence-day-theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php get_header(); ?> | ||
<div class = "row" id = "contentsection"> | ||
<div class = "large-12 column" id = "content-box"> | ||
<h2 class = "content-title"> | ||
<?php | ||
if ( is_day() ) : | ||
printf( __( 'Daily Archives: %s', 'eversource' ), '<span>' . get_the_date() . '</span>' ); | ||
elseif ( is_month() ) : | ||
printf( __( 'Monthly Archives: %s', 'eversource' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'eversource' ) ) . '</span>' ); | ||
elseif ( is_year() ) : | ||
printf( __( 'Yearly Archives: %s', 'eversource' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'eversource' ) ) . '</span>' ); | ||
else : | ||
_e( 'Archive Type Not Available', 'eversource' ); | ||
endif; | ||
?> | ||
|
||
</h2> | ||
|
||
<ul class = "small-block-grid-1 medium-block-grid-2 large-block-grid-4"> | ||
<?php if(have_posts()): ?> | ||
<?php while(have_posts()): the_post(); ?> | ||
<li> | ||
<?php get_template_part('content', 'archive'); ?> | ||
</li> | ||
<?php endwhile; ?> | ||
<?php else: ?> | ||
<li> | ||
<?php get_template_part('content', '404'); ?> | ||
</li> | ||
<?php endif; ?> | ||
</ul> | ||
<p><b>Available Archives</b></p> | ||
<ul> | ||
<?php wp_get_archives('type=yearly'); ?> | ||
</ul> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php get_header(); ?> | ||
<div class = "large-12 column" id = "content-box"> | ||
<?php if(have_posts()): ?> | ||
|
||
<?php while(have_posts()): the_post(); ?> | ||
|
||
<?php get_template_part('content', 'aside'); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<?php get_template_part('content', '404'); ?> | ||
|
||
<?php endif; ?> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php get_header(); ?> | ||
<div class = "large-12 column" id = "content-box"> | ||
<?php if(have_posts()): ?> | ||
|
||
<?php while(have_posts()): the_post(); ?> | ||
|
||
<?php get_template_part('content', get_post_format()); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<?php get_template_part('content', '404'); ?> | ||
|
||
<?php endif; ?> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php get_header(); ?> | ||
<div class = "large-12 column" id = "content-box"> | ||
<?php if(have_posts()): ?> | ||
|
||
<?php while(have_posts()): the_post(); ?> | ||
|
||
<?php get_template_part('content', 'author'); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<?php get_template_part('content', '404'); ?> | ||
|
||
<?php endif; ?> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php get_header(); ?> | ||
<div class = "row" id = "contentsection"> | ||
<div class = "large-12 column" id = "content-box"> | ||
<?php | ||
|
||
$on_off = true; | ||
|
||
?> | ||
|
||
<h2 class = "content-title">Category: <?php single_cat_title(''); ?></h2> | ||
|
||
<div class = "large-12 column left" id = "category-column"> | ||
<?php if(have_posts()): ?> | ||
|
||
<?php while(have_posts()): the_post(); ?> | ||
<div class = "category-row long-row is-<?php print (($on_off == true) ? "off" : "on"); ?>"> | ||
<?php get_template_part('content', 'category'); ?> | ||
</div> | ||
<?php | ||
|
||
if($on_off){ | ||
|
||
$on_off = false; | ||
|
||
} else { | ||
|
||
$on_off = true; | ||
|
||
} | ||
|
||
?> | ||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<div class = "category-row long-row"> | ||
<?php get_template_part('content', '404'); ?> | ||
</div> | ||
<?php endif; ?> | ||
</div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php get_header(); ?> | ||
<div class = "row" id = "contentsection"> | ||
<div class = "large-12 column" id = "content-box"> | ||
<?php if(have_posts()): ?> | ||
|
||
<?php while(have_posts()): the_post(); ?> | ||
|
||
<?php get_template_part('content', get_post_format()); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<?php get_template_part('content', '404'); ?> | ||
|
||
<?php endif; ?> | ||
</div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Error: 404, Houston, We Have a Problem!</h2> | ||
<p>The content you are searching for is not available at this time or does not exist. </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php if(has_post_thumbnail($post->ID)):?><img src = "<?php the_post_thumbnail_url(); ?>" alt = "" /><?php endif; ?> | ||
<p><strong><?php the_title(); ?></strong></p> | ||
<p><?php print substr(get_the_excerpt(), 0, 150); ?>. . .</p> | ||
<p><em>Published: <?php print get_the_date(); ?></em></p> | ||
<p><a href="<?php the_permalink(); ?>">read more</a></p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Aside: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Audio: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Author: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<form method="get" action="/"> | ||
<table border = "0" style = "border: 0;"> | ||
<tr> | ||
<td><label><b>Search </b></label> </td> | ||
<td><?php $args = array( | ||
'orderby' => 'title', | ||
'order' => 'desc', | ||
'show_option_all' => '-- Choose One --', | ||
'taxonomy' => 'academy-keyword', | ||
'walker' => new my_Walker_CategoryDropdown | ||
); | ||
|
||
wp_dropdown_categories( $args ); ?> | ||
<script type="text/javascript"><!-- | ||
var dropdown = document.getElementById("cat"); | ||
function onCatChange() { | ||
if ( dropdown.options[dropdown.selectedIndex].value != '0' ) { | ||
location.href = "<?php echo get_option('home'); | ||
?>/?academy-keyword="+dropdown.options[dropdown.selectedIndex].value; | ||
} | ||
} | ||
dropdown.onchange = onCatChange; | ||
--></script> </td> | ||
</tr> | ||
</table> | ||
</form> | ||
<?php $inf = getProfile(get_the_ID()); ?> | ||
<p><b>Year Inducted / Awarded:</b> <?php print $inf['member_info_yr_inducted']; ?></p> | ||
<p><b>Member Award: </b> <?php print $inf['member_info_award']; ?></p> | ||
<?php the_content(); ?> | ||
<p><b>Categories | Keywords:</b> | ||
<?php | ||
$terms = get_the_terms( $post->ID , 'academy-keyword' ); | ||
$output = ""; | ||
|
||
$separator = ", "; | ||
|
||
if($terms){ | ||
|
||
foreach ( $terms as $term ) { | ||
|
||
$output .= '<a href="'.get_category_link($term).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $term->name ) ) . '">'.$term->name.'</a>'.$separator; | ||
|
||
} | ||
|
||
} else { | ||
|
||
$output = "No keywords available"; | ||
|
||
} | ||
|
||
print trim($output, $separator); | ||
|
||
?></p> | ||
|
||
<p><em>Published: <?php print get_the_date(); ?></em></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p><b><?php the_title(); ?></b></p> | ||
<?php the_excerpt(); ?> | ||
<p><a href="<?php the_permalink(); ?>">read more</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Chat: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Gallery: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Attachment: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Link: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title"><?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Quote: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Search: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<h2 class = "content-title"><?php the_title(); ?></h2> | ||
|
||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title"><?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2 class = "content-title">Video: <?php the_title(); ?></h2> | ||
<?php the_content(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
hi | ||
<div class = "row" id = "contentsection"> | ||
<div class = "large-12 column" id = "content-box"> | ||
<h2 class = "content-title"><?php the_title(); ?> hi</h2> | ||
<?php get_template_part('content', 'organization-event'); ?> | ||
<?php the_content(); ?> | ||
</div> | ||
</div> |
Oops, something went wrong.