Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

wen.wainwright on "Customising a theme"

$
0
0

[Moderator Note: Topic title modified. When you start a new topic, use a good topic title.]

First of all I posted this in a lower level area and I apologize for re-posting it. I would delete it if I could.

I'm using TwentyThirteen and I want to use the optional right hand sidebar on my pages that are "posts." I want to exclude the right hand sidebar for pages that are pages. In the page.php file the <?php get_sidebar(); ?> is located after the content because the main sidebar is just above the footer. There is no other call for the optional sidebar in this template. I figure I could use a custom page.php for the pages so it won't show the right-hand sidebar but I do not know how to write php to unregister or not_get, etc., or where to put it. Again, sorry about the reposting of this question.


Viewing all articles
Browse latest Browse all 8245

Trending Articles