• Resolved Will K

    (@mehrarajesh6)


    Thank you for the great theme ! Just need a small help.
    I am not able to execute the shortcode from footer section.(alongwith copyright text).
    Even though i have enabled the shortcodes from text widget.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Acme Themes

    (@acmethemes)

    Hello Will K,

    Thank you for your feedback in our theme SuperMag.

    We assumed in the copyright section, user will only enter copyright text not short-code.
    However if you want to use in the footer, we recommend you to customize the theme using child theme and alter the hook
    add_action( 'supermag_action_footer', 'supermag_footer', 10 );.
    If you know some coding you can do it by yourself or May be you should hire developer.

    Best Regards,
    AcmeThemes

    Thread Starter Will K

    (@mehrarajesh6)

    Ok,.. I am customizing through child theme.
    I went into funtions.php file in my child theme and added the following line :

    add_filter( ‘supermag_action_footer’, ‘shortcode_unautop’ );
    add_filter( ‘supermag_action_footer’, ‘do_shortcode’);

    However, it seems like still I am missing something.
    Please correct me where I went wrong to make the code working.

    Thanks

    Theme Author Acme Themes

    (@acmethemes)

    Hello Will K,

    Copy all code from line number 31 to 82 too child theme and change wp_kses_post of line number 69 to do_shortcode file https://themes.trac.ww.wp.xz.cn/browser/supermag/1.2.1/acmethemes/hooks/footer.php.

    We hope it will solve your problem.

    Best Regards,
    AcmeThemes

    Thread Starter Will K

    (@mehrarajesh6)

    Thank you so much,..that worked exactly I needed..!!

    Theme Author Acme Themes

    (@acmethemes)

    It is very nice to know your problem solved.
    And please don’t forget to check the documentation here http://www.doc.acmethemes.com/supermag/

    Best Regards,
    AcmeThemes

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Enable shortcode in footer area’ is closed to new replies.