Jump to content
Sign in to follow this  
creativeadventures

Custom Post Types

Recommended Posts

creativeadventures

I managed to create a custom post type by writing a small plugin, but I can't figure out how to get those custom Pageline meta boxes when creating posts. How should I add the post type if I want to do it the "Pageline-way"? Thanks

Share this post


Link to post
Share on other sites
Sourena

I am not sure I understand the question. What Pageline meta boxes you are referring to? What plugin did you use to create your custom post type?


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
creativeadventures

Sorry for not being clear enough! I mean the custom box, when creating a post, where you can set featured image, and other meta data. It's called "Pagelines Meta Settings". I did not use a plugin, I wrote my own (very simple) plugin. Thanks

Share this post


Link to post
Share on other sites
creativeadventures

Trying to figure this out from class.types.php, but I don't understand where that custom box comes from. The defaults is only including:

'supports' 			=> array('title', 'editor', 'thumbnail'),

Share this post


Link to post
Share on other sites
cmunns

Take a look at the section.boxes.php It's a good example as it contains all in one file every function you would need to create page-meta options, global set of options, taxonomies, etc.

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  

×