Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to create a template for a custom post type in a Genesis child theme
Tagged: Custom Post Type
- This topic has 6 replies, 4 voices, and was last updated 10 years, 11 months ago by
anotherusername.
-
AuthorPosts
-
December 9, 2014 at 12:09 pm #134099
Jason Weber
MemberHey all! While quite familiar with WordPress, I'm not too great with PHP.
I've created a custom post type, "Prosecutors", using https://wordpress.org/plugins/types/, in a site where I'm running Parallax Pro.
When adding a new post type, however, I would like for there to be a template. For instance, I would like for the author of the post type to just fill in the necessary fields; I want 'em all to look basically the same.
So I'd like fields, for instance, like:
Prosecutor:
Image: (upload an image)
County:
State:
Cases involving misconduct:
History of bar admonitions:And then all the author of the new custom post type would have to do is fill in the fields, and the page is made.
I'm willing to use a premium plugin if necessary.
I believe it involves adding meta boxes, but I'm unsure.
Any guidance in this regard would be greatly appreciated!
Thanks!
https://nationalcdp.org/December 9, 2014 at 1:26 pm #134103DTHkelly
MemberSome reference
Single and Archive templates for Custom Post Type in Genesis
December 9, 2014 at 8:20 pm #134118Brad Dalton
ParticipantYou can do that with Types but would be best to ask them for support.
Or you could use another plugin like ACF.
December 9, 2014 at 8:52 pm #134120Jason Weber
MemberHey, thanks Kelly and Brad!
Kelly, yes, Sridhar does a wonderful job with his Genesis tutorials, and I read just about all of his articles.
Brad: Excellent recommendation. Advanced Custom Fields + a Custom Post Type creating plugin could be a great solution.
Ultimately, I went with a premium plugin that cost me $30 for a single site, but I bought the multi-site license (2-5 sites) of Pippin's Easy Content Type -- which, from what I can tell, pretty much does what ACF does ... hehe.
Thanks for taking the time to respond!
December 9, 2014 at 8:53 pm #134121Jason Weber
MemberOh, you're BRAD Brad! lol
I read a lot of your articles, too, Brad ... which always come in handy, just like Sridhar's articles.
Thank you for maintaining a wonderful Genesis-related website!
December 9, 2014 at 10:57 pm #134129Brad Dalton
ParticipantDecember 10, 2014 at 1:27 am #134134anotherusername
ParticipantJason:
Thanks for the tip about the Pippin’s Easy Content Type plugin. Looks pretty good. Seems like it is a pretty cost effective plugin since you basically get the same features as the Advanced Custom Fields pro plugin (plus the custom post types and custom post taxonomies).
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.