This file contains 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
function prune_page_templates( $templates ) { | |
unset( $templates['templates/halves.php'] ); | |
unset( $templates['templates/margin-left.php'] ); | |
unset( $templates['templates/margin-right.php'] ); | |
unset( $templates['templates/side-left.php'] ); | |
unset( $templates['templates/side-right.php'] ); | |
unset( $templates['templates/single.php'] ); | |
return $templates; | |
} | |
add_filter( 'theme_page_templates', 'prune_page_templates' ); |
This file contains 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
<script>$('.folded dt').click( function() { $(this).toggleClass('unfolded').next('dd').toggleClass('unfolded'); });</script> | |
<style> | |
.folded dt, | |
.folded dd { | |
display: block; | |
} | |
.folded dt { |
This file contains 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
<?php $spine_color = get_option( 'spine_theme_options' ); echo $spine_color['grid_style']; ?> |
This file contains 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
<article> | |
<header>Article Header</header> | |
<center> | |
<p>Once upon a time...</p> | |
<ul></ul> | |
</center> | |
<footer>Article Footer</footer> | |
</article> |
OlderNewer