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

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 :)

Stephen
  • 1.3k
  • 3
  • 17
  • 37