WordPress.org

Forums

WordPress Related Posts
Add space between post image/text and Related Posts... (5 posts)

  1. crazytok
    Member
    Posted 2 years ago #

    As my title says, is it possible to add some space between my posts image/text and the Related posts plugin?

    Try http://www.advman.se/?p=309 (its under construction so it will only be available a limited time until I got some help.) :)

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

    Also, is it possible to change order? I would like the Facebook plugin to be before Related posts...

  2. silvoslaf
    Member
    Plugin Author

    Posted 2 years ago #

    Hey!

    Thanks for reaching out and we'd love to help you out, but it looks like the link you've sent us expired, since we weren't able to spot any related posts or the problem you were describing above.

    Any chance you could grant us the access once again? I'm sure we'll be able to help you out!

    As for that second problem — try to add the code below in front of the Facebook plugin in your single.php file, in your theme editor, and see if that helps a bit.

    Here's the code:

    <?php zemanta_related_posts()?>

    Let me know what's up and how it goes, I'm eager to find out!

    Take care & have a nice weekend!

    Best,
    Silvo

  3. crazytok
    Member
    Posted 2 years ago #

    It's now available, thanks for your help!

    About the code so add before the Facebook plugin in singe.php.

    This is my single.php :

    <?php
    global $SMTheme;

    get_header();

    get_template_part('theloop');

    the_tags("<div class='tags'><span>".$SMTheme->_( 'tags' ).":  </span>", ", ","</div>");

    get_template_part('relatedposts');

    comments_template();

    get_template_part('navigation');

    get_footer();
    ?>

    Where should I add it? Im using Facebook's official plugin. And I have not added any code to my single.php.

  4. crazytok
    Member
    Posted 2 years ago #

    Added a user instead so you may use the following information to login:
    User: guest
    Password: password

    That will give you access to see the page...

  5. silvoslaf
    Member
    Plugin Author

    Posted 2 years ago #

    Hey, sorry for the late response!

    The thing is, you'll have to grant me the access to your theme editor as well, if you want me to edit your single.php file where this code lies.

    Or, try this out and let me know how it goes:

    <?php
    global $SMTheme;
    
    get_header();
    
    get_template_part('theloop');
    
    the_tags("<div class='tags'><span>".$SMTheme->_( 'tags' ).":  </span>", ", ","</div>");
    
    <?php zemanta_related_posts()?>
    
    get_template_part('relatedposts');
    
    comments_template();
    
    get_template_part('navigation');
    
    get_footer();
    ?>

    Let me know how it goes; I'll be online! (Also, here's my email address: support@zemanta.com)

    Take care!

    Best,
    Silvo

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.