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
User-agent: * | |
Disallow: /wp-admin/ |
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
User-agent: * | |
Disallow: /wp-admin/ | |
User-agent: Googlebot | |
Allow: /* .js* | |
Allow: /* .css* |
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
//* Customize the entry meta in the entry footer (requires HTML5 theme support) | |
add_filter( 'genesis_post_meta', 'sp_post_meta_filter'); | |
function sp_post_meta_filter($post_meta) { | |
$post_meta = '[post_comments zero="0 Comments"]'; | |
return $post_meta; | |
} | |
add_action( 'genesis_before_comments', 'child_related_posts' ); | |
/** | |
* Outputs related posts with thumbnail |
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
! wp_is_mobile() |
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
[only_mobile]<div align="center"><!-- BLOGHER ADS Begin supplemental 300 ad --> | |
<script src="UNIQUE AD URL PROVIDED BY BLOGHER" type="text/javascript"></script> | |
<!-- End supplemental 300 ad --></div>[/only_mobile] |
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
! wp_is_mobile() && ! ( is_single() && in_category('XX') ) |
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
<?php | |
//* Do NOT include the opening php tag | |
/** Add shortcode to show elements in mobile only */ | |
add_filter('widget_text', 'do_shortcode'); | |
function only_mobile_shortcode($atts, $content = '') { | |
if (wp_is_mobile() === false) { | |
$content = ''; | |
} | |
return $content; |
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
! ( is_single() && in_category('#') ) |
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
<span class="swoop_ignore_page" style="display:none"></span> |
NewerOlder