Wordpress

Discussion in 'Search Engine Optimization' started by asghar.paracha, May 14, 2010.

  1. #1
    How I can show sidebar in single post of wordpress.you can see sidebar when you visit main blog URL where archives, links, recent entries located but when you goto a single post theres no sidebar?
     
    asghar.paracha, May 14, 2010 IP
  2. asghar.paracha

    asghar.paracha Well-Known Member

    Messages:
    720
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    118
    #2
    I am surprised, no budy replied?
     
    asghar.paracha, May 17, 2010 IP
  3. megaresp

    megaresp Peon

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's to do with the design template you're using. If the template includes a sidebar, you'll have a sidebar. If not, you'll need a new template. Some templates require you to add widgets to display a sidebar.

    You'll have more luck posting this in an appropriate forum. Nobody comes here to read about Wordpress. This is an SEO forum.
     
    megaresp, May 17, 2010 IP
  4. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #4
    add this line :
    php get_sidebar(); ?>

    just before the last line containing:
    php get_footer(); ?>

    You are done!
     
    bhuthecoder, May 17, 2010 IP
  5. Orangespecka

    Orangespecka Guest

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    awesome tip! thanks!
     
    Orangespecka, May 17, 2010 IP
  6. iNET SEO

    iNET SEO Active Member

    Messages:
    462
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Not so it seems!
     
    iNET SEO, May 17, 2010 IP
  7. asghar.paracha

    asghar.paracha Well-Known Member

    Messages:
    720
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    118
    #7
    asghar.paracha, May 17, 2010 IP