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
#sidebar a { | |
color: #333; | |
} | |
#sidebar a:hover { | |
color: #d458a6 | |
} |
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
/* | |
* 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 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
/* | |
* 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 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
/* Form */ | |
.with_frm_style label{ | |
font-size:12px; | |
float:none; | |
text-align:left; | |
margin:0; | |
padding:0; | |
width:auto; | |
} |
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
// 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 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
// 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 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
//Source: http://www.billerickson.net/customize-the-wordpress-query/#example-category | |
<?php | |
/** | |
* Exclude Post Formats from Blog | |
* | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/customize-the-wordpress-query/ | |
* @param object $query data | |
* |
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
/** | |
* Shadow on Top of Image | |
* @author: Affan Ruslan | |
* @link: Affanruslan.com | |
* Use shadow box for the primary (top) menu. | |
* Use inset shadow for the secondary (bottom) menu. | |
* Preview http://imgur.com/QTKNO | |
*/ | |
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 | |
/* | |
Template: Home | |
*/ | |
//Add Post Class Filter | |
add_filter('post_class', 'sf_post_class'); | |
function sf_post_class($classes) { | |
global $loop_counter; | |
$classes[] = 'one-third'; |
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
//Source: http://jeffsebring.com/responsive-wordpress-images/ | |
.entry-content img, .comment-content img, .widget img { | |
max-width: 97.5%; | |
} | |
img[class*="align"], img[class*="wp-image-"] { | |
height: auto; | |
} |
NewerOlder