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

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.