Support » Plugin: List category posts » Show the shortcodes of the excerpt

  • I’ve many posts with shortcodes, but it doesn’t show when I put with the code:
    [catlist class="principal-listadas" name="pagina-principal" post_type="post" tags="spanish" numberposts="3" orderby="date" order="DESC" thumbnail="no" thumbnail_size="thumbnail" thumbnail_class="principal-listadas-thumb" date="yes" dateformat="l F d, Y" date_tag="div" date_class="principal-listadas-fecha" <strong>excerpt_tag="div" excerpt="yes" excerpt_strip="no" excerpt_class="principal-listadas-excerpt"</strong> title_tag="div" title_class="principal-listadas-title" posts_morelink="Leer más..." posts_morelink_class="principal-listadas-morelink"]

    [Please post code between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I’ve tried to remove the line:
    $text = strip_shortcodes($text);
    in the function lcp_trim_excerpt, but when I do that, the codes of the HTML goes bad: strong tags without close,…

    Do you have a parameter to avoid remove shortcodes or similar to works fine?


  • The topic ‘Show the shortcodes of the excerpt’ is closed to new replies.