Navbar not searching correct pages 2

Hi,

I am having an issue with my navbar not having the correct pages on the search results pages.

Is their anyway i can change/ customise the search results pages to ensure the correct pages are coming up when i search for a phrase?

For example when “Contact us” is searched i want only the contact us page to come up.

I had a response previously saying the below "You can take a look at following tutorial for make changes in search:

https://www.daddydesign.com/wordpress/how-to-search-only-posts-or-pages-in-wordpress/1"

However, this still hasnt answered my message unfortunately as i need the portfolio pages to show also? Not just Posts or pages.

I need pages & portfolios (in X theme) to show, is this possible?

Thank you!

Hey @Greenhalgh,

The search form in the navbar is just an interface. What’s behind its search function is WordPress’ search engine and it is a simple search engine only. If you want a more powerful search engine, you will need a plugin like SearchWP.

Thanks.

So to change the results pages that come up, for example the contact us page to come up when i search contact us, i cannot change any of the coding i have to get a plugin to do this? As i would have thought this would have been simple anyway as it should be the only page that should come up anyway.

thanks

Hi,

It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

Thanks for understanding. Take care!

How do i contact a developer to assist me with this then?

Thanks

Hi there,

You might be able to get help from a developer through the Facebook group X Theme | Pro Theme Users.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.