Query if custom field value equals a current user value
-
As a result of the way we are creating posts, some will have a related user attached as a custom field value of that user’s WP username.
I’m trying to create a loop, to be dropped into a page, that queries for all posts where the custom field value equals that of the currently logged in username.
I’m at a loss as to how, or if its even possible, to ask WP to search for and compare these two variables.
All help is very gratefully received.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query if custom field value equals a current user value’ is closed to new replies.