Cutline Theme Support Forums » Cutline Theme Support Forums

Adding to the header

(2 posts)
  • Started 4 years ago by jason
  • Latest reply from couchmouse
  • This topic is not resolved

  1. jason
    Member

    A lot of themes now have boxes in the header for popular posts, tags, etc (eg carlocab.com).

    Is there some code available so that I can do the same with my cutline theme?

    Posted 4 years ago #
  2. Those are mostly plugins where you put a code snippet specific to the plugin in the header.php
    such as...
    <div id="header_img">
    <?php if (is_page('about')) { ?>
    <img src="http://couchmouse.net/wp-content/themes/Cutline/images/header_2.jpg" width="900" height="150" alt="Couchmouses' Corner about page header image" title="Couchmouses' Corner about page header image" />
    <?php } else { ?>
    <?php { nggSlideshowWidget(1,900,150); }?>
    <?php } ?>
    </div>

    <?php wp_quotes_random(); ?>
    <div class="ad_header"><?php if(function_exists('header')) :
    adsense_deluxe_ads('header'); endif; ?></div>

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.