customization – Sort Search Results in Order of/by Character @ count (9) of post(s) title. (Ocean-WP theme)

Question

I’d like to order Search Results by the 9th character of Post title.

Example) Search Results Page:

Current Order:

123456 – B Post Title;

678901 – A Post Title;

789101 – C Post Title;

891011 – 1 Post Title;

to new Order:

891011 – 1 Post Title;

678901 – A Post Title;

123456 – B Post Title;

789910 – C Post Title;

Essentially, ignoring all first 8 characters from the left, and sorting results from the 9th character and onwards.

I’m currently using OceanWP Theme, if this is any help.
(Search Results page lists post titles without hyperlink(s) (not clickable) or without redirecting to selected post page. It simply displays post title search results as a simple list.)

Help and assistance would be greatly appreciated, and much thanks in advance.

0
Crypto 2 weeks 2022-09-08T22:17:19-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse