• Hello. I love this plugin! However I have a question I hope someone here any help me with.

    I made a group called Affiliates, it appears in the admin menus etc. I was able to call on the data inputted etc. All is good! However I am using the single.php file from my theme, I was wondering how to apply a specific page design only for the posts created by making an affiliate and not share the same single.php design. Is this at all possible?

    Here is what my TYPES affiliate group settings looks like
    screenshot

    https://www.ads-software.com/extend/plugins/types/

Viewing 1 replies (of 1 total)
  • Thread Starter Kevin Kwok

    (@queesy)

    Figured this out on my own. If anyone is wondering how to apply a custom template to your post Type here ya go.

    Displaying via Single Post Template
    Just as you can customize the way individual posts are displayed via a theme’s single.php file, you can customize the way your individual post type entries are displayed. The easiest way to do this is to create a duplicate of your theme’s single.php file and rename it to single-{posttypename}.php. From there, you can customize that file to your specs. Using the example from above, we would need a single post template named single-mysite_reviews.php.

    Hope this helps someone in the future. Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘Apply custom layout to all post types’ is closed to new replies.