• Hello. I wonder how I can add some content in my single-pages sidebars. It looks rather “ugly” with two emty sidebars. Here is a link for an example. Guess there is some code to be written? But what and where? Hope someone can help me. Please.

Viewing 4 replies - 1 through 4 (of 4 total)
  • start by reviewing:
    http://codex.wordpress.org/Widgetizing_Themes

    does your theme have any sidebar.php templates, which are called by using the get_sidebar() code?

    does functions.php of your theme register any sidebars? http://codex.wordpress.org/Function_Reference/register_sidebar

    Thread Starter McPhearsome

    (@mcphearsome)

    my “index.php” calls the get_sidebar code and functions.php have an if ( function_exists('register_sidebar') ) code inside.

    I can give you all sidebar-code in the functions.php if you want to. Maybe the problem is there.

    thanks for your quick reply anyway.

    does your theme have a sidebar.php file?
    what is the code of that?

    what is the full ‘register_sidebar()’ code in functions.php?

    do you have any widget areas in dashboard – appearance – widgets?

    what theme (if any) is your theme based on?

    Thread Starter McPhearsome

    (@mcphearsome)

    Yes, I have a sidebar.php file – do you want all the code inside that file? There is also a lot of code ‘register_sidebar()’ following that.

    Yes I have a lot of widgets – automatically two each for every category I create – left and right widgets – It’s a custom team that I use

    If you want the code of what you’re asking for I provide you that, of course.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding content in pages sidebars’ is closed to new replies.