Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #254294

    Hi,
    I have an Enfold Blog Page with a Blog Post element. All the news posts appear on the page which is how it is supposed be …but also the Woocommerce product posts also appear at the bottom of the page when they did not before. How can I stop the product posts appearing on this page?
    I have also turned pagination off but it is still appearing at the bottom of the page

    All this came about when I installed Yoast SEO and Yoast SEO for Woocommerce. I have since deleted the plugins

    Regards
    Richard

    • This topic was modified 10 years, 8 months ago by Richard.
    #254901

    Hi Richard!

    Tbh I’m not sure what causes this issue but it might be a database problem because posts and products are two different post types and the blog query won’t query the “product” post type. Did you try to restore a database backup?

    Cheers!
    Peter

    #255403

    Hi Peer

    Thanks for the reply. I have not tried to restore the database as I have no experience in doing so especially as it was a full cpanel backup….don’t suppose it could be another reason rather than the databse???
    Regards
    Richard

    #255953

    Hi Peter
    All fixed..bit the bullet..read the notes and restored an older sql file prior to me using Yoast…seems to work ok now..Phew!!!
    Regards
    Richard

    #255960

    Hi
    I spoke to soon. This is getting weird. The products that were attached to the Blog have now gone, since I restored the database, but when I had a look at the categories in the posts (not woocommerce categories) it lists the categories for the products, similar to the woocommerce categories It also has the same number of products attached to those categories. However if I delete those categories (so only the woocommerce categories remain) the products start showing up on the blog page.
    It is obvious there is something I have done but I just cannot to seem to think why it would happen.
    regards
    Richard

    #256519

    Hi!

    Thank you for the info.

    That is weird. Do you mind if we take a look at it? Please deactivate all plugins then post the login details here as a private reply. Please make sure that you’re running the latest version of the theme which is version 2.7.

    Cheers!
    Ismael

    #256575
    This reply has been marked as private.
    #256944

    Hey!

    Please also post the username. I tried “admin” but it doesn’t work.

    Best regards,
    Peter

    #256952
    This reply has been marked as private.
    #257430
    This reply has been marked as private.
    #259477

    Hi!

    Which page is it still happening on?

    Regards,
    Devin

    #259643
    This reply has been marked as private.
    #260627

    Hey!

    The strange thing is that the “post” categories have a different tag id compared to the “product” categories. It seems like wordpress creates a post AND a product category for each category you add to your database. I’ve no idea why this happens though. You can try this plugin: http://wordpress.org/plugins/term-management-tools/ to merge all “posts/product” terms to a single term and this should actually solve the issue of the duplicate categories. I recommend to make a backup of the database first.

    Cheers!
    Peter

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