HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/thematic/thematicsamplechildtheme/index.php
<?php
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
    else { $$value['id'] = get_settings( $value['id'] ); }
    }
?>
<?php get_header() ?>

	<div id="container">
		<div id="content">

			<div id="nav-above" class="navigation">
                <?php if(function_exists('wp_pagenavi')) { ?>
                <?php wp_pagenavi(); ?>
                <?php } else { ?>  
				<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">&laquo;</span> Older posts', 'thematic')) ?></div>
				<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">&raquo;</span>', 'thematic')) ?></div>
				<?php } ?>
			</div>
			
<?php get_sidebar('index-top') ?>

<?php /* Count the number of posts so we can insert a widgetized area */ $count = 1 ?>
<?php while ( have_posts() ) : the_post() ?>

			<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>">
				<div class="thumb_150x150">
					<?php the_image('thumbnail','post-image',true,false,true); ?>
				</div>
				<div class="blog_listing">
				
				<div class="user-comments">
				<?php
			   // Display comments link and edit link
				if (comments_open()) {
						$postcommentnumber = get_comments_number();
						$postcomments = ' <span class="comments-link"><a href="' . get_permalink() . '#comments" title="' . __('Comment on ', 'thematic') . the_title_attribute('echo=0') . '">';
						$postcomments .= get_comments_number() . '</a></span>';
				} else {
					$postcomments = ' <span class="comments-link">' . __('Closed', 'thematic') .'</span>';
				}
				echo $postcomments;
				?>
				</div>
				
				<?php thematic_postheader(); ?>
				<div class="entry-content">
<?php 	//the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'thematic').''); 
			the_excerpt(); 
?>
			<p><a href="<?php the_permalink(); ?>" class="green-read-more" title="Read More"><?php echo  __('Read More <span class="meta-nav">&raquo;</span>', 'thematic'); ?> </a></p>
	
				<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
				</div>
				<?php thematic_postfooter(); ?>
				</div><!-- blog_listing -->
				<div class="clear_hentry"></div>
				</div><!-- .post -->

<?php comments_template() ?>

<?php if ($count==$thm_insert_position) { ?><?php get_sidebar('index-insert') ?><?php } ?>
<?php $count = $count + 1; ?>
<?php endwhile ?>

<?php get_sidebar('index-bottom') ?>

			<div id="nav-below" class="navigation">
                <?php if(function_exists('wp_pagenavi')) { ?>
                <?php wp_pagenavi(); ?>
                <?php } else { ?>  
				<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">&laquo;</span> Older posts', 'thematic')) ?></div>
				<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">&raquo;</span>', 'thematic')) ?></div>
				<?php } ?>
			</div>

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_sidebar() ?>
<?php get_footer() ?>