0

As follows, I'm taking a feed from my wordpress blog site.

https://www.sitename.com/blog/feed?s=KEYWORD

The results are coming, but the sort is not what I want. Currently sorted by last added date. If you are passing KEYWORD anywhere in the post, it shows on top by deadline.

I want, first, look inside the title. If there is a KEYWORD in the title, this post should come first. Then sorted by date.

Can you help me with this? Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.