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