WordPress.org

Forums

Email Encoder Bundle - Protect Email Address
[resolved] shortcodes not expanding (3 posts)

  1. Andrzej
    Member
    Posted 1 year ago #

    While testing this encoder, I find that after disabling or uninstalling the plugin, all shortcodes within text widgets do not expand anymore. i.e. [search] shortcode appears as [search]. With the encoder enabled, all shortcodes expand properly.

    I don't recall if this happened with encoder v0.8

    Running with PHP Version 5.4.22

    Otherwise, thanks for the nice plugin.

    http://wordpress.org/plugins/email-encoder-bundle/

  2. freelancephp
    Member
    Plugin Author

    Posted 1 year ago #

    You are right.
    The shortcode filter for (text) widgets are now optional. Please check the option "Use shortcodes in widgets" (under "Advanced Settings").

    Default it's turned off, except when upgrading from v0.80. It should have been turned on.

  3. Andrzej
    Member
    Posted 1 year ago #

    Thanks for that tip but enabling the "Use shortcodes in widgets" option does not address my specific case; after disabling or uninstalling the plugin, shortcodes do not expand.

    I did find that WordPress, by default, does NOT expand shortcode in Text Widgets. Your plugin option fixes this. But when not using the plugin, one workaround is to append the following to your child theme functions.php

    add_filter('widget_text', 'do_shortcode');

    -Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Encoder Bundle - Protect Email Address
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.