Custom Post Type UI
[resolved] auto create templates for additional custom post types (2 posts)

  1. vabmedia
    Posted 4 years ago #

    Hi, This may sound crazy, but I feel it's not that crazy because no matter how many categories you create, you can always count on having the same template.

    My question is, is it possible to automatically generate a custom post template once a different post type has been created?

    I'm trying to make a different custom post type for each country that is being represented on a website, on which different products belonging to that country will be posted. I'm doing this because they also have different backgrounds.

    It seems to me that the whole fact that they will have different backgrounds may make it hard to automatically create a template, and if so, then should I maybe set up one custom post type called products and have different categories for each country?

    I'm also using option tree so I have been generating custom backgrounds that way through the interface.

    I guess I would mostly want to know how would other people tackle this issue, but also....is there a way to automatically create a template when a custom post type is created?

    Thanks in advance.


  2. Michael Beckwith
    Plugin Author

    Posted 3 years ago #

    Due to the fact that we can't predict what post type you're going to create, we can't really create a custom template either. This is also an issue because we have no idea what theme you're using anyway and anything we try to guess with will not match your theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Type UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic