WordPress.org

Ready to get started?Download WordPress

Forums

Get Custom Field Values
"The Loop" Where to find it? (2 posts)

  1. talitta
    Member
    Posted 2 years ago #

    Hi,

    First of all, big thank you for this plugin.

    Just one question though, I've no idea where to put the c2c_get_custom() code. The description says
    Use this inside "the loop" to retrieve a custom field value for a post", however i dont know where I can find the loop? I've looked through index.php etc but have no clue where to put this bit of code. I've also looked at the wordpress codex but still im clueless.

    It'd be very much appreciated if you could point me in the right direction. Thanks very much.

    Cheers,
    Talitta

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

  2. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 2 years ago #

    Hi Talitta,

    What are you trying to do with the plugin? Using a shortcode might be easier.

    Using the template tag (c2c_get_custom()) requires some familiarity with the theme you're modifying. The loop can be defined in multiple files, so it is dependent on how the theme is structured and what context you want to display the custom field data.

    Provide a little context for what you're trying to accomplish and I should be able to help steer you better.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic