Jump to content



Photo

Learning Custom Post Type for WP


  • Please log in to reply
1 reply to this topic

#1 ACTIONpack

ACTIONpack

    Graphic Designer

  • Tech Issues Solved: 1
  • Joined: 10-August 03
  • Location: Lawrenceville, GA
  • OS: Windows 8.1 Pro
  • Phone: Nokia Lumia 925 (T-Mobile)

Posted 24 October 2013 - 18:47

Where is the best and easiest way to learn Custom Post Type for WordPress. Someone told me to use it when converting the product page of the website from static to WordPress with Custom Post Type.

 

www.romabio.com/products/




#2 +Lingwo

Lingwo

    Neowinian Senior

  • Tech Issues Solved: 1
  • Joined: 22-April 03
  • Location: UK

Posted 25 October 2013 - 21:42

Honestly, custom post types are very easy to understand.

http://codex.wordpre...stom_Post_Types

I don't think you'll need more than that. If you have PHP knowledge and a grasp of wordpress, you'll have it working in 20 minutes.

In wordpress, everything is a post and the way it tells the difference between the posts is by the "type" (post, page, etc).

All a custom post type is your creating another post "type" so in this case it would be product.

 

If you're wanting custom meta included in those pages, that's where it gets a little trickier but i recommend using something like Advanced Custom Fields.

http://wordpress.org...-custom-fields/

You might find that handy if you're wanting a product page with a lot of unique data. So much easier than writing it yourself.





Click here to login or here to register to remove this ad, it's free!