• Resolved ciroiodice

    (@ciroiodice)


    Hello.
    I’m a satisfied, yet minimal, user of your five stars plugin.
    A little problem – that I solved tweaking template 3 PHP code – comes out when a recent or more posts start with a shortcome (like mines do).
    Abstract or snippet text includes an uninterpreted snipped code (e.g. [something data=””], resulting in a tricky output.

    I changed a couple of lines in template-3.php (I use design-3) as follows:
    Line 37: $customExcerpt = strip_shortcodes(strip_tags(get_the_excerpt()));
    Line 43: $excerpt = strip_shortcodes(strip_tags(get_the_content()));

    Could be useful to include above changes in incoming releases of your nice plugin?

    Thanks a lot for reading my considerations.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thanks for your feedback 🙂

    As we have condition in the plugin that check
    “has_excerpt”
    $customExcerpt = get_the_excerpt();

    if not then go for WordPress editor content where you can set your own custom limit. This some time display some shortcode if you are using some page-builder OR HTML tags thats we have used
    $excerpt = strip_tags(get_the_content());

    We will take care and add update our plugin as per your guideline 🙂

    Hello,

    We have updated the plugin to the latest version 1.3.3

    Hello,

    PLease share your rating and review if we have fixed your issue and you are happy with our plugin and support 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Tricky excerpt from posts beginning by a shortcode’ is closed to new replies.