Recent Posts FlexSlider
[resolved] Need Links Allowed in Description of Slider (2 posts)

  1. ssalinas24
    Posted 2 years ago #

    I have turned off the link to post settings in the widget, and I want to allow external links in the description of the slider. I have added a link to one of my descriptions, but when it renders in the slider, the link tag has been removed. Any idea why this could be happening?


  2. David Laietta
    Plugin Author

    Posted 2 years ago #

    The slider is set to display a custom excerpt of content, and HTML tags have been stripped out to avoid the more common issue of shortcodes or unnecessary HTML being displayed on the excerpt.

    While I can't vouch for how this will affect excerpts elsewhere on your slides, you can change this by going into the recent-posts-flexslider.php file in the plugin directory, and edit line 230, near the bottom of the file.

    // Remove tags from excerpt
    $string = strip_tags( $string );

    Just delete those lines entirely (or comment line 230 with // like the line above) and your links will display.

    Thanks for trying the plugin!

  3. David Laietta
    Plugin Author

    Posted 2 years ago #

    Sorry, forgot to mark this resolved.

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


No tags yet.