WP search function not picking up on numbers?

Hi all!

My client has a lot of PDF files on their site, which are all named in the format NUMBER – KEYWORD, i.e. a file could be “55 – Pond fishing”. The files are then linked as embedded text, and the text is the exact same as the file names.

However, when using WP’s standard search bar, it doesn’t pick up on the numbers. Searching for numbers makes other pages show up in the result, but not the ones where I know that 55 is.

The client specifically wants to be able to search by the numbers, so what is going wrong here?

I’m using DIVI as a theme, if that matters.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer