• 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)
  • 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.