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/search.php
<?php get_header(); ?>
<div id="content" class="search grid_14 alpha">
	<div class="indent">
    <h1><?php the_search_query(); ?></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,30);?>
         </div>
         <div class="link">
         	<a href="<?php the_permalink(); ?>">Read More</a>
         </div>
      </article>
  
    <?php endwhile; else: ?>
      <div class="no-results">
        <h2>No Results</h2>
        <p>Please feel free try again!</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(); ?>