• There is a general problem if I add new widgets to the site. When adding new widgets the whole right menu, banner box and feedburner email subscribtion, is removed.

    Plz help me how can i do. i have placed a hard code for email subscription and etc in the right side bar.

    Thanks
    Davinder

Viewing 4 replies - 1 through 4 (of 4 total)
  • Many times, themes are coded to either show widgets or to show what is coded in the themes sidebar.php file.

    You may need to change your theme’s use of sidebar and widgets.

    Resources:
    Template Hierarchy
    Editing Files
    Stepping Into Templates
    Widgets API

    Thread Starter davinder16gmailcom

    (@davinder16gmailcom)

    It is showing widgtes and my hard codingimaes also but if i add any widgtes later from admin then it dont show the my hard coeded images.

    if i add widgets first then i add hard code imaegs then it is showing.
    plz tell me what is the problem.

    thanks

    Like Michael said: it’s either widgets or the sidebar.php. There is a trick to use both, but you have to edit the sidebar.php. I believe there’s a tread about it of about a half year old, but perhaps it’s also in the codex.

    If I am understanding the problem correctly: you want to show hard coded items in your sidebar.php i.e. Archives, Categories and etc. as well as widgets.

    IF that is the case, I too found that the sidebar looked fine with just my hardcoded entries but when I added any widget like the calendar, recent post and etc, it looked bad. It wasn’t removed but it looked bad.

    I was able to correct the problem by modifying the style.css and element settings around the widgets function in the sidebar.php.

    If that is not the problem, then what MichaelH stated is the best help. Reading those articles helped me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget’ is closed to new replies.