Title: Adding content in pages sidebars
Last modified: August 21, 2016

---

# Adding content in pages sidebars

 *  [McPhearsome](https://wordpress.org/support/users/mcphearsome/)
 * (@mcphearsome)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/)
 * 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](http://www.simrishamnsbladet.se/lokala-nyher/)
   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)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/#post-4492326)
 * start by reviewing:
    [http://codex.wordpress.org/Widgetizing_Themes](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](http://codex.wordpress.org/Function_Reference/register_sidebar)
 *  Thread Starter [McPhearsome](https://wordpress.org/support/users/mcphearsome/)
 * (@mcphearsome)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/#post-4492336)
 * 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.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/#post-4492368)
 * 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](https://wordpress.org/support/users/mcphearsome/)
 * (@mcphearsome)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/#post-4492371)
 * 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.

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [McPhearsome](https://wordpress.org/support/users/mcphearsome/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/adding-content-in-pages-sidebars/#post-4492371)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
