All posts by Mark Jacobsen

Exclude Categories from WordPress Feed

Want to keep posts from a given WordPress category or categories out of your public feed?  If so, just edit the template’s functions.php file and append this code…

function myFeedExcluder($query) {
 if ($query->is_feed) {
   $query->set('cat','-12');
 }
return $query;
}

add_filter('pre_get_posts','myFeedExcluder');

This code will keep the category ID=”12″ out of the feed. If you want to exclude more than one category, put them in separated by commas ‘-12,-25,-33′.

Thanks to this page for this tip!

Please remember to subscribe to the newsletter or feed to stay up to date!

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself.

Thankful for Being Blessed

As we enter the stereotypical season of thanks I’ve been looking back at things that we’ve accomplished over the years, and I’ve realized that I have been extremely blessed.  I’m blessed…

  • To have been born in America
  • To be healthy
  • To have parents from a working class background
  • To have had a good education
  • To have married a wonderful woman
  • To have healthy children
  • To have a great company
  • To have a great job
  • To have been taught: discipline, self-sacrifice, and hard work

For any of you that helped to heap these many blessings on me, I say “Thank You!” now, tomorrow, and forever.

 

Please remember to subscribe to the newsletter or feed to stay up to date!

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself.

It’s my unbirthday!

There’s still time left in my charity:water unbirthday campaign to bring safe drinking water to people in developing countries.  100% of all donations directly fund water projects, and  every dollar is proven using photos and GPS coordinates on a map.

You can even check out the results from my last “unbirthday”

The best gift is a gift to my unbirthday campaign

Please remember to subscribe to the newsletter or feed to stay up to date!

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself.