Home Forums Plugin Support WP User Frontend Pro Address not showing

This topic is: resolved

This topic contains 7 replies, has 3 voices, and was last updated by  towhid 3 years, 9 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #69836

    Ganesh
    Member
    Post count: 51

    Hi there,

    I have used this line for getting ‘address' meta key in my post.
    ID, ‘address', true ); ?>

    I got this code line from your documentation file located here: http://docs.wedevs.com/showing-meta-fields-in-frontend/

    But I am getting only text ‘Array' in output field. Screenshot for the same is below
    screenshot

    Please let me know how to print that meta_key ‘address' in single post.

    I am using wp default theme and using only your plugin wpuf.

    Regards
    Ganesh

    #69885

    towhid
    Participant
    Post count: 4505

    Hello Ganesh,

    Please let me know are you getting the address field correctly after submitting a form?

    Thanks

    #69974

    Ganesh
    Member
    Post count: 51

    While submitting the form, it is working normal and saving data to DB. Update function also working properly.

    But in the output field I am getting only a text ‘Array'

    I have changed my code to:
    < ?php print_r( get_the_author_meta ('address'));?>

    Output is:
    Array ( [street_address] => Shop No : 10, First Floor [street_address2] => Saphalyam Complex, Palayam [city_name] => Thiruvananthapuram [state] => Kerala [zip] => 695033 [country_select] => IN )

    Please look in to this and give me a solution asap

    Regards

    #70038

    towhid
    Participant
    Post count: 4505

    Hello Ganesh,

    This array means it is an associative array. Associative array means – array under an array. That indicate the address is a meta key. street_address, city_name etc is under the address key. You must be know how to access the associative array value.

    Thanks

    #70079

    Ganesh
    Member
    Post count: 51

    Ehhhh…what you are saying man…I am not a developer. that's why I have purchased this plugin. Otherwise I could have hire a developer for implementing the functionality I required.

    Moreover, my issue is not about customizing the plugin. An inbuilt function is not working even I followed your documentation available in your website. You just tell me how can I print the address as same as the user entered in wpuf front end form.

    Not asking to customize ๐Ÿ™

    Regards

    #70089

    Ganesh
    Member
    Post count: 51

    Ok. Towhid

    I got a solution

    Thanks

    #70110

    Vickey
    Member
    Post count: 16

    I have the same problem, the collected address should simply display in the WP User data within the admin. I hope they figure this out in the next update or better document the set up for those of us who are not programmers.

    #70289

    towhid
    Participant
    Post count: 4505

    Hello Vickey,

    I will discuss about this part with our developer team. Hope they will implement this feature in our next release.

    Thanks

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

The topic ‘Address not showing’ is closed to new replies.