Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Using the Advanced custom fields plugin:

1) I want to post to the ACF and use a category just like a regular blog post, but the URL would be: mysite.com/customPost/category/post-name

Is this possible? And how can I do it?

2) Can I add a custom page template to each category page?

share|improve this question

1 Answer 1

For #1, I think what you're looking to do is add Custom Post Types and Custom Taxonomies, which isn't possible via Advanced Custom Fields alone. Custom taxonomies are your own versions of either categories or tags.

If you want to use a plugin to create the post types and taxonomies, you could use something like Custom Post Type UI. That would get you where you need to go with the URLs.

For #2, yes, you can have custom templates for each category (aka taxonomy) archive page. You could use taxonomy-your-category-name.php to achieve that. See the full hierarchy list for more details.

You could use these in conjunction with ACF, as well.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.