• I am using this code to retrieve custom field values and they are not being retrieved:
    echo get_post_meta($post->ID, ‘quote’, true);

    Is there anything special about how to do this? It am using this method successfully on other sites.

    Thanks in advance for the help.

Viewing 1 replies (of 1 total)
  • The syntax you showed will work inside the Loop where the $post object is available. If you want to use it outside the Loop, you will need to supply the ID differently.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field Retrieval’ is closed to new replies.