1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

A question

Discussion in 'WordPress' started by w3bmaster, Nov 23, 2006.

Thread Status:
Not open for further replies.
  1. #1
    Well on my blog i whant the sidebar to apear not only on the homepage and chathegorys but even on each blog post ? how can i do that ...

    Thanks
     
    w3bmaster, Nov 23, 2006 IP
  2. Zeo

    Zeo Active Member

    Messages:
    158
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #2
    What are you talking about? You should make your question clearer with more details. Not to mention bad title.
     
    Zeo, Nov 23, 2006 IP
  3. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #3
    what blog u using?
     
    just-4-teens, Nov 23, 2006 IP
  4. w3bmaster

    w3bmaster Notable Member

    Messages:
    17,594
    Likes Received:
    416
    Best Answers:
    1
    Trophy Points:
    240
    #4
    w3bmaster, Nov 23, 2006 IP
    YIAM likes this.
  5. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #5
    u need to edit the <template_folder>/single.php

    just before (its at the bottom of single.php)
    <?php get_footer(); ?>
    PHP:
    add
    <?php get_sidebar(); ?>
    PHP:
     
    just-4-teens, Nov 23, 2006 IP
  6. w3bmaster

    w3bmaster Notable Member

    Messages:
    17,594
    Likes Received:
    416
    Best Answers:
    1
    Trophy Points:
    240
    #6
    Thanks i will do the modifications.
    Regards
     
    w3bmaster, Nov 23, 2006 IP
  7. Zeo

    Zeo Active Member

    Messages:
    158
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Kubrick doesn't have any sidebar when viewing single page, unless you're using Kubrick skin on Sandbox theme.

    Use this theme instead - http://www.lancelhoff.com/2006/06/10/wordpress-modified-kubrick-full-sidebar-template/
     
    Zeo, Nov 23, 2006 IP
  8. ahref

    ahref Well-Known Member

    Messages:
    1,123
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    170
    #8
    If you do not have sidebar in post page, you get it through getsidebar function as told by just-4-teens.
     
    ahref, Nov 23, 2006 IP
  9. Zeo

    Zeo Active Member

    Messages:
    158
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #9
    ahref, in original Kubrick theme you can't simply add like that. That's why I give him a link for that modded all-sidebar kubrick theme.
     
    Zeo, Nov 23, 2006 IP
  10. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #10
    yes u can

    :)
     
    just-4-teens, Nov 24, 2006 IP
  11. Zeo

    Zeo Active Member

    Messages:
    158
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #11
    Nope you can't :)

    By ONLY adding <?php get_sidebar(); ?> you can't add a perfect sidebar to kubrick single view page. Your sidebar is going to be at the bottom LOL!

    Prove me wrong please ;)
     
    Zeo, Nov 24, 2006 IP
  12. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #12
    oh yeh just remembered what else u need to do :)

    in single.php

    find (line 3)
    <div id="content" class="widecolumn">
    PHP:
    change to
    <div id="content" class="narrowcolumn">
    PHP:
     
    just-4-teens, Nov 24, 2006 IP
  13. w3bmaster

    w3bmaster Notable Member

    Messages:
    17,594
    Likes Received:
    416
    Best Answers:
    1
    Trophy Points:
    240
    #13
    w3bmaster, Nov 24, 2006 IP
Thread Status:
Not open for further replies.