extending wordpress search
-
hey there,
after days of not having a lucid moment on this i though maybe you can help.
i’m trying to extrend my wordpress search results page. when searching it should first show the fitting posts from my blog and then search an api to find more relevant stuff there and display these results as well.
this is working fine so far. but the bad thing is of course these external search results don’t come out of the loop and so they are not splitted on several result pages.
how can i get these results to be shown just like normal posts without adding them to the database? could i maybe add them somehow in the $posts variable or add them to the search results already in query php? how can i generally show “virtual posts” in the loop?
- The topic ‘extending wordpress search’ is closed to new replies.