Exploring The Internet

Exploring the web – Growing my online experience

How to Add a Top Sidebar to a Cutline Theme?

January 27th, 2013 · No Comments · Blogging Tips, How to, WordPress Themes, WordPress Tips

This site is using Cutline-1.4-3ColumnRight. I have already made many customizations to this theme. As you may already notice, I’ve added a top sidebar to my existing sidebars. The following steps describe how I’ve accomplished this task.

  • First I opened functions.php with my Dreamweaver editor (if you don’t have Dreamweaver editor, using others), then I found this line
    I changed the above code to be the following code, see the differences in red:
  • Second I opened sidebar.php with Dreamweaver and saved this file as t_sidebar.php (it doesn’t matter whatever name it was saved). Then I found these lines
    <div id="sidebar">
    <ul class="sidebar_list">
    <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)) : ?>

    I changed the above code to be the following code, see the differences in red:
    <div id="t_sidebar">
    <ul class="t_sidebar_list">
    <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(3)) : ?>
  • Third I opened index.php, page.php, single.php, search.php, archive.php, archives.php files and scroll each file all the way down to find these lines
    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?>

    I then added the third line to the above code, see the red line below:
    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?>
    <?php include (TEMPLATEPATH . '/t_sidebar.php'); ?>

    I then saved all these files.
  • Finally I opened this file style.css and styled the t_sidebar the way I liked.

Check it out at the top right corner! What do you think? Would you like to add a top sidebar to your Cutline theme blog? Tell us why or why not in our comment section.
WWW.WEEDPATCHCLOTHING.COM "Domain Name" currently has a Amazon Affiliate store

$250,000.00 (0 Bids)
End Date: Tuesday Nov-21-2017 7:44:06 PST
Bid now | Add to watch list

Turnkey Travel Hotel Booking Search Engine Website business Automated System
End Date: Tuesday Nov-21-2017 7:55:46 PST
Buy It Now for only: $4.50
Buy It Now | Add to watch list

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

Tags: ··

No Comments so far ↓

There are no comments yet...Be the first to voice your opinion by filling out the form below.

Leave a Comment

Your e-mail address will not be published. Required fields are marked *

Comment moderation is in use. Please do not submit your comment twice.


Custom Search