WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
I need a label / value type custom field... ideas? (3 posts)

  1. oakley56fila
    Member
    Posted 2 years ago #

    I need a custom field type that will allow me to define a long list of definitions which can each have unique values per post. For example, I would like a post type that displays Bathrooms, Bedrooms, Sinks as options for each post that will then allow me to define a number associated with each.

    Thoughts?

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. oakley56fila
    Member
    Posted 2 years ago #

    Well now, I believe I have discovered what I was looking for just by messing around with it.

    But that discovery leads me to another question. Is there a way to search based on these fields? I believe what I'm after is consider a multidimensional search. For example, I need users to be able to search for all properties that have 2 or more bedrooms and 1 or more bathrooms.

  3. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    I think what you originally asked about is what is slated for 0.9.7: http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=392

    It emulates a JOIN table... sorta makes the data model more complicated, but VERY flexible. I just did a custom field for a client and I realized that this would very cool to re-package and release as a new custom field type.

    You can edit search parameters for any relation field -- there is a button there to do that. Just enter in the parameters and poof: you got a multi-dimensional search at your fingertips. If you don't see what you want to in the GUI, you can customize the form beyond what's in the GUI, but I haven't done much documentation for that yet (sigh). But this page might get you there: http://code.google.com/p/wordpress-custom-content-type-manager/wiki/Config_post_selector_relation

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic