HEX
Server: Apache
System: Linux p3plzcpnl489499.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: dwauav0tm6jp (6177017)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/dwauav0tm6jp/hosted/palmetto_old/wp-content/themes/palmettomain/single.php
<?php get_header(); ?>
<div id="content" class="grid_14 alpha">
	<div class="indent">
  	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
      <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
        <?php if ( get_post_type() == gallery ) { /* if a gallery */ ?>
  
          <article class="single-post">
            <h1><?php the_title(); ?></h1>
            <?php edit_post_link('<small>Edit this entry</small>','',''); ?>
            
            <?php echo '<div class="featured-thumbnail">'; the_post_thumbnail(); echo '</div>'; /* loades the post's featured thumbnail, requires Wordpress 3.0+ */ ?>
            
            <div id="post-content">
              <?php the_content(); ?>
              <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
            </div><!--#post-content-->
          </article>
  
        <?php } else { /* if not a gallery */ ?>
  
          <article class="single-post">
            <h1><?php the_title(); ?></h1>
            <div class="post-content">
              <?php the_content(); ?>
              <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
            </div><!--.post-content-->
          </article>
  
          <?php /* If a user fills out their bio info, it's included here */ ?>
          <div id="post-author">
            <h3>Written by <?php the_author_posts_link() ?></h3>
            <p class="gravatar"><?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_email(), '80' ); /* This avatar is the user's gravatar (http://gravatar.com) based on their administrative email address */  } ?></p>
            <div id="authorDescription">
              <?php the_author_meta('description') ?> 
              <div id="author-link">
                <p>View all posts by: <?php the_author_posts_link() ?></p>
              </div><!--#author-link-->
            </div><!--#author-description -->
          </div><!--#post-author-->
    
        </div><!-- #post-## -->
    		
        
        <nav class="oldernewer">
          <div class="older">
            <p>
              <?php previous_post_link('%link', '&laquo; Previous post') ?>
            </p>
          </div><!--.older-->
          <div class="newer">
            <p>
              <?php next_post_link('%link', 'Next Post &raquo;') ?>
            </p>
          </div><!--.newer-->
        </nav><!--.oldernewer-->
    
        <?php comments_template( '', true ); ?>
      <?php } /* end if-gallery */ ?>
  
    <?php endwhile; /* end loop */ ?>
  </div>
</div><!--#content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>