Home Forums WoodMart support forum Issue: [woodmart_blog] shortcode shows wrong post inside product page

Issue: [woodmart_blog] shortcode shows wrong post inside product page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #687404

    Fab3
    Participant

    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.
    #687465

    Artem Temos
    Keymaster

    Hello,

    Please provide us with your admin access so we can log in and check this on your end.

    Thank you in advance.

    #687478

    Fab3
    Participant

    thank you

    #687542

    Artem Temos
    Keymaster

    Could you please temporarily disable all plugins that are not related to our theme so we can investigate this?

    #687598

    Fab3
    Participant

    looks like the issue is caused by Easy Table of Contents plugin

    #687626

    Artem Temos
    Keymaster

    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,

Viewing 6 posts - 1 through 6 (of 6 total)