PageLines automatically detects all custom post types (CPTs) on the Drag and Drop page, but not on the Page Options (i.e. Special Options) page.

Personally, WP-Types is my favorite way to create custom post types, and it happens to be free from the WordPress repository.

Custom Post Types in PageLines Drag and Drop

I created a CPT called “vendors”. Here’s what Drag and Drop looks like after I created the CPT:

PageLines Drag and Drop CPT Template

PageLines Drag and Drop CPT Template

 

PageLines Drag and Drop CPT Content Area

PageLines Drag and Drop CPT Content Area

Custom Post Types in PageLines Page Options

Once we add some code to our functions.php file, this is what we want to see (dependent upon the name of your custom post type or types, “vendors” in this example):

Custom Post Types on PageLines Page Options

Custom Post Types on PageLines Page Options

The Code

Add this code (change “vendors”) on the 5th line to match your created CPT:

Additional Tips

If you’re using the paid version of the Types plugin (the WP Views plugin from their Toolset package) to display your CPT custom fields, follow this tip:

Views works with Pagelines.

Go to Views -> Settings and under Theme Support for View Templates put post_content.
– fromĀ PageLines Forums

WP Views for PageLines

WP Views for PageLines

Share →
Buffer

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop us a note so we can take care of it!

Visit our friends!

A few highly recommended friends...

    css.php