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

  1. Andrzej
    Posted 2 years 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.


  2. FineWebdev
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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');


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.