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
/** Disable Theme Editor */ | |
define('DISALLOW_FILE_EDIT', true); |
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
// jQuery.noConflict(); | |
(function($) { | |
})(jQuery); |
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
$content = 'CONTENT'; | |
$editor_id = 'EDITOR_ID'; | |
$settings = array( 'tinymce' => false, 'media_buttons' => false, 'quicktags' => false, 'wpautop' => false ); | |
wp_editor($content, $editor_id, $settings); |
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
/** Modify the speak your mind text */ | |
add_filter( 'genesis_comment_form_args', 'op_comment_form_args' ); | |
function op_comment_form_args($args) { | |
$args['title_reply'] = 'Leave a Comment'; | |
return $args; | |
} |
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
/** Change footer copyright text */ | |
add_filter('genesis_footer_creds_text', 'op_footer_creds_text'); | |
function op_footer_creds_text( $creds ) { | |
$creds = 'Copyright © '.date('Y').' <a href="'.home_url().'">'.get_bloginfo('description').'</a> · All Rights Reserved.'; | |
return $creds; | |
} |
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
// Change WordPress URL for dev server | |
define('WP_HOME','http://'); | |
define('WP_SITEURL','http://'); |
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
# Redirect from www. | |
RewriteCond %{HTTPS} off | |
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] |
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
<Limit GET POST PUT> | |
order deny,allow | |
deny from all | |
allow from 0.0.0.0 | |
</Limit> |
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
strong em, strong i, b em, b i, em strong, em b, i strong, i b { | |
font-weight: normal; | |
font-style: normal; | |
font-family: '[WEBFONT-Bold+Italic]', Helvetica, Arial, sans-serif; | |
} | |
strong, b { | |
font-weight: normal; | |
font-style: normal; | |
font-family: '[WEBFONT-Bold]', Helvetica, Arial, sans-serif; |
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
// jQuery.noConflict(); | |
jQuery(document).ready(function($) { | |
}); |
OlderNewer