Forums

Custom fields outside the_loop (3 posts)

  1. LiZharD
    Member
    Posted 4 years ago #

    It is possible retrieve the value of a custom field outside the loop and place that in the sidebar?

  2. yas
    Member
    Posted 4 years ago #

    Not without querying the DB. The easiest way to do that is to write a function yourself using the global $wpdb to get the info from the post_meta table.

  3. Monkeyboy
    Member
    Posted 4 years ago #

    Try this plugin. It works like a charm...

    http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.