Modified Navigation Links to not Show Daily Tweets.

Update: October 7, 2015: In case anyone finds this post, thought I should mention that I quit using that Advanced Category Excluder plugin. Read my Excluding Categories from Different Parts of WordPress post for how I currently do it. Also, here’s the actual code to exclude the categories I wanted from the links:

$mrh_exclude = '61, 74';
  <span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentytwelve' ) . '</span> %title', false, $mrh_exclude ); ?></span>
  <span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentytwelve' ) . '</span>', false, $mrh_exclude ); ?></span>

I’ve modified the code in my blog’s theme to exclude the Daily Tweets category (aka Twitter Digest) from the Previous and Next post navigation links when viewing a single post. This will make it behave more like my blog’s home page and feed where that category is also excluded via the Advanced Category Excluder plug-in. So, to view the posts in that category, you will need to click on the Daily Tweets category on the right-hand side of the blog under the Categories section.

I decided to do it this way rather than using the plug-in to exclude the category from “single posts” as that would prevent the ability view the post individually (it causes a 404 error to be generated).

Now, the Daily Tweets will not get in the way of browsing the normal posts on my blog. 🙂