Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davids40

    (@davids40)

    I’ve just updated to version 2.3.2 and changed the option to output for the post_thumbnail as advised.

    No more tag closures indeed, however, the post excerpt for the post that had shortcodes is not showing at all. Is it the expected behavior?

    My list has only 3 items, the 2 first posts do not have shortcodes and are showing normally. Only the 3rd is not showing.

    Thread Starter davids40

    (@davids40)

    Just tried it, and unfortunately adding the strip_shortcodes option does not change the visible outcome, it does not seem to work in my case and is leaving the shortcodes from our wpbakery editor.

    I’ve also noticed the last update introduced an issue in the generated code with some tag closures (image calling the post_thumbnail in src mode) now showing on the page rather than being properly interpreted.

    this is the code i’m using now with the addition of the strip_shortcodes option:

    <ul>
    [posts]
    <li class="w4-post-content">
    <time class="w4-post-time" datetime="[post_date format="Y-m-d H:i:s"]">[post_date format="j F Y"]</time>
    <a class="post-thumb" href="[post_permalink]" rel="bookmark"><img alt="[post_title]" loading="lazy" src="[post_thumbnail width="60" return="src"]" /></a><h3>[title]</h3>
    <div style="clear:both;"></div>
    [post_excerpt strip_shortcodes="1" wordlimit="25"]
    </li>
    [/posts]
    <li class="w4-more-posts"><a href="/fr/blog/"><span>Plus d'</span>Articles</a></li>
    </ul>
    • This reply was modified 4 years, 6 months ago by davids40.
Viewing 2 replies - 1 through 2 (of 2 total)