Issue: [woodmart_blog] shortcode shows wrong post inside product page
-
Hello,
I’m experiencing an issue with the [woodmart_blog] shortcode when using it inside a product description.
Here is the shortcode I’m adding:
[woodmart_blog post_type="ids" blog_design="small-images" include="31732" parts_title="1" parts_meta="1" parts_text="1" parts_btn="1" lazy_loading="no"]
The ID 31732 is correct (it refers to a blog post), but when viewing the product page:
– A different post is displayed instead of the one with the specified ID
– The design settings (e.g., blog_design=”small-images”) are not applied correctly
It looks like the shortcode inherits the current product query and doesn’t respect the shortcode parameters.
Can you please help?
thanks
Attachments:
You must be
logged in to view attached files.
Hello,
Please provide us with your admin access so we can log in and check this on your end.
Thank you in advance.
Could you please temporarily disable all plugins that are not related to our theme so we can investigate this?
looks like the issue is caused by Easy Table of Contents plugin
Hello,
It appears that this plugin is somehow affecting the WordPress queries. In this situation, I recommend reaching out to the plugin developers for assistance. It should not interfere with any third-party queries, such as this one.
Kind regards,