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/archive.php
<?php get_header(); ?>
<div id="content" class="grid_14 alpha">
	<div class="indent">
    <h1>
			<?php if ( is_day() ) : /* if the daily archive is loaded */ ?>
        <?php printf( __( 'Daily Archives: <span>%s</span>' ), get_the_date() ); ?>
      <?php elseif ( is_month() ) : /* if the montly archive is loaded */ ?>
        <?php printf( __( 'Monthly Archives: <span>%s</span>' ), get_the_date('F Y') ); ?>
      <?php elseif ( is_year() ) : /* if the yearly archive is loaded */ ?>
        <?php printf( __( 'Yearly Archives: <span>%s</span>' ), get_the_date('Y') ); ?>
      <?php else : /* if anything else is loaded, ex. if the tags or categories template is missing this page will load */ ?>
        Blog Archives
      <?php endif; ?>
    </h1>
  
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    	<article class="post-block">
         <h2>
         	<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a>
         </h2>
         <div class="post-excerpt">
           <?php $excerpt = get_the_excerpt(); echo my_string_limit_words($excerpt,100);?>
         </div>
         <div class="link">
         	<a href="<?php the_permalink(); ?>">Read More</a>
         </div>
      </article>
      
      
    <?php endwhile; else: ?>
      <div class="no-results">
        <p><strong>There has been an error.</strong></p>
        <p>We apologize for any inconvenience, please <a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>">return to the home page</a> or use the search form below.</p>
        <?php get_search_form(); ?> <!-- outputs the default Wordpress search form-->
      </div><!--noResults-->
    <?php endif; ?>
      
    <nav class="oldernewer">
      <div class="older">
        <p>
          <?php next_posts_link('&laquo; Older Entries') ?>
        </p>
      </div><!--.older-->
      <div class="newer">
        <p>
          <?php previous_posts_link('Newer Entries &raquo;') ?>
        </p>
      </div><!--.newer-->
    </nav><!--.oldernewer-->
  </div>
</div><!--#content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>