Tagged: blog post
-
AuthorPosts
-
April 22, 2014 at 12:50 pm #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 pageAll 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.
April 23, 2014 at 1:56 pm #254901Hi 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!
PeterApril 24, 2014 at 10:40 am #255403Hi 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
RichardApril 25, 2014 at 7:56 am #255953Hi 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
RichardApril 25, 2014 at 8:20 am #255960Hi
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
RichardApril 26, 2014 at 11:23 am #256519Hi!
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!
IsmaelApril 26, 2014 at 1:09 pm #256575This reply has been marked as private.April 28, 2014 at 9:08 am #256944Hey!
Please also post the username. I tried “admin” but it doesn’t work.
Best regards,
PeterApril 28, 2014 at 9:22 am #256952This reply has been marked as private.April 29, 2014 at 2:48 am #257430This reply has been marked as private.May 2, 2014 at 4:42 pm #259477Hi!
Which page is it still happening on?
Regards,
DevinMay 3, 2014 at 7:37 am #259643This reply has been marked as private.May 6, 2014 at 9:03 am #260627Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.