Forum Replies Created
-
AuthorPosts
-
Jamie
ParticipantThanks for trying….I just want to make sure I’m not guiding you in the wrong direction because in this case it really has nothing to do with the other plugin. All I am trying to do is pull the owner’s products. Your last code worked if I replaced “user_login” with “Sam”. The actual name of the user. Does that mean we are just using the wrong variable?
Jamie
ParticipantWpgeodirectory.com
Ps..I’m still being blocked from your website from failed login attempts.
Jamie
ParticipantOk, would you be able to get it done today?
Jamie
ParticipantShouldnt we really just be calling the origional author or user of the listing? This really has nothing to do with the directory other than the fact that the same user will have created both the directory listing and the product listing.
Jamie
ParticipantIt is actually placing the author name in the content area but not limiting the listings.
Jamie
ParticipantStill nothing. I cleared cache after setting the author. Im not sure what we could be missing??
Jamie
ParticipantOK,
I see that you are also correct in saying that that I am the author of everything
right now so I’m adding a few more author/user accounts.Thanks again for your work on this plugin and yoyour awesome support!
Jamie
ParticipantHe says:
If the vendor is the user ID and the user has claimed the listing or he submitted it directly, than the_author_meta(‘ID’) should be what you are looking for. If it’s not the ID the_author_meta args are:
user_login
user_pass
user_nicename
user_email
user_url
user_registered
user_activation_key
user_status
display_name
nickname
first_name
last_name
description
jabber
aim
yim
user_level
user_firstname
user_lastname
user_description
rich_editing
comment_shortcuts
admin_color
plugins_per_page
plugins_last_view
IDJamie
ParticipantSame result but now I see the debug in the lislisting.
Jamie
ParticipantI’m using this within a geodirectory listing. Should I be looking to call the owner of the directory listing.instead of the author?
Jamie
ParticipantI must be missing something. It is still pulling all of the listings. Each listing owned by a different user or vendor.
Jamie
ParticipantHi Ben,
Thanks for the quick reply! I have been trying and I have populated listings. Now I need to limit those listings to the owner of the directory listing, i’m assuming i want to limit to the author or owner of the listing. This is what i have so far, im just not sure how to finish it.
“echo do_shortcode(‘[wcv_products vendor=”org_author” per_page=1]’); ”
Thanks again!
Jamie
ParticipantHello!
I’m trying to do something similar without success..How can we call the listings of the author? or the original poster of the listing?
Thanks!
Jamie -
AuthorPosts