Tagged Questions
0
votes
0answers
27 views
Reduce number of SQL queries inside WP_Query loop to fetch author data
This question applies to scale and does not concern typical blog implementations. I'm working on a web app where I'm running standard WP_Query to fetch some custom post types. This usually results in ...
0
votes
1answer
55 views
How 'secure' are loops?
I am using loops as means of displaying personal meta and customer information on the frontend.
For example, I have a page which displays a user's 'profile' information to edit. Their profile is ...
-2
votes
1answer
100 views
Get all user with both meta_value
I was wondering if there were any efficient way of fetching all user comparing two different meta_key. I am currently fetching all user compared to the first meta, then loop trough the user_id to ...
1
vote
1answer
2k views
Getting all user metadata from user
I am trying to show bio and other custom metadata for my users in a page. So, i want to query the user metadata table for it. I have tried but did not find any functions for that.
What i am looking ...
1
vote
1answer
487 views
How to display specific posts with WP_Query?
I need some help with displaying some specific WordPress posts.
User's on my site can click on an 'Add to favorite' link which will then store that post ID in the user_meta table for that user as an ...