• WP 2.9
    Thesis 1.6
    YARP 3.3 (same issue with 3.6)

    Am using the list template.

    Related posts appear nicely at end of post. Good.

    Related posts also appear as a widget in sidebar. Not good. Don’t want.

    How to stop them showing up in sidebar in post view is tonight’s challenge..

    Many thanks for a terrific plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Dusibello

    (@dusibello)

    p.s. I did not add the widget to the sidebar – the related posts seem to be forcing themselves to appear there?

    I have since tried adding/removing the widget with no luck…

    @dusibello Unfortunately I’ve never used Thesis myself before, so I’m not sure how it deals with widgets. YARPP offers a widget but does nothing to force itself into the sidebar… normally it must be manually added in the sidebar preferences.

    I’ll tag this as thesis… maybe someone else can help.

    Thread Starter Dusibello

    (@dusibello)

    @mitchoyoshitaka Thanks for the reply. I thought to turn off the ‘automatic’ display and manually add the code to run the plugin when viewing single posts, but Thesis does not have an editable single.php – you have to add custom functions, hooks, and other rather advanced business to a ‘custom_function.php’ file that I have little experience with… So am trying to sort that out over at the Thesis support forum, but so far no help forthcoming there!

    Thanks again!

    No problem. Hope you figure it out.

    Thread Starter Dusibello

    (@dusibello)

    Still working the issue…

    If you have time to look, here’s what is happening.

    Again, I have not added the widget to the sidebar – something is forcing it there.

    Since I will never (!) want to use related posts in the sidebar, I wonder if killing it might work? In other words, could I edit one of the plugin files to remove all references to the widget?

    Thread Starter Dusibello

    (@dusibello)

    Got this to work by

    1. Disabling the automatic insertion option in the YARPP console

    2. Getting help at the Thesis support forum to correctly add the YARPP function and the single post condition to the Thesis theme’s custom_functions.php file…

    If any hapless soul in a similar spot of bother is seeking the same solution, here’s what worked for me:

    function show_yarp() {
        if ( is_single() && function_exists('related_posts') ) {
            related_posts();
        }
    }
    add_action('thesis_hook_after_post', 'show_yarp');

    Thanks just the same for your help Mitcho – great work on a terrific plugin….

    Thanks @dusibello. Glad you got this working. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Yet Another Related Posts Plugin] Posts in Sidebar’ is closed to new replies.