• Hey everyone, just to start off, I am new at developing with WordPress and sorry for being longwinded in advance.

    Like I said before, I am new to WordPress, and I am still learning all the goodies it has to offer. I am creating a photography portfolio website for my wife. It is the first custom theme I have built. There are going to be 4 categories of galleries that my wife will post to the site. I want each category of galleries to have it’s own page. I created separate pages for photos of Weddings, Portraits, Events, and Nature.

    My question is Can I create just one Custom Post Type and is there a way to select what 1 of the 4 pages it will post to? or do I have to create 4 separate Custom post types and assign 1 to each of the 4 pages?

    Any help is greatly appreciated.

    Dan

Viewing 1 replies (of 1 total)
  • Hi Dan,
    if by page you mean a custom page template that you created, I’d suggest to just limit a page loop to the category you need to display there.
    something like
    if( ! in_category('my_category') ) continue;
    then you can have whatever post type you chose for all

Viewing 1 replies (of 1 total)
  • The topic ‘Use Custom Post types for gallery posts?’ is closed to new replies.