Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lzinssmeister

    (@lzinssmeister)

    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! 😀

    Thread Starter lzinssmeister

    (@lzinssmeister)

    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:

    <?php
    /**
     * @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(); ?>
    
    </body>
    </html>

    Thread Starter lzinssmeister

    (@lzinssmeister)

    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 😀

    Code for one of the two problem templates is below:

    <?php
    /**
     * 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' ); ?>
    
    				<hr/>
    
    				<div id="latest_news">
    					<article>
    						<header class="entry-header">
    							<h1 class="entry-title">Latest News</h1>
    						</header>
    						<?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>
    						<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>
    						</div>
    						<?php endwhile;?>
    					</article>
    				</div><!-- #latest news -->
    
    			</div><!-- #content -->
    
    		</div><!-- #primary -->
    <?php get_sidebar('standard'); ?>
    <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)