WordPress.org

Ready to get started?Download WordPress

Forums

AdRotate
[resolved] Shortcode in AdCode (1 post)

  1. KZeni
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.