How do I remove or deactivate the WordPress related posts?

Home Forums All Other Themes How do I remove or deactivate the WordPress related posts?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #105780
    Ufuoma EmerhorUfuoma Emerhor
    Participant
    • Topics: 16
    • Replies: 53
    • Total: 69
    Member since: June 17, 2015

    Hi, I am creating a store blog, and using WooCommerce. It comes with it’s own Related Posts or Products feature, which I like. But I can’t get rid of the WordPress related posts, which also show on the page. I’ve been able to remove the images, but the texts are still visible. Please help me resolve this.

    Sincerely, Ufuoma.

    #105814
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Sure kindly share with the URL of the page where you get related posts.

    Regards,
    Shri

    #105826
    Ufuoma EmerhorUfuoma Emerhor
    Participant
    • Topics: 16
    • Replies: 53
    • Total: 69
    Member since: June 17, 2015

    You get the unwanted related posts on every product page. This is an example. You will see links to others when you visit the site. I want to remove the texts from the WordPress Related Posts, and keep the WooCommerce Related Products.

    https://dev.ufuomaee.org/product/elegant-mustard/

    I’ve disabled maintenance mode so you can view the pages and posts.

    Sincerely, Ufuoma.

    #105830
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .related.products { display:none;}

    Regards,
    Dave

    #105831
    Ufuoma EmerhorUfuoma Emerhor
    Participant
    • Topics: 16
    • Replies: 53
    • Total: 69
    Member since: June 17, 2015

    But I want related products to show. I just don’t want the WordPress related posts to show.

    #105833
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi,

    Can you send us the screenshot of your issues? Upload your screenshot on imgur.com and paste the share url here.

    Regards,
    Dave

    #105841
    Ufuoma EmerhorUfuoma Emerhor
    Participant
    • Topics: 16
    • Replies: 53
    • Total: 69
    Member since: June 17, 2015

    https://dev.ufuomaee.org/wp-content/uploads/2018/08/Related-Posts-and-Products-showing.png

    The above image shows the problem. I can see the texts of the WordPress Related Posts above the WooCommerce Related Products.

    When I put in the CSS command, I can no longer thee the WooCommerce Related Products, but can still see the WprdPress Related Posts under some products.

    Consider:

    https://dev.ufuomaee.org/wp-content/uploads/2018/08/Wordpress-Related-Posts-still-showing.png

    and

    https://dev.ufuomaee.org/wp-content/uploads/2018/08/WooCommerce-Related-Products-not-showing-anymore.png

    I substituted posts for products in the CSS code you gave me, but it only made the WooCommerce Related Products visible again, but didn’t remove the WordPress Related Posts.

    #105844
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi,

    Kindly use this new css code there

    #jp-relatedposts {
        display: none !important;
    }

    Regards,
    Dave

    #105845
    Ufuoma EmerhorUfuoma Emerhor
    Participant
    • Topics: 16
    • Replies: 53
    • Total: 69
    Member since: June 17, 2015

    Thank you! It worked 🙂

    Cheers, Ufuoma.

    #105846
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi Ufuoma,

    If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/18/

    Regards,
    Dave

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.