If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

CherryFramework 3.x. How to add a shortcode to Header/Footer

The following tutorial will show you how to add a shortcode to header or footer parts of Cherry Framework 3.x. based templates.

The footer and header parts are usually referred to as fixed or static since they are limited in modifiable content areas. With the help of this guide, you will be able to add posts, carousel, maps shortcodes, just to name a few, to those areas thus making them dynamic.

  1. Log into your WordPress dashboard;

  2. Navigate to Appearance->Editor section;

  3. On the right hand side, find wrapper-header.php or wrapper-footer.php file, specifically the one you need to edit;

    cherryframework_3.x._how_to_add_shortcode_to_HeaderFooter

  4. Add the following .php code:

     <?php echo do_shortcode('');
  5. Put your shortcode in between the Single Quotes i.e., (‘shortcode_here’);

    cherryframework_3.x._how_to_add_shortcode_to_HeaderFooter1

  6. Update the file and open your website to see the changes applied.

Opt for highly professional WordPress themes here!

Feel free to check the detailed video tutorial below:

CherryFramework 3.x. How to add shortcode to Header/Footer