Forum Replies Created
Thanks 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?
Ps..I’m still being blocked from your website from failed login attempts.
Ok, would you be able to get it done today?
Shouldnt 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.
It is actually placing the author name in the content area but not limiting the listings.
Still nothing. I cleared cache after setting the author. Im not sure what we could be missing??
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!
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:
Same result but now I see the debug in the lislisting.
I’m using this within a geodirectory listing. Should I be looking to call the owner of the directory listing.instead of the author?
I must be missing something. It is still pulling all of the listings. Each listing owned by a different user or vendor.
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]’); ”
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?