[resolved] Footer Include Problems with Theme Templates (8 posts)

  1. lzinssmeister
    Posted 4 years ago #

    I have a custom theme I built awhile back for this site:
    Things were running smoothly until we upgraded to ver 3.4.1.

    At that point, the home page and the blog page both dropped the footer include for the template and in the case of the home page, also seems to have dropped the sidebar include.

    I've tried the master list of things to try and fix the issue. With no success.

    When I tried to swap to the 'Twenty-Eleven' theme I was having the same issue with the footer not being included. And can't for the life of me figure out what that means :(

    I also seem to be the only person having this issue... so it probably means I'm missing something obvious. (whomp whomp)

    Would anyone be willing to point me in the right direction??? :D :D


  2. lzinssmeister
    Posted 4 years ago #

    So... some additional information I've managed to figure out...
    It seems to have something to do with the blog post code. It also explains why my static pages are working just fine.

    Perhaps something changed on that with the upgrade that I missed?

    Gonna tackle the problem some more tomorrow. Still looking for any insights to this, if anyone has any :D

    Code for one of the two problem templates is below:

     * Template Name: Home Page Template
     * Description: 2 column layout with right sidebar.
     * @package WordPress
     * @subpackage everafterevents
    get_header(); ?>
    		<div id="primary" class="standard">
    			<div id="content" role="main">
    				<?php the_post(); ?>
    				<?php get_template_part( 'content', 'page' ); ?>
    				<div id="latest_news">
    						<header class="entry-header">
    							<h1 class="entry-title">Latest News</h1>
    						<?php query_posts('showposts=1'); ?>
    						<?php while (have_posts()) : the_post(); ?>
    						<div class="post-date">
    							<span class="post-month"><?php the_time(M); ?></span>
    							<span class="post-day"><?php the_time(j); ?></span>
    						<div class="entry-content">
    						<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    						<?php the_content_limit(250); ?> <a href="<?php the_permalink() ?>">Read More…</a>
    						<?php endwhile;?>
    				</div><!-- #latest news -->
    			</div><!-- #content -->
    		</div><!-- #primary -->
    <?php get_sidebar('standard'); ?>
    <?php get_footer(); ?>
  3. Mukesh Panchal
    Posted 4 years ago #

    <?php get_sidebar('standard'); ?>
    wy u put this

  4. Mukesh Panchal
    Posted 4 years ago #

    check footer page
    give code

  5. lzinssmeister
    Posted 4 years ago #

    It's been awhile since I put this together, but I believe the <?php get_sidebar('standard'); ?> should be pulling a secondary sidebar that's different than the one being defined in sidebar.php.

    footer.php is below:

     * @package WordPress
     * @subpackage everafterevents
    	</div><!-- #main -->
    	<div class="clear"></div>
    	</div><!-- #wrap -->
    	<footer id="colophon" role="contentinfo">
    			<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    			<p>© Ever After Events. All Rights Reserved. | phone: <a href="#">720.722.0414</a> | <a href="#">everaftereventsco@gmail.com</a></p>
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    <?php wp_footer(); ?>
  6. Mukesh Panchal
    Posted 4 years ago #

    check page view source code u have start one style and not close that style first close that style

    u get the result check


  7. lzinssmeister
    Posted 4 years ago #

    ah-ha! So it turns out that that's part of the NextGen Gallery plugin I was using. So it looks like something is broken there. Thanks for the help mukesh panchal! :D

  8. Mukesh Panchal
    Posted 4 years ago #

    u solve problem

Topic Closed

This topic has been closed to new replies.

About this Topic