[contact-form-7 id="24078" title="Feedback EN"]

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;


  4. Add the following .php code:

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


  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