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 | |
function wpized_remove_wp_version() { | |
return null; | |
} | |
add_filter('the_generator', 'wpized_remove_wp_version'); | |
?> |
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 | |
function wpized_tag_post_with_author_username($post_id) { | |
if($parent = wp_is_post_revision($post_id)) { | |
$post_id = $parent; | |
} | |
$post = get_post($post_id); | |
if($post->post_type != 'post') { | |
return; | |
} |
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 if($skills): ?> | |
<h5>Skill<?php if( count($skills) > 1 ) { echo 's'; } ?></h5> | |
<ul> | |
<?php | |
foreach($skills as $skill) { | |
echo '<li>' . $skill->name . '</li>'; | |
} | |
?> | |
</ul> | |
<?php endif; ?> |
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
partial // default: loop,post_list | |
wrap // default: true (boolean) | |
wrapper_class // class attribute for the <ul> element | |
post_status // default: publish | |
posts_per_page // default: Settings > Reading > Blog pages show at most | |
paged // default: paged (if shortcode is in a custom page template use paged="page") | |
offset // number of posts to displace | |
orderby // default: date | |
order // default: DESC | |
p // post ID |
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
/* | |
Theme Name: Grace Fellowship | |
Description: Child theme for the Antioch theme by ChurchThemes | |
Author: Jake Bondurant | |
Author URI: http://jakebondurant.com | |
Template: antioch | |
*/ | |
@import url("../antioch/style.css"); |
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 | |
/* Checks to see if new post type names (with prefixes) are being used. If not, then the old | |
* post type names are converted as long as there aren't conflicting post type names that are | |
* being registered by other plugins. | |
* | |
* @hook {action} after_setup_theme | |
*/ | |
function fjarrett_prefix_post_types(){ | |
global $wpdb; |
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 | |
/* Hide WP version meta tag from header and generator tag from feeds | |
* @return null | |
* @filter the_generator | |
*/ | |
function fjarrett_remove_wp_version_tag() { | |
return null; | |
} | |
add_filter( 'the_generator', 'fjarrett_remove_wp_version_tag' ); |
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
/* | |
Theme Name: Castleton UMC | |
Description: Child theme for the Urban City theme by ChurchThemes | |
Author: Joe Garrison | |
Author URI: http://castletonumc.org | |
Template: urbancity | |
*/ | |
@import url("../urbancity/style.css"); |
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
/* | |
Theme Name: Your Church Name | |
Description: Child theme for the Urban City theme by ChurchThemes | |
Author: Your name | |
Author URI: http://yourchurchwebsite.org | |
Template: urbancity | |
*/ | |
@import url("../urbancity/style.css"); |
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 | |
/** | |
* Restricts certain menu items from appearing the WP Admin area. Does not | |
* affect Administrator users. | |
* | |
* @action admin_menu | |
*/ | |
function fjarrett_restrict_admin_menu_items() { | |
// Don't restrict Administrator users. |
OlderNewer