• Resolved mdknight

    (@mdknight)


    Just updated to version 1.3.2 and the homepage sidebar vanished, It still shows on all other post and pages. Reading is set to Latest Posts

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi mdknight,

    If you’ll send me a link to your site, I’ll take a look at it.

    Thread Starter mdknight

    (@mdknight)

    Hi Anders,
    Here it is https://sinful.subtlesitedesign.com/
    Some images may be NSFW
    Thanks

    Thread Starter mdknight

    (@mdknight)

    I have also noticed that search no longer appears even on posts and pages where the sidebar does appear

    Theme Author Anders Norén

    (@anlino)

    That is very strange. Could you post the contents of index.php?

    Thread Starter mdknight

    (@mdknight)

    <?php get_header(); ?>
    
    <div class="wrapper section-inner">
    
    	<div class="content left">
    
    		<?php if (have_posts()) : ?>
    
    			<div class="posts">
    
    				<?php
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$total_post_count = wp_count_posts();
    				$published_post_count = $total_post_count->publish;
    				$total_pages = ceil( $published_post_count / $posts_per_page );
    
    				if ( "1" < $paged ) : ?>
    
    					<div class="page-title">
    
    						<h4><?php printf( __('Page %s of %s', 'hemingway'), $paged, $wp_query->max_num_pages ); ?></h4>
    
    					</div>
    
    					<div class="clear"></div>
    
    				<?php endif; ?>
    
    		    	<?php while (have_posts()) : the_post(); ?>
    
    					<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    			    		<?php get_template_part( 'content', get_post_format() ); ?>
    
    		    		</div> <!-- /post -->
    
    		        <?php endwhile; ?>
    
    			<?php endif; ?>
    
    		</div> <!-- /posts -->
    
    		<?php if ( $wp_query->max_num_pages > 1 ) : ?>
    
    			<div class="post-nav archive-nav">
    
    				<?php echo get_next_posts_link( __('&laquo; Older<span> posts</span>', 'hemingway')); ?>
    
    				<?php echo get_previous_posts_link( __('Newer<span> posts</span> &raquo;', 'hemingway')); ?>
    
    				<div class="clear"></div>
    
    			</div> <!-- /post-nav archive-nav -->
    
    		<?php endif; ?>
    
    	</div> <!-- /content.left -->
    
    	<?php get_sidebar(); ?>
    
    	<div class="clear"></div>
    
    </div> <!-- /wrapper -->
    
    <?php get_footer(); ?>

    Here you go ??

    Theme Author Anders Norén

    (@anlino)

    Hmm, there doesn’t seem to be anything wrong with it. Try deleting Hemingway and reinstall it, and see if that helps.

    Thread Starter mdknight

    (@mdknight)

    I have done that, It doesn’t help. I have also done a fresh wp install followed by the theme install. The sidebar shows until I import content. It doesn’t seem to matter what content I import.

    Thread Starter mdknight

    (@mdknight)

    Ok.. after doing some code swapping it seems related to the differences in the content.php file if I use the 1.31 version I get a sidebar on the homepage, but it only shows an excerpt, if I use the 1.3.2 version I get a full text, but no sidebar. Making changes in the Reading settings makes no difference in how the homepage displays.

    Thread Starter mdknight

    (@mdknight)

    I do believe I have found what is going on.
    Some posts (from a variety of sites) contain
    ‘<div id=”stcpDiv”>
    </div>’
    (Suffusion is one of the themes that adds this)
    embedded in the post, which breaks the front page display. I stripped all of that from the XML import file and that solved the issue. The wordpress default themes accepted with no issue, so you might want to take a look at how that content is handled. Thanks for all of your effort and I will be sure to rate this theme highly

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sidebar on Homepage’ is closed to new replies.