• Resolved wireinet

    (@wireinet)


    HellO! This is amazing – GLOBAL plugin! Love all features!
    But i started to learn pods and little confusing – how to simple get custom field in frontend.
    in screenshot – i create a field youtube (simple to have ability enter channel in admin panel) – but cant undersatanŠ² how to get field value in my frontend (second screenshot)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jim True

    (@jimtrue)

    get_post_meta($id,'field_name') << this is the WordPress Method

    [pods field="field-name"] if you’re in the actual post.

    You didn’t include any screenshots.

    Typically, if you’re brand new to Pods and don’t know PHP or Code, the best way to figure out how to display on the front-end is with our Grow Beyond Video:
    https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/

    Thread Starter wireinet

    (@wireinet)

    Hello and thanks Jim! I will try this feature again. I found this in the documentation early on, but I couldn’t get it out. Maybe that’s not how I use $id? in this argument I have set up the pod id.All I need in a particular case – is to display a page with custom fields and substitute the values in your code, as you have the best solution that I have seen. Even without reading the documentation, I was able to create a custom field in a couple of seconds, bring it to a new settings page. All I have left is to get the value of this field for my cat.

    https://yadi.sk/i/7lKmfjMWhpXG8w
    https://yadi.sk/i/mTD368ZCrULn-A

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get field’ is closed to new replies.