Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Cliff Tam
Cliff Tam
2,948 Points

How to pre-set Wordpress settings for specific posts?

The WP site I am creating requires creating diff posts for diff categories.

What I like is that if someone chose to post under category A, i have a bunch of pre-set settings (tags, banner image etc) in that post.

If the person posts under category B, there will be a diff set of settings?

Does anyone know if there's a plugin that can do this? I can hack the php code if i have to but i prefer a plugin where it is easier to manage.

The closest plugin I can find is ACF.

Thanks!

Have you tried custom post types? Here is a plugin that works really well for custom post types.

https://wordpress.org/plugins/custom-post-type-ui/

1 Answer

Cliff Tam
Cliff Tam
2,948 Points

@Andy

Thanks. I tried the custom post type UI plugin. But I don't know how to set default categories for the post types I created.

Thanks, Cliff