Archive

Posts Tagged ‘Wordpress’

Limit RSS to certain categories in WordPress.

December 19th, 2009 Jimmy No comments

If you’re like me, you may once in a while have something to write about that isn’t necessarily related to your overall blog topic. Take me for example. My blog is mainly about internet and application development (programming) however sometimes I find a really cool tip or trick that isn’t necessarily related, such as a howto for example. Using this code I can exclude those posts from my RSS feeds. That way my main RSS subscribers don’t get caught reading off-topic posts, but they are there if they want to read them on the site. I then include just the headlines of those posts on my extended recent posts sidebar widget.

Anyways enough of the blabbing on onto the code. This code excludes categories 35 and 45 from my RSS feeds. You can get the category ID’s on your category admin page in your WordPress dashboard.

add_filter('pre_get_posts', 'filterRSSQuery');
function filterRSSQuery($query) {
    if ( $query->is_feed ) {
        $query->set('cat', '-30,-45');
    }   

    return $query;
}
Categories: Programming Tags: , ,

WordPress Missed Schedule Explanation and Fix.

August 22nd, 2009 Jimmy No comments

Hey guys, long time WordPress user here. I wanted to give a little info about the “missed schedule” problem people have been having in WordPress. The WordPress scheduler (wp-cron.php) needs access to your blog (http://www.yourblog.com). If your hosting provider isn’t setup correctly it (your ISP) will not be able to access your site. This is due to incorrectly setup DNS, or issues with their firewall such as NAT or IP-Masquerading.
Read more…

Categories: Programming Tags:

Forum software for WordPress.

August 22nd, 2009 Jimmy No comments

I’ve recently been on the hunt for forum software with good WordPress support. Many of the mainstream packages such as phpBB and SimpleMachines(SMF) don’t integrate real well with WordPress. Plus, many of the mainstream forums packages are overkill for what I (and probably most bloggers ) really need.
Read more…

Categories: Programming Tags:

How to install WordPress with FTP.

June 12th, 2009 Jimmy No comments

WordPress is a popular blogging software package freely available to anyone. Many hosting companies provide one click installation of a wordpress blog but some traditional hosting service may not. Installing WordPress isn’t as difficult as you may think. You’ll need to at least know how to FTP to your server in order to complete this installation. We’ll also assume you have no web-based administration or shell access.
Read more…

Categories: General, Linux Howtos Tags: ,

How to SEO your WordPress blog.

June 9th, 2009 Jimmy No comments

For those of you that know what SEO is and run WordPress as your blog engine, you may be wondering how you can easily SEO your blog. SEOing your blog can help you get more search engine traffic and can make your blog look more professional. Many people offer programming services that you have to pay for, however if you run WordPress, it’s as simple as installing a plug-in. Read more…

Categories: General, Linux Howtos Tags: ,