Reply To: Adrotate Shortcode Showing in POI Excerpt

Home Forums MapPress Support Adrotate Shortcode Showing in POI Excerpt Reply To: Adrotate Shortcode Showing in POI Excerpt

#16988
Chris
Keymaster

    Hi,

    If you are using the post excerpt for the POI body, I think the WordPress standard ‘excerpt’ function strips out shortcode tags. Some themes replace this with their own function which may allow the shortcodes to pass through. You could try temporarily switching to a standard theme to see if the shortcodes are stripped out – and check your ‘functions.php’ file for anything shortcode related.

    If that doesn’t help, this function can be used to strip out shortcode tags:
    https://codex.wordpress.org/Function_Reference/strip_shortcodes