Play .MKV’s in Windows Media Center (WMC)

For a long time I had resisted converting my DVD and Blu-Ray disks into any other format because I didn’t want to lose any quality.  I had lived by this rule for a long time, and thankfully companies like QNAP and Thecus came to my storage rescue.  However, the day has come where the cost of storing all the extra garbage that comes along with these movies has opened my eyes to benefits conversions.  With that, I have began converting my movie collection to a format that allows me to lose all the excess fat, but keep my movie loss-less. Read More…

wordpress-thumbnail-logo
  • EmailPrint This PostFeedShareCOD

If you run your site on WordPress and using it as a content management system, you may have realized that there are categories of posts that you don't want published on your feed.  There is no easy way to do this through WordPress by default, but that doesn't mean that this isn't possible to accomplish.  You can eliminate certain categories easily by editing your theme's functions.php file.

1. Edit your theme’s functions.php file
2. Paste the following code between the <?php and the ?>

// --------------------------------------------------------------------------
// Start Category Remove from Feed
// --------------------------------------------------------------------------
	function myFilter($query) {
	    if ($query->is_feed) {
	        $query->set('cat','-289'); //Don't forget to change the category ID =^o^=
	    }
	return $query;
	}
	// 289 = Press Releases Category
	add_filter('pre_get_posts','myFilter');
// --------------------------------------------------------------------------
// End Category Remove from Feed
// --------------------------------------------------------------------------

Note: These functions are not of my own creation, simply things I have found along the way.  If you are the author of this function, please let me know so I can properly credit you with your work!

Share to Facebook Share to Twitter Stumble It Digg Linked In Delicious Tumblr

Joe DiFiglia has written 226 Articles at C.O.D.


In early 2000 I became increasingly frustrated with hardware review sites praising less than satisfactory products. The saying: “if you want something done right, do it yourself” applies here. I wasn’t satisfied, so I did it myself; and here we are years later.