WordPress.org

Ready to get started?Download WordPress

Forums

Recent Posts Widget Plus
[resolved] Problem when content contains shortcodes. (3 posts)

  1. antosha
    Member
    Posted 1 year ago #

    Hi,
    I have problem when the post content contains shortcodes. The widget shows the shortcode [codes] but doesnt renders them. Is it possible to simply make the widget ignore shortcodes?
    Thanks!

    http://wordpress.org/extend/plugins/recent-posts-widget-plus/

  2. Johan van der Wijk
    Member
    Plugin Author

    Posted 1 year ago #

    Hi antosha,

    Yes, this should be possible.

    Could you please try adding the following code to the plugin file named recent-posts-widget-plus.php on line 34?

    $excerpt = strip_shortcodes($excerpt);

    Please let me know if this solves your issue and I'll add this code to the new plugin release.

  3. Johan van der Wijk
    Member
    Plugin Author

    Posted 1 year ago #

    Marking this topic as resolved since I did not get feedback from user.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic