how to do a header.php tweak – to echo a shortcode?
-
hallo dear communtiy
i run wp version 4.1.1
and want to include into the header of a themes besides a meta-slider some thing more.
how to tweak the header.php
) ); ?> <?php } ?> <?php responsive_header_bottom(); // after header content hook ?> </div><!-- end of #header --> <?php responsive_header_end(); // after header container hook ?> <?php echo do_shortcode("[metaslider id=112]"); echo do_shortcode ("<!–FBGallery2 758636397529074 –><!–/FBGallery2–>"); ?> <?php responsive_wrapper(); // before wrapper container hook ?> <div id="wrapper" class="clearfix"> <?php responsive_wrapper_top(); // before wrapper content hook ?> <?php responsive_in_wrapper(); // wrapper hook ?>this line here
- ("<!–FBGallery2 758636397529074 –><!–/FBGallery2–>");is derived form a plugin that fetches photos from facebook.
[code was edited, please be sure to use backticks and a space to ensure it will display properly]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘how to do a header.php tweak – to echo a shortcode?’ is closed to new replies.