0

I'm struggling to get my head around the correct terminology for posts/templates etc which is making it difficult to find what I'm looking for in Google/on here.

Basically, I'd like a user to be able to select from a drop down in the new post page, and this will prepopulate the posts box with a "template" the author can then fill in.

For example, if they select "Review", it'll have a space for an image, some text, a link to something like Soundcloud, and then a Star rating at the bottom.

If they select "Top 50 albums", it'll populate with 50 boxes, all ready for the user to select album art, youtube link etc etc.

Is this something that natively exists in Wordpress? Is there a plug in for such functionality or can I write this from scratch?

Appreciate any help.

2
  • Hello Carl. What you want is obviously not in WordPress core (for me it is obvious). Plugin recommendation is off-topic in this site. And yes, you can write it from scratch but sincerely your question is too boar and it may require too much work to be posted in a answer. If you can break down into specific problems it could be easier to answer.
    – cybmeta
    Dec 15, 2014 at 9:10
  • While technically off-topic, the easy answer is Elliot Condon's excellent Advanced Custom Fields plug-in. I have used it with dozens of sites and it works wonderfully.
    – jdm2112
    Dec 15, 2014 at 16:29

1 Answer 1

0

I'd recommend Custom Post Types : http://codex.wordpress.org/Post_Types#Custom_Post_Types

You can add appropriate meta boxes to each post type : http://codex.wordpress.org/Function_Reference/add_meta_box

You can define specific front end templates for each post type : http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates

Instead of a dropdown, you would have distinct menu items for each "thing" ( Review, Albums, etc ).

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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