Title: Custom loop and Query question
Last modified: August 31, 2016

---

# Custom loop and Query question

 *  [Vince_M](https://wordpress.org/support/users/vince_m/)
 * (@vince_m)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-loop-and-query-question/)
 * I have a sports site where the client wants something specific. We have player
   profiles, news, results. Everything is custom posts. The client wants to have
   whenever a athlete name is in news or results they want it to show up under the
   athlete profile.
 * Not sure how to do this with a loop and query. Or if there is another way to 
   do this?
 * Any help is greatly appreciated.
 * Thanks,
    Vince

Viewing 1 replies (of 1 total)

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-loop-and-query-question/#post-7235472)
 * The idea is to get the name of athlete (content title) from athlete content type
   single page, and then use that as a search term to be used in our custom **WP_Query**(
   the search parameter is `s`), and make our loop display the result in lists.
 * The idea is untested but I think it’s viable.

Viewing 1 replies (of 1 total)

The topic ‘Custom loop and Query question’ is closed to new replies.

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [query](https://wordpress.org/support/topic-tag/query/)

 * 1 reply
 * 2 participants
 * Last reply from: [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/custom-loop-and-query-question/#post-7235472)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
