Support » Plugin: Related Posts by Sovrn » Theme change, now it wont show up

  • Resolved Mylantus


    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
    			if (is_attachment()) {
    				get_template_part('content', 'attachment');
    			} else {
    				get_template_part('content', get_post_format());
    			endif; ?>
    		<aside class="sidebar <?php mh_sb_class(); ?>">
        		<?php dynamic_sidebar('sidebar'); ?>
        <?php mh_second_sb(); ?>
    <?php get_footer(); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,

    try to add the code below this line:


    and let me know if this works for you.

    If not, please provide URL of your blog so I can take a look. It would be good to know which template you’re using, because I see some template specific functions and I don’t know exactly how they affect the content.


    did you manage to solve this? Can I mark this topic as resolved?


    Yes this is resolved, thanks. It turned out that the Digg Digg plugin was screwing up all of my other plugins


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme change, now it wont show up’ is closed to new replies.