This topic contains 7 reply and 3 voices, and was last updated by towhid 4 years ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
August 31, 2015 at 7:42 pm 69836
towhid 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
September 1, 2015 at 11:18 am 69885
towhid towhid

Hello Ganesh,

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

Thanks

September 1, 2015 at 2:31 pm 69974
Ganesh Ganesh

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

September 1, 2015 at 6:12 pm 70038
towhid towhid

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

September 1, 2015 at 7:59 pm 70079
Ganesh Ganesh

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

September 1, 2015 at 10:00 pm 70089
Ganesh Ganesh

Ok. Towhid

I got a solution

Thanks

September 2, 2015 at 2:10 am 70110
Vickey Vickey

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.

September 3, 2015 at 2:54 pm 70289
towhid towhid

Hello Vickey,

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

Thanks

Viewing 7 Posts - 1 through 7 (of 7 total)