• Resolved Berg Informatik

    (@berginformatik)


    Dear Developer

    Thanks for this great plugin! It fits our needs perfectly. But i have a problem when i send a form with POST to a page, then a shortcode inside a page is called multiple times. When i disable the plugin, the shortcode is called only once.

    Regards
    Luzi

Viewing 1 replies (of 1 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi Luzi,

    It is probably related with the thing that Slim SEO will parse the shortcodes in the post content/excerpt to generate the meta description.

    We have a filter to ignore shortcodes, please try adding this snippet into your theme’s functions.php:

    apply_filters( 'slim_seo_skipped_shortcodes', function( $shortcodes ) {
        $shortcodes[] = 'your_shortcode';
        return $shortcodes;
    } );
Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode called multiple times on POST’ is closed to new replies.