by Rizwan on September 8, 2009
If you perform a variety of tasks at your work what job title do you feel you deserve? Is it the one you were hired for or a combination? Do you think that your pay depends on your job title and therefore you need to be extra careful in selecting one or do you not care about titles at all?
This is the dilemma I had at my work recently. I was hired as a Web Designer but my role in the company has greatly expanded to coding, some IT work, managing outside contractors, managing our Ad server. I did a little research and decided that Web Producer correctly fits my job responsibilities. My reasoning behind the change in title is that I don’t want to limit myself in my title since a first impressions do count to a certain degree.
Have you experienced something similar? I would love to hear your story.
by Rizwan on September 2, 2009
There will be times when you need to not show a category on a certain page. You can either code this manually or use a plugin. Here are some options:
Manually Excluding a Category
Step 1: Go to your WordPress Dashboard
Step 2: Expand the Posts dropdown from the left sidebar
Step 3: Click on the Categories link
Step 4: Click the Category you want to exclude
Step 4: In you browser address bar you will see a url that contains your Category ID. It looks something like this:
<br/>http://www.yourwebsite.com/wp-admin/categories.php?action=edit&cat_ID=5<br/>
The Category ID is 5 at the end of the url (cat_ID=5).
Step 5: Open the Functions.php file for your Theme
Step 6: Past the following code before the closing PHP tage ?> and make sure you change -xx in the code below to your category id
function exclude_category($query) {
if ( $query->is_home ) {
$query->set('cat', '-xx');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
Try it out. I will be updating this post with other examples of excluding categories and plugins you can use.