• Resolved nstefan

    (@nstefan)


    Hello,

    We’ve been testing the plugin on one of our sites and it seems that something is not ok, and YARPP will show multiple times on a page.

    On that page, we have a FAQ section, near the footer, in the right. If you open each FAQ, you will see that there are a YARPP related posts.

    I think there’s a bug, but we couldn’t find where it comes from. Is there a way to get rid of those from FAQ?

    We would like to have just a single YARPP related post section.

    Thank you. ??

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Michael Nelson

    (@mnelson4)

    Hi @nstefan! Ya those extra related posts look pretty out-of-place don’t they?

    I’m not sure what plugin you’re using to add those FAQs, but I suspect next to “Automatically display related content on… ” (screenshot) there’s a checkbox for “FAQ” and its checked. That tells YARPP to add related posts below each FAQ, which is what you’re seeing.

    You should uncheck it and save, and those related posts under FAQs should be gone.

    Does that make sense? Does it help?

    Thread Starter nstefan

    (@nstefan)

    Hello @mnelson4,

    I’m not using a specific plugin for FAQ, it is something build-in.

    I tried to find that checkbox for FAQ, but I couldn’t.

    (imagine)

    (faq-wp-bakery)

    (faq-wp-bakery-inside)

    I’ve attached an image to see how are those FAQs.

    Do you have any clue about why is doing this? I tried to switch things from there, make a new page, purge cache, and so on.. but it seems that there’s a problem, and I can’t find what it is.

    If you have any other ideas, please let me know.

    Have a great day! ??

    PS: I have checked “Display on the front page, category and archive pages”, but that didn’t helped.

    • This reply was modified 4 years, 1 month ago by nstefan.
    • This reply was modified 4 years, 1 month ago by nstefan.
    Plugin Support Michael Nelson

    (@mnelson4)

    Hi again @nstefan, thanks for the details and screenshots.
    I have a bit of CSS code that will prevent those related posts from appearing repeatedly. Here’s how to use it:

    1. Go to wp-admin on your website
    2. On the left, under “Appearance”, click “Customize”
    3. On the left, under Additional CSS” add the the following code:

    
    .wpb_wrapper .yarpp-related{
    	display:none;
    }
    

    4. Save

    This will probably look like it does exactly what you want, but it’s not perfect. YARPP will still be taking quite a bit of time to generate the HTML code to display those related posts just to hide it. So there’s more to figure out…

    Also, it looks like those FAQs are added using the WP Bakery plugin but it’s a paid plugin that I don’t have a copy of, which makes debugging it hard. (All plugins technically use the GPL software license which means once you get your hands on it you can share it freely, but it’s just a matter of getting a copy of it…) We’re not allowed to give you our email address to email us a copy, but maybe you could upload one to Google Drive or Dropbox or something, and then share the link here? (I wouldn’t leave it up long though, as we don’t want others to see the link and download an out-of-date plugin.) What do you think?

    Plugin Author YARPP

    (@jeffparker)

    @nstefan if you don’t feel comfortable sharing sensitive details in a public forum, you may email us – jay at yarpp dot com

    Thread Starter nstefan

    (@nstefan)

    Thank you @mnelson4, but yes.. that won’t work too well because we will still have the post in the source code.

    @jeffparker, I will contact you via email.

    Thread Starter nstefan

    (@nstefan)

    @jeffparker, @mnelson4

    I found that the problem is between YARPP and WPBakery. Technically they both are calling apply_filters( ‘the_content’, $content ) for the Related Articles area so it’s repeating.

    That’s why the YARPP will insert in each FAQ question.

    Is there a solution for this?

    Thank you.

    Plugin Support Michael Nelson

    (@mnelson4)

    Aha thanks for the sleuthing @nstefan. I have a modified version of YARPP you can try, which I hope will resolve the issue for you. (Please backup your site and make sure you’re able to either FTP or SSH into your site first, in case this modified version causes an error and you need to remove it via FTP or SSH.)

    1. Download the new version from here: https://drive.google.com/file/d/1mCq5KZ1hCN_gq5t6nZd_X2TqO5u8c-YS/view?usp=sharing
    2. Go to your WordPress dashboard, click plugins, then “add new”, then “upload” and select the zip file you just downloaded
    3. Deactivate the previous version of YARPP
    4. Activate the new version of YARPP

    Look at your post again. YARPP should no longer add related posts to FAQs.

    Thread Starter nstefan

    (@nstefan)

    Hello @mnelson4,

    Thank you for sharing with me this solution.

    Have a great day! ??

    Plugin Support Michael Nelson

    (@mnelson4)

    Great, thanks for confirming that new version of YARPP fixed your problem. We plan to include its changes in the next version of YARPP on www.ads-software.com, so you can let WordPress update it automatically.
    Take care!

    Plugin Support Michael Nelson

    (@mnelson4)

    FYI these changes didn’t actually make it into 5.11.0 (released today) so you probably don’t want to update to that version @nstefan. We’re planning to put them into the next release though

    Plugin Support Michael Nelson

    (@mnelson4)

    We’re making the release but upon further testing I found this work was preventing YARPP from showing related content on the main post. I’ve looked into it for quite a while and am puzzling over why it seems to be working fine on your site but not mine, and how I can modify the code to do what we want. I’m sorry I don’t think the changes you were hoping for will make it into today’s release.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘YARPP will show multiple times on a page where we have FAQ section’ is closed to new replies.