WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Shortcode in AdCode

[Resolved] Shortcode in AdCode

  • This is more of a feature request. I have a workaround for those that might want it, but I would really like an officially implemented way to use shortcode within the AdCode.

    My workaround is simple… open adrotate-output.php, find line 441 where it says:

    return $banner_output;

    and change that to:

    return do_shortcode($banner_output);

    That’s it! You can now use shortcode in ads as you please.

    If this feature is added to the plugin officially, I can suggest having a site-wide setting or a banner-specific option, but really… I’d be happy if this was simply done to all AdCode.

    http://wordpress.org/extend/plugins/adrotate/

  • The topic ‘[Resolved] Shortcode in AdCode’ is closed to new replies.