Home › Forums › WoodMart support forum › Woodmart Blog element

Woodmart Blog element

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

    sgoerdel
    Participant

    WoodMart Blog element renders wrong post data on frontend inside Single Post Layout
    I am using WoodMart 8.6.2 with a custom Single Post Layout built in Elementor.
    The layout contains the WoodMart Blog element.
    In Elementor editor preview, the Blog element renders each post correctly.
    On the frontend, however, subsequent cards incorrectly use the currently viewed single post’s:

    featured image
    title
    permalink
    category
    Date

    The excerpt is still taken from the correct queried post.
    For example, the second card shows the Audemars Piguet post’s image/title/date/category/link but the excerpt belonging to the Rolex post.
    Troubleshooting performed:

    Updated WoodMart to 8.6.2
    Checked WoodMart Patcher; no relevant Blog/Single Post patches are available
    Cleared Elementor, server and browser caches
    Changed Blog data source from Related posts to a normal posts source; problem remains
    Moved the Blog element to the top of the Single Post Layout; problem remains
    Disabled all nonessential plugins
    Reproduced with only Elementor, Elementor Pro, WoodMart Core and WooCommerce active
    WoodMart parent theme remained active
    Elementor preview continues to render correctly
    Incorrect values are already present in the server-generated frontend markup

    This appears to be a post-context issue in the frontend rendering of the WoodMart Blog element inside a Single Post Layout. It looks as though some template functions may be reading the outer/global $post rather than the current Blog query item.
    Please investigate the Blog element’s post context / setup_postdata() handling when rendered in a Single Post Layout.

    https://wolvyn.com/blog/inside-the-sale-the-story-behind-one-of-the-most-expensive-watches-wolvyn-has-sold/

    #730392

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #730420

    sgoerdel
    Participant

    this is a temp login

    #730442

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to say, the login link you provided is not working. Please share the correct login details so I can check the issue and give you a possible solution.

    Best Regards

    #730460

    sgoerdel
    Participant

    try now

    #730477

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please confirm permission for plugin deactivation and switching to the parent/default theme for testing.

    Looking forward to collaborating with you!

    Best Regards

    #730768

    sgoerdel
    Participant

    You can do so just please do it either after hours or we need to push to staging. We are located in Chicago time zone US

    #730786

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    To investigate this issue properly without affecting your live website, we recommend creating a staging site where you can safely test the issue and enable/disable plugins and settings without affecting the main website.

    Once the staging site is ready, please share the WP-Admin login details in the Private Content field so we can check the issue directly and troubleshoot it further.

    The following article may help you create a staging environment:
    https://www.wpbeginner.com/how-to-create-staging-environment-for-a-wordpress-site/

    Best Regards

    #730980

    sgoerdel
    Participant

    jdemo2601stg.wpenginepowered.com

    the user name and password should be same

    #730985

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for providing the staging site details.

    Unfortunately, we are currently unable to access the website. When trying to open the site and log in through the WordPress login page, we encounter a Cloudflare connection error.

    Could you please check the Cloudflare settings or allow access to the staging site so we can log in and investigate the issue further?

    Best Regards

    #731381

    sgoerdel
    Participant

    remove

    • This reply was modified 1 day, 7 hours ago by sgoerdel.
    #731383

    sgoerdel
    Participant

    this is the login

    #731402

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have further checked your website and activated the parent theme to test the issue. With the parent theme active, the related posts are displayed correctly.

    See the screenshot for clarification: https://postimg.cc/2qDgzvG5

    I also reviewed the code in your child theme’s functions.php file. I noticed several custom functions and hooks, including a custom function that modifies the post content using the_content filter.

    Since the related posts display correctly when the parent theme is active, the issue appears to be related to custom code in the child theme. However, further testing is needed to identify the exact cause.

    Please review the custom code in your child theme, particularly the functions that modify post content or query data, and test them individually to identify which one is causing the conflict.

    Best regards

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