Skip to content

Instantly share code, notes, and snippets.

@dryan1144

dryan1144/page.php

Created Apr 24, 2013
Embed
What would you like to do?
<div class="container">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
<?php
if (is_page('about') {
get_sidebar('about');
}
else {
get_sidebar();
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.