Home Forums Plugin Support WP User Frontend Pro Displaying Hidden field in post

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Kira 5 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18536

    Kira
    Member
    Post count: 10

    Hi I have created a form for users to fill out that has a hidden field in it. How can I display this hidden field at the top of the post near the title?

    #18568

    Tareq Hasan
    Keymaster
    Post count: 2831

    You've to edit your theme to do that. Also take a look at here http://docs.wedevs.com/showing-meta-fields-in-frontend/

    #18628

    Kira
    Member
    Post count: 10

    I already tried that and it displayed “Array” on the front end.

    #18835

    David
    Member
    Post count: 7

    Kira, can you post the code you're using to display the “Array” that should help so that we can provide a bit better help to you!

    #19124

    Kira
    Member
    Post count: 10

    I am using the exact code in the documentation
    <?php echo get_post_meta( $post->ID, 'address', true ); ?>

    It is now displaying any other fields from the form but bot the hidden field I need.

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

The topic ‘Displaying Hidden field in post’ is closed to new replies.