Skip to main content
deleted 139 characters in body; edited title
Source Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

WordPress - Implement content-nosidebar.php / content-leftsidebar.php

Hello WordPress community,

So I'm fairly new to creating my own WordPress themes and I've run into a brick wall. I've been trying to create Page Layout's so that the person using the theme to position the sidebar either on the left, right or have the page as a full width one. I've looked at another theme and they have files called content-nosidebar.php and so on for left and right so I've gone a head and done that but something tells me I need to call some kind of function for this.

I've looked around the WordPress codex but that says something about Page Templates and like I said I'm fairly new to it so if you could help me by pointing me in the right direction that would be awesome :)

Thank you, Stephen

WordPress - content-nosidebar.php / content-leftsidebar.php

Hello WordPress community,

So I'm fairly new to creating my own WordPress themes and I've run into a brick wall. I've been trying to create Page Layout's so that the person using the theme to position the sidebar either on the left, right or have the page as a full width one. I've looked at another theme and they have files called content-nosidebar.php and so on for left and right so I've gone a head and done that but something tells me I need to call some kind of function for this.

I've looked around the WordPress codex but that says something about Page Templates and like I said I'm fairly new to it so if you could help me by pointing me in the right direction that would be awesome :)

Thank you, Stephen

Implement content-nosidebar.php / content-leftsidebar.php

I've been trying to create Page Layout's so that the person using the theme to position the sidebar either on the left, right or have the page as a full width one. I've looked at another theme and they have files called content-nosidebar.php and so on for left and right so I've gone a head and done that but something tells me I need to call some kind of function for this.

I've looked around the WordPress codex but that says something about Page Templates and like I said I'm fairly new to it so if you could help me by pointing me in the right direction that would be awesome :)

Source Link
Stephen
  • 1.3k
  • 3
  • 17
  • 37

WordPress - content-nosidebar.php / content-leftsidebar.php

Hello WordPress community,

So I'm fairly new to creating my own WordPress themes and I've run into a brick wall. I've been trying to create Page Layout's so that the person using the theme to position the sidebar either on the left, right or have the page as a full width one. I've looked at another theme and they have files called content-nosidebar.php and so on for left and right so I've gone a head and done that but something tells me I need to call some kind of function for this.

I've looked around the WordPress codex but that says something about Page Templates and like I said I'm fairly new to it so if you could help me by pointing me in the right direction that would be awesome :)

Thank you, Stephen