Support » Plugins and Hacks » displaying content from custom fields

displaying content from custom fields

  • There are 2 different threads hereabouts asking for help displaying or using values from custom fields in Query Posts loops. Both have been closed with no response.

    There is a meta_key box in the Query Posts interface, where I can select the key that I want, but no way that I can see to output the value.


Viewing 5 replies - 1 through 5 (of 5 total)
  • me too!

    Bill, I have since come up with a better way to manage custom fields. This plugin is the solution:

    It does several things:

    • you have your custom fields well labeled in your edit-post screen (in the admin), so its much easier to remember what each one does.
    • The plugins’ documentation is very helpful in regard to the many ways to display or query custom fields.
    • It lets you assign certain groups of custom fields to particular pages or taxonomies

    I like this plugin so much that I even paid for the premium Repeater Field addon.

    p.s. I’m noticing that my original post was on how to query for custom fields within the Query Posts plugin.. Now I see that I did not solve that problem. I’m not using Query Posts in this solution.

    Instead I write my own loop in the theme, and query the fields with typical php.

    Thanks photocurio! I am also aware that that plugin is popular among developers I know.

    My problem is a bit different than yours. I am trying to assign a taxonomy (ideally the same categories used for posts)to Custom Post Types then filter and display those types with the custom post types plugin based on that taxonomy. Any ideas?

    Well, I know the Custom Post Type UI plugin makes it easy to make custom post types and taxonomies. I don’t know if the Query Posts plugin can get a custom taxonomy or not.

    Are you building your site only in the admin, with plugins, or are you making a theme or child theme also? If you are making theme, it can be very useful to write those loop queries yourself. You can do lots of stuff that’s outside the scope of Query Posts. But Query Posts loops can be modified from the admin, so both methods have their place.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘displaying content from custom fields’ is closed to new replies.