WordPress.org

Forums

Recent Posts FlexSlider
[resolved] Excerpt without stripping Tags (4 posts)

  1. samhadr
    Member
    Posted 1 year ago #

    Is there a way to not have the HTML tags stripped from the excerpt in the slider? Or, is there a way to show an HTML tag in a different field? I need to add a button to the content.

    https://wordpress.org/plugins/recent-posts-flexslider/

  2. yesfree
    Member
    Posted 1 year ago #

    I also want this. Please Author kindly elaborate us how to do it.

  3. yesfree
    Member
    Posted 1 year ago #

    I want to display the category from which the post is been displayed from in side the
    <li> tag...Please help

  4. David Laietta
    Member
    Plugin Author

    Posted 1 year ago #

    The answer would be similar to this thread: http://wordpress.org/support/topic/need-links-allowed-in-description-of-slider?replies=2

    Basically you'll want to remove or comment out the code on line 230 of the file recent-posts-flexslider.php, which looks like this:

    $string = strip_tags( $string );

    It's removing HTML tags, but removing that should leave them intact. Note that this may cause other issues with tags in your posts.

    Thanks for using the plugin!
    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Recent Posts FlexSlider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic