The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Shortcode in AdCode (1 post)

  1. KZeni
    Posted 3 years 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AdRotate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.