I need a theme with the header/h1 in sidebar

Discussion in 'WordPress' started by lurifax, Jul 30, 2012.

  1. #1
    Been looking and looking, but I can't find what I'm looking for.

    I need a clean 3 column theme with header/h1 in left sidebar, like this one: h ttp://www.samtext.com/samtext_international_text_agency_460.html
    (Remove the space between h and t)

    A theme exactly like that one would be perfect, but it's no biggie to edit one that is similar. Any tip for a theme I can use? Header/h1 _must_ be in the left sidebar.
     
    lurifax, Jul 30, 2012 IP
  2. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #2
    You need to change the code where you want to apply...
     
    ashishkg, Jul 31, 2012 IP
  3. lurifax

    lurifax Greenhorn

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Really informative reply you got there..
     
    lurifax, Jul 31, 2012 IP
  4. D3Tek

    D3Tek Active Member

    Messages:
    164
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    50
    #4
    Well, you could setup your own sidebar, let me provide an example...


    In functions.php, add this code.


    
    if ( function_exists('register_sidebar') )
    	register_sidebar(array(
    		'name' => __('New left-hand sidebar'),
    		'id' => 'new-left-bar',
    		'before_widget' => '',
    		'after_widget' => '',
    		'before_title' => '<h1>',
    		'after_title' => '</h1>',
    	));
    
    Code (markup):

    Save the file, visit your website and then go to your Widgets, you will see a new sidebar. Then edit your theme's sidebar.php to include the new sidebar (where your current left sidebar is) with this code:

    get_sidebar('new-left-bar');
    Code (markup):
    Hope this helps.
     
    D3Tek, Jul 31, 2012 IP
  5. lurifax

    lurifax Greenhorn

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Great, will try that one. Thanks!
     
    lurifax, Jul 31, 2012 IP
  6. D3Tek

    D3Tek Active Member

    Messages:
    164
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    50
    #6
    Not a problem, if you have any problems, post back here and I shall try my best to assist!
     
    D3Tek, Jul 31, 2012 IP