[Theme: Thematic ] Adding a new hook removes featured post (1 post)

  1. PReno
    Posted 3 years ago #

    The problem i have having is i wish to and a new hook which will display four icons (facebook,twitter,rss feed, instagram)all with outbond link when a user clicks on them just below the Google Translator which is in the header (example.
    My code is as follow:

    add_action('thematic_header', 'social_media_icons',14);
    function social_media_icons(){
    <div id='socialMediaIcons'>
      <div id='icons'>
      	<a href="https://www.facebook.com/SligoTourism?fref=ts"><img src="/wordpress/wp-content/themes/sligo/images/Facebook_Icon.png" alt"Like Us On Facebook" width="20px" height="20px"/></a>
        <a href="https://twitter.com/sligotourism"><img src="/wordpress/wp-content/themes/sligo/images/Twitter_Icon.png" alt"Follow Us On Twitter" width="20px" height="20px"/></a>
        <a href="http://instagram.com/sligotourism"><img src="/wordpress/wp-content/themes/sligo/images/Instagram_Icon.png" alt"Follow Us On Instagram" width="20px" height="20px"/></a>
        <a href="http://www.sligotourism.ie/feed/"><img src="/wordpress/wp-content/themes/sligo/images/rss_Icon.png" alt"RSS Feed" width="20px" height="20px"/></a>

    however when i upload my new functions.php file with this code the featured post ie "Sligo Stories ........." wont appear :( ... Any one have an idea why this my happen? and how i would go about fixing it?

Topic Closed

This topic has been closed to new replies.

About this Topic