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
// Source: http://yoast.com/custom-post-type-snippets/ | |
// Add a Custom Post Type to a feed | |
function add_cpt_to_feed( $qv ) { | |
if ( isset($qv['feed']) && !isset($qv['post_type']) ) | |
$qv['post_type'] = array('post', '<CPT>'); | |
return $qv; | |
} | |
add_filter( 'request', 'add_cpt_to_feed' ); |
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
// Source: http://genesissnippets.com/custom-comments-html-output-with-genesis-framework/ | |
// First remove the genesis_default_list_comments function | |
remove_action( 'genesis_list_comments', 'genesis_default_list_comments' ); | |
// Now add our own and specify our custom callback | |
add_action( 'genesis_list_comments', 'child_default_list_comments' ); | |
function child_default_list_comments() { | |
$args = array( |
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
/* Form */ | |
.with_frm_style label{ | |
font-size:12px; | |
float:none; | |
text-align:left; | |
margin:0; | |
padding:0; | |
width:auto; | |
} |
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
/* | |
* Kujie2.com | |
* Result: Error | |
*/ | |
<link rel="alternate" type="application/rss+xml" title="Hidup Biar Sedap » Feed" href="feed"/> | |
/* | |
* Puanbee.com | |
* Result: OK |
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
/* | |
* URL Changes for Kujie2.com after deactivating the WP-HTML-Compression plugin | |
*/ | |
/** Before - Plugin: Activate */ | |
<link rel="alternate" type="application/rss+xml" title="Hidup Biar Sedap » Feed" href="feed"/> | |
/** After - Plugin: Deactivate */ |
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
#sidebar a { | |
color: #333; | |
} | |
#sidebar a:hover { | |
color: #d458a6 | |
} |
OlderNewer