Theme change, now it wont show up
-
I have switched to a new theme, and the auto add code option isn’t working for me now. I have tried to add the code to my new Single Post.php template, but can only get it to appear at the top of my posts, can you tell me where to add the related posts line in the code below so that my related posts will again show up at the bottom of my posts?
[ Moderator note: please wrap code in backticks or use the code button. ]
<?php $options = get_option('mh_options'); ?> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="wrapper clearfix"> <div class="main"> <div class="content <?php mh_content_class(); ?>"><?php mh_before_post_content(); if (is_attachment()) { get_template_part('content', 'attachment'); } else { get_template_part('content', get_post_format()); } mh_after_post_content(); endwhile; comments_template(); endif; ?> </div> <aside class="sidebar <?php mh_sb_class(); ?>"> <?php dynamic_sidebar('sidebar'); ?> </aside> </div> <?php mh_second_sb(); ?> </div> <?php get_footer(); ?>
https://www.ads-software.com/plugins/related-posts-by-zemanta/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Theme change, now it wont show up’ is closed to new replies.