My dad is a local pastor and we started a website for him a few years back. Unfortunately our schedules have been so busy we really did not put much time into it. Well times have changed and after a refresh of how the site looks we are finally up and going. If you are looking for the good word then check out his site.
Exclude category from recent posts
If you are looking for a way to exclude category from recent post (post that show up on your homepage). Here is a quick and simple way to do it. First find the category id by editing the category you want to exclude. From your dashboard click Categories and edit the category you want to exclude. Once you select edit, in the URL you’ll see the category ID. Make a note of this number.

I use frameworks (genesis), so I would open my child theme functions.php file. And add the following code:
//Exclude category from recent posts
add_filter(‘pre_get_posts’, ‘exclude_category_from_home’);
function exclude_category_from_home($query) {
if ( $query->is_home ) {
$query->set(‘cat’, ‘-id‘);
}
return $query;
}
Now just replace the “id” with your category number save the file and there you have it.
New AgentPress 2.0 Child Theme
AgentPress 2.0 is now available from StudioPress. This is a great solution for real estate agents to edit and update property listings, integrate with IDX, and display featured listings. I’ll be speaking at a REBarCamp in October, so I’m looking forward to speaking about this new child theme.



