Skip to content

Instantly share code, notes, and snippets.

David Ryan dryan1144

Block or report user

Report or block dryan1144

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View page.php
<div class="container">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
<?php
if (is_page('about') {
get_sidebar('about');
View page-about.php
<div class="container">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
<div class="sidebar about-sidebar">
<h3>Unique About Page Sidebar</h3>
<p>Some stuff.</p>
</div>
View subpages.html
<body class="page-parent-about page-aboutsubpage">
<style>
.page-parent-about h2 {
color:orange;
}
</style>
</body>
You can’t perform that action at this time.