Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
ore02001 committed Jan 8, 2021
0 parents commit e2ce9b8
Show file tree
Hide file tree
Showing 119 changed files with 26,763 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 404.php
@@ -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(); ?>
1 change: 1 addition & 0 deletions README.md
@@ -0,0 +1 @@
# independence-day-theme
37 changes: 37 additions & 0 deletions archive.php
@@ -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(); ?>
17 changes: 17 additions & 0 deletions aside.php
@@ -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(); ?>
17 changes: 17 additions & 0 deletions audio.php
@@ -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(); ?>
17 changes: 17 additions & 0 deletions author.php
@@ -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(); ?>
42 changes: 42 additions & 0 deletions category.php
@@ -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(); ?>
19 changes: 19 additions & 0 deletions chat.php
@@ -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(); ?>
2 changes: 2 additions & 0 deletions content-404.php
@@ -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>
6 changes: 6 additions & 0 deletions content-archive.php
@@ -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>

2 changes: 2 additions & 0 deletions content-aside.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Aside: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-audio.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Audio: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-author.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Author: <?php the_title(); ?></h2>
<?php the_content(); ?>
56 changes: 56 additions & 0 deletions content-calendar.php
@@ -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>
3 changes: 3 additions & 0 deletions content-category.php
@@ -0,0 +1,3 @@
<p><b><?php the_title(); ?></b></p>
<?php the_excerpt(); ?>
<p><a href="<?php the_permalink(); ?>">read more</a></p>
2 changes: 2 additions & 0 deletions content-chat.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Chat: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-gallery.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Gallery: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-image.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Attachment: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-link.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Link: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-page.php
@@ -0,0 +1,2 @@
<h2 class = "content-title"><?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-quote.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Quote: <?php the_title(); ?></h2>
<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-search.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Search: <?php the_title(); ?></h2>
<?php the_content(); ?>
3 changes: 3 additions & 0 deletions content-single.php
@@ -0,0 +1,3 @@
<h2 class = "content-title"><?php the_title(); ?></h2>

<?php the_content(); ?>
2 changes: 2 additions & 0 deletions content-status.php
@@ -0,0 +1,2 @@
<h2 class = "content-title"><?php the_title(); ?></h2>
<?php the_content(); ?>
Empty file added content-tag.php
Empty file.
2 changes: 2 additions & 0 deletions content-video.php
@@ -0,0 +1,2 @@
<h2 class = "content-title">Video: <?php the_title(); ?></h2>
<?php the_content(); ?>
8 changes: 8 additions & 0 deletions content.php
@@ -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>

0 comments on commit e2ce9b8

Please sign in to comment.