I have posts of two different categories that I can't easily relate. categories are: instructors and class categories (like aerobic, weights etc.) I would like to tie instructors to class posts NOT class types.

Ideally from the post edit screen, I would like a dropdown of all instructors available from the class postings and then be able to select an instructor.

Here is the class listing page http://howlingwolfmedia.com/site3/classes/classlist/ You can also see the instructor's listed under > classes > instructors I'd like the selected name to then show in the 'instructor' column.

code for the classlist table: http://pastebin.com/tNScDVxW

class postings fall under child cat 5-10 of parent cat id: 4 instructors cat id: 4 these are standard (not custom) post types

This must in some way alter the admin part of the site and I'm not familiar with coding for that... nor am I well versed in mysql coding etc.

  • Try looking for Advanced Custom Field WordPress Plugin
    – Shazzad
    Jan 28, 2014 at 19:21
  • Before I go down a rabbit's hole here... would this plugin work with existing standard posts or do they need to be custom post types. The site's already created and the cross ref would need to apply to standard (NON custom) post types currently using categorization.
    – lberelson
    Jan 29, 2014 at 20:30
  • Yes, it support default post type and it's free of cost.
    – Shazzad
    Jan 29, 2014 at 20:52
  • OK. I'll look into it. BTW what specifically should i search for if i want to install directly from console. 'Advanced custom fields' pulled 500+ results. Is it ElliottCondon Advanced Custom Fields 4.3.4? Also I'm using latest WP 3.8... is it compatible?
    – lberelson
    Jan 29, 2014 at 22:38
  • So far the plugin ref'd above looks promising. Just gotta figure out how to hook the field group to the post. Maybe custom coding is needed b/c i applied the rule but as of now... all i see on the post is label 'custom fields' with name 'select' and value... not the field i created. Still reading.
    – lberelson
    Jan 31, 2014 at 13:56

1 Answer 1


OK!! I found the solution on this page: http://www.advancedcustomfields.com/resources/field-types/relationship/ using Basic loop without setup_postdata worked like a dream!! GREAT PLUGIN!! Will review for others. Great documentation and geared towards the less than hard core developers. Thanks Shazzad for the referral!

Your Answer

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

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