Home Forums Plugin Support WP User Frontend Pro Showing fields in the theme

This topic is: resolved

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  Sk 4 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22301

    Bruno
    Member
    Post count: 12

    Hello!

    Using your indications < ?php echo get_post_meta( $post->ID, ‘address', true ); ?>
    how can I display on the frontend theme fields like: custom_taxonomies & HTML field.

    Thank you for your time.
    Hope to hear from you soon.

    All best.

    #22324

    Mahi
    Member
    Post count: 1555

    Hello Bruno,

    Not quite sure about your question. can you please elaborate more?

    #22345

    Bruno
    Member
    Post count: 12

    Hi Mahi, thanks for your feedback.

    When creating a form and including the form element HTML, on the section “Others”, it doesn't have the Meta Key value. How can I identify it on the template? i.e.: < ?php echo get_post_meta( $post->ID, ‘video', true ); ?>

    Hope to hear from you soon.

    All best.

    #22366

    Sk
    Moderator
    Post count: 371

    Hello Bruno,

    WPUF save all data in one meta “wpuf_form“.

    you could use

    <?php $form_meta = get_post_meta( $post->ID, ‘wpuf_form’, true ); ?>

    $form_meta will be an array. you could get the HTML value from it.

    Thank you.

    #22373

    Bruno
    Member
    Post count: 12

    Hi there!

    I've tried < ?php $form_meta = get_post_meta( $post->ID, ‘wpuf_form’, true ); print_r($form_meta)?>
    but nothing have been displaying on the front-end.

    I'm I doing anything wrong?

    Hope to hear from you soon.

    All best.

    #22382

    Sk
    Moderator
    Post count: 371

    Please check the $post->ID. Maybe you write the code where $post->ID is not the form ID. If this is so please input the ID manually. you could get the form id from it's short code

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Showing fields in the theme’ is closed to new replies.