• Great plugin, five stars πŸ™‚

    Can you add code for widget titles to shortcode-exec-php-class.php? This:

    add_filter('widget_title', 'do_shortcode');

    will allow using php in the titles as well, which allows things like turning off widgets under certain circumstances (by leaving both text and title blank).

    Thanks for your work πŸ™‚

    http://wordpress.org/extend/plugins/shortcode-exec-php/

Viewing 1 replies (of 1 total)
  • Plugin Contributor M66B

    (@m66b)

    It is not possible to execute a shortcode for a filter in this way, because there is no obvious way to pass the arguments of the filter to the shortcode.

    I am not sure the widget will be turned off by using an empty title and text. What about borders, etc that have been style by a theme?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Shortcode Exec PHP] Add code for widget titles’ is closed to new replies.