Reply To: Adrotate shortcode not triggered when post is loaded via ajax

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

Home Forums AdRotate for WordPress Bug Reports Adrotate shortcode not triggered when post is loaded via ajax Reply To: Adrotate shortcode not triggered when post is loaded via ajax

#39159

crissoca
Badges:

Hey, yes, that did the trick I would pull up a merge request but I wasn’t sure if that was intentional for a reason.

If I remove the add_shortcode() outside the if( !is_admin ) conditional it works via admin-ajax.php and it makes sense since admin-ajax.php is well inside the admin.