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

  1. Josh Carr
    Posted 3 years ago #


    I'm using this plugin in combination with 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?


  2. Josh Carr
    Posted 3 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