WordPress.org

Ready to get started?Download WordPress

Forums

Get Custom Field Values
[resolved] Widget won't display the data for current post (2 posts)

  1. Josh Carr
    Member
    Posted 2 years ago #

    http://worshipdatabase.com/matt-redman/blessed-be-your-name/

    I'm using this plugin in combination with Custom Field Template:

    http://wordpress.org/extend/plugins/custom-field-template/

    I've added a sidebar to the single.php template so that I can display the custom fields in a widgetized format.

    I think the problem I'm having is with the widgets... they won't display data when I set the Post ID to 0 in the widget. If I leave that blank, it shows me all of the data from every single post.

    I only want to show the data from custom fields that are actually in the current post. I thought that was done with 0 in the Post ID field. Am I doing it wrong?

    http://wordpress.org/extend/plugins/get-custom-field-values/

  2. Josh Carr
    Member
    Posted 2 years ago #

    Bumping to resolved. I noticed that I wasn't using upper versus lower case in the widget. Obviously, the widget needs to call the key exactly as it's originally named.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic