Sign in to follow this  
Followers 0
ACTIONpack

Learning Custom Post Type for WP

2 posts in this topic

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/

Share this post


Link to post
Share on other sites

Honestly, custom post types are very easy to understand.

http://codex.wordpress.org/Post_Types#Custom_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/plugins/advanced-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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.