Stay on Track with WordPress: Excluding Categories for Your Blog

Stay on Track with WordPress: Excluding Categories for Your Blog


Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/classes/base.class.php on line 106

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/classes/base.class.php on line 101

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/classes/base.class.php on line 112

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/classes/base.class.php on line 117

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/classes/base.class.php on line 122

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Warning: Illegal string offset 'gplus' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 331

Warning: Illegal string offset 'twitter' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 332

Warning: Illegal string offset 'linkedin' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 333

Warning: Illegal string offset 'facebook' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 334

Warning: Illegal string offset 'pinterest' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 335

Warning: Illegal string offset 'delicious' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 336

Warning: Illegal string offset 'stumbleupon' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 337

Warning: Illegal string offset 'digg' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 338

Warning: Illegal string offset 'tumblr' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 339

Warning: Illegal string offset 'reddit' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 340

Warning: Illegal string offset 'buffer' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 341

Warning: Illegal string offset 'vk' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 342

Warning: Illegal string offset 'blogger' in /nfs/c02/h09/mnt/24170/domains/maverickblair.me/html/wp-content/plugins/dpArticleShare/functions.php on line 343

Sometimes the themes we install don’t give up the ability to fine tune our blogs to only delivery specific category content to our viewers. So here is a quick and easy way to resolve this:

In your themes blog template, find this line of code:

if (have_posts()) : while (have_posts()) : the_post();

and place this “query_post” line of code before it:

query_posts($query_string . '&cat=-13,-9');

Your code should now look like this:

query_posts($query_string . '&cat=-13,-9');
if (have_posts()) : while (have_posts()) : the_post();

That’s all! Enjoy

Submit a Comment

twenty + 5 =