Title: custom post type
Last modified: August 19, 2016

---

# custom post type

 *  [nyckidd](https://wordpress.org/support/users/nyckidd/)
 * (@nyckidd)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-5/)
 * Hello, i want to make a custom post type called resources and i want to have 
   of course the content but also the ability to type in the external url to the
   resource links…any pointers ?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Roy](https://wordpress.org/support/users/gangleri/)
 * (@gangleri)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-5/#post-1938813)
 * Custom post types are better implemented in WP3.1. I made mine the old way and
   fortunately things still work. Read this and control+F a for “custom post types”
   for more information.
    [http://codex.wordpress.org/Version_3.1](http://codex.wordpress.org/Version_3.1)
 *  Thread Starter [nyckidd](https://wordpress.org/support/users/nyckidd/)
 * (@nyckidd)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-5/#post-1938920)
 * Hey, i have 3.1 running but i have never used custom post types before is there
   a working example that shows you how to show the latest 10 posts from a custom
   type post/category ?
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-5/#post-1938932)
 * you just need to make a template called archive-resources.php (archive-post_type.
   php is the format)
 * I use a copy of index.php and just rename it, to start with
 * That will display the posts
 * Then you must turn on the archive feature in the code you registered your CPT
   with using
 *     ```
       'has_archive' => true
       ```
   
 * and the url would them be somain.com/resources in your situation, but that can
   be changed…
 * [http://mark.mcwilliams.me/2010/10/wordpress-3-1-introduces-custom-post-type-archives/](http://mark.mcwilliams.me/2010/10/wordpress-3-1-introduces-custom-post-type-archives/)
   
   is an excellent article about has_archive

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom post type’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-5/#post-1938932)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
