Last active
December 18, 2016 04:15
-
-
Save jpen365/418af0948e45a22c6d6cde0b7144b1b5 to your computer and use it in GitHub Desktop.
Add sidebar to each front page section in Twenty Seventeen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<hr> | |
<div class="front-page-sidebar"> | |
<aside id="secondary" class="widget-area" role="complementary"><?php | |
$title = get_the_title(); | |
dynamic_sidebar( $title ); | |
?></aside> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment