faster is better than slow | Download Swift
+ Reply to Thread
Results 1 to 4 of 4

Thread: Efficient Related Posts plugin instead of YARPP

  1. #1


    Efficient Related Posts plugin instead of YARPP

    Is there any way to substitute the Efficient Related Posts plugin in place of Yet Another Related Posts Plugin? When I install Efficient Related Posts plugin it places the related posts at the end of my content but before the page numbers (on multi-page posts) and above the Related Posts/Share-Subscribe box. (Unlike YARPP which places the related posts :inside: the Related Posts/Share-Subscribe box.)

    I want Efficient Related Posts to load :inside: the Related Posts/Share-Subscribe box just as YARPP does now. How can I make this happen?

    Also, are there any compatibility issues with Efficient Related Posts plugin vs YARPP? It just seems I get better, faster results with Efficient Related Posts plugin vs. YARPP and thus would prefer to use it rather than YARPP.

    Hope this all makes sense.

  2. #2


    Never mind. Solved it. First I deactivated YARPP and actived Efficient Related Posts (ERP). Then I simply edited the theme file "related-posts-n-author-info.php" and completely removed this line:

    PHP Code:
    <?php if(function_exists('related_entries')):?>
    And replaced the following line:

    PHP Code:
    <?php related_entries();?>
    With this:

    PHP Code:
    <?php do_action('erp-show-related-posts', array('title'=>'Related Posts:''num_to_display'=>5'no_rp_text'=>'No Related Posts Found')); ?>
    Works great. I also replaced the Social Media buttons with code from AddThis.com which lets me track my shares! Can check out my site here:

    Native American History, Art & Culture @ LostWorlds.org

  3. #3


    cool, thanks for taking time to share the solution.

  4. #4


    Exclamation

    I did it so, but received the next error code:

    Parse error: syntax error, unexpected T_ENDIF in /home/mydatabase/public_html/wp-content/themes/SwiftPremium/includes/related-posts-n-author-info.php on line 13


    It seems thereīs something more to do.

+ Reply to Thread

Similar Threads

  1. Thumbnails next to related posts
    By thereandbackmn in forum Support
    Replies: 1
    Last Post: 05-12-2012, 10:44 PM
  2. Related posts question
    By thereandbackmn in forum Support
    Replies: 1
    Last Post: 03-06-2012, 11:41 PM
  3. How to customize related posts screen?
    By shilpanp in forum Support
    Replies: 1
    Last Post: 01-26-2012, 05:41 PM
  4. Setting up Related Posts
    By viva in forum Bug report and suggestions.
    Replies: 4
    Last Post: 10-17-2011, 09:25 AM
  5. Problem With Related Posts
    By dody007 in forum Bug report and suggestions.
    Replies: 4
    Last Post: 05-01-2011, 01:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts