Archive

Posts Tagged ‘Custom Post’

How to Add Custom Post Types to Your Main WordPress RSS Feed

August 7, 2011 2 comments

Custom Post Types was one of the most hyped feature of WordPress 3.0. This feature alone expanded the horizon of WordPress usage as a Content Management System (CMS). If you are using Custom Post Types, or thinking of custom post types, then you may have the urge to add it into your main RSS Feed. This option is not built-in by default because your main WordPress RSS feed only includes “Posts” not even pages, so custom post types are a long shot. In this article, we will share how you can add Custom Post Types to your main WordPress RSS feeds.

You would need to open your theme’s functions.php file and add the following code within the PHP markup: Read more…

How to Create a Custom Post Types Archive Page in WordPress

August 7, 2011 Leave a comment

Custom Post Types was one of the awesome features included in WordPress 3.0. One of our users asked us a question on twitter (@wpbeginner), how to create a custom post types archive page. We covered it in our initial article about Custom Post Types, but it wasn’t explained thoroughly. So in this article, we will show you a step by step guide on creating a custom post types archive page in WordPress.

1. Creating a Custom Page Template

First step would be creating a custom page template in WordPress. All we will do is add the following code at the top of our new .php file which we will call (custompt-archives.php). Read more…