Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YARPP

    (@jeffparker)

    Sorry but this is outside the scope of YARPP at this time but maybe someone will chime in with their solution.

    Plugin Author YARPP

    (@jeffparker)

    You might be able to use CSS to hide it from every page except the final page. Can you provide a link for me to check?

    Thread Starter Stevens Garcia

    (@stevensgarcia)

    Hi,

    This is the site: contenidoscuriosos [dot] com

    There are paginated post i.e (2 of 10). The idea is to show related post only in the last page of each post. (10 of 10) (in content area)

    It means to remove the current related post from the bottom.

    Thanks for your support.

    Plugin Author YARPP

    (@jeffparker)

    If you’re able to add a CSS class on the main body <div> for all the pages except the final one, such as class=’one-of-many’, then you could hide YARPP from showing by adding the following to your main CSS file:

    div.one-of-many .yarpp-related {display:none !important;}

    Thread Starter Stevens Garcia

    (@stevensgarcia)

    Hi,

    Thanks for your help. I think that I can do it since I own the files, but don’t understand too much of coding.

    I used my logic and added to styles.css this line at the end:
    div.one-of-many .yarpp-related {display:none !important;}

    Then, opened a post and added at the beginin this line in text mode:
    <div class=”one-of-many”></div>

    But related posts still there.

    Any extra help, I will appreciat it.

    Thank you in advanced.

    Plugin Author YARPP

    (@jeffparker)

    Unfortunately, you would need to add that class to the larger container that is holding both your post and the related content widget. You might not be able to do that.

    Here’s perhaps an easier way. Just add the following code to the HTML of any page where you don’t want related content displaying:

    <!--noyarpp-->

    I was hoping for a more global solution, looking for a pattern with your pages to know what the “last” page was in your series but that might not be possible.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to show RP in a specific place? Shortcode? Tag?’ is closed to new replies.