Help me with my Sidebar Widget

Discussion in 'WordPress' started by dhisky, Jan 15, 2010.

  1. #1
    Hello! I have this code added on my function.php


    It basically enable me to put a wifget on a static page by putting

    on my static page.



    My problem is the existing unnamed sidebar widget disappeared when I put that code. I'm thinking that I only need to change the name of this "unnamed sidebar" for it to show up.

    Here's what I have in the original funtion.php
    I think I only need to integrate that on the code above.


    Anyone who can help me?

    Thanks!
     
    dhisky, Jan 15, 2010 IP
  2. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ok here it is

    see the names in red should be same for it to work
     
    Wp-Mod.Com, Jan 15, 2010 IP
  3. johagulo

    johagulo Peon

    Messages:
    879
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If You like blogging. You like to share your thoughts with your readers, so why pay for it. Wordpress.com is free
     
    johagulo, Jan 16, 2010 IP
  4. abhijit

    abhijit Notable Member

    Messages:
    4,094
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    215
    #4
    <?php dynamic_sidebar('sidebar1'); ?>
    <?php dynamic_sidebar('sidebar2'); ?>

    you can use both of these...............
     
    abhijit, Jan 16, 2010 IP