Re: Using user data insted of ad data in displaying contact info
I think you didn't get what I wanted. In the ad placement and edit ad form I want to include the First name, Last name , nickname, phone no (additional field meta I plan to create in user profile just like user photo) the default values on the form to be fetched using get_userdata or something and when the form is submitted it should also update these user fields. And while displaying the owner information it should display from the user database and not from the post meta field as it is now. Now the owner and phone are post meta fields and gets updated in the post data. I want this to be updated in the user meta for the particular user. This way once the ad is submitted. He can go directly to edit any ad or profile and modify the details and all ads for the user will then by default show common user information. Or else for old ads it would be different from new ads. Ex if you update the name or phone now in post it can be different, If I have a lot of ads and my phone no changes its going to be difficult going to all my ads to modify the phone information. And if I dont do so Im going to loose a lot of leads when my phone no changes and I don't update. Using what I have proposed the moment you modify the profile for a user all user data for all ads for the user gets updated.