• Resolved Christian

    (@dauntlessjaunter)


    My website has a very customized theme, and I wanted to start using this CPT UI plugin.

    The theme I am using has different templates for normal “blog” posts vs. pages. Blog posts show up normally, but pages are these full-width blank templates which utilize this Visual Composer plugin, which it has integrated into the theme.

    My custom post types are displaying just like blog posts, but I would like them to replicate the same exact look and feel of pages. The custom post type that I have created is called “Destinations.” I was told perhaps I should create a single-destinations.php file, copying the settings in home.php into there, but this didn’t seem to work.

    Any ideas as to what I need to do to get my custom post types back on track? Thanks in advance for the help!

    http://wordpress.org/extend/plugins/custom-post-type-ui/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    While this isn’t directly related to this plugin, I’ll do what I can to help a bit with this.

    If you’re wanting these CPTs to be the same as your pages, you’ll need to copy your page.php stuff into the template files for the CPTs. single-destinations.php for the single view of each CPT post, and archive-destinations.php for the “listing” view for the post types. That’ll be similar to the blog listing, though definitely don’t need to be the same in how the template files show them.

    Check http://codex.wordpress.org/Template_Hierarchy for more information on hierarchy of selection for template files.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type’ is closed to new replies.