• My site “http://huc.photonicsg3.net/” is having an issue with showing full posts including images on the index page. The “Upcoming Events” page has the same php but it displays posts correctly. I am using Thematic framework. I will list the php for both sections. Thanks in advance for the assistance!

    Here is the upcoming events php:

    <?php
    /**
     * Template Name: Blog Upcoming Events
     *
     * This template allows you to display the latest posts on any page of the site.
     *
     */
    
        // calling the header.php
        get_header();
    
        // action hook for placing content above #container
        thematic_abovecontainer();
    
    ?>
    
    		<div id="container">
    
    			<?php thematic_abovecontent(); ?>
    
    			<div id="content">
    
                <?php
    			$wp_query = new WP_Query();
    			$wp_query->query( array( 'cat' => '-246', 'posts_per_page' => 10, 'paged' => $paged ) );
    			$more = 0;
    			?>
    
    				<?php 
    
                	// create the navigation above the content
                	thematic_navigation_above();
    
                	// calling the widget area 'index-top'
                	get_sidebar('index-top');
    
                	// action hook for placing content above the index loop
                	thematic_above_indexloop();
    
                	// action hook creating the index loop
                	thematic_indexloop();
    
                	// action hook for placing content below the index loop
                	thematic_below_indexloop();
    
                	// calling the widget area 'index-bottom'
                	get_sidebar('index-bottom');
    
                	// create the navigation below the content
                	thematic_navigation_below();
    
                	?>
    
    			</div><!-- #content -->
    
    			<?php thematic_belowcontent(); ?> 
    
    		</div><!-- #container -->
    
    <?php 
    
        // action hook for placing content below #container
        thematic_belowcontainer();
    
        // calling the standard sidebar
        thematic_sidebar();
    
        // calling footer.php
        get_footer();
    
    ?>

    Here is index.php:

    <?php
    /**
     * Template Name: Blog Upcoming Events
     *
     * This template allows you to display the latest posts on any page of the site.
     *
     */
    
        // calling the header.php
        get_header();
    
        // action hook for placing content above #container
        thematic_abovecontainer();
    
    ?>
    
    		<div id="container">
    
    			<?php thematic_abovecontent(); ?>
    
    			<div id="content">
    
                <?php
    			$wp_query = new WP_Query();
    			$wp_query->query( array( 'cat' => '-246', 'posts_per_page' => 10, 'paged' => $paged ) );
    			$more = 0;
    			?>
    
    				<?php 
    
                	// create the navigation above the content
                	thematic_navigation_above();
    
                	// calling the widget area 'index-top'
                	get_sidebar('index-top');
    
                	// action hook for placing content above the index loop
                	thematic_above_indexloop();
    
                	// action hook creating the index loop
                	thematic_indexloop();
    
                	// action hook for placing content below the index loop
                	thematic_below_indexloop();
    
                	// calling the widget area 'index-bottom'
                	get_sidebar('index-bottom');
    
                	// create the navigation below the content
                	thematic_navigation_below();
    
                	?>
    
    			</div><!-- #content -->
    
    			<?php thematic_belowcontent(); ?> 
    
    		</div><!-- #container -->
    
    <?php 
    
        // action hook for placing content below #container
        thematic_belowcontainer();
    
        // calling the standard sidebar
        thematic_sidebar();
    
        // calling footer.php
        get_footer();
    
    ?>

  • The topic ‘Index doesn't show full post.’ is closed to new replies.