Custom search module / page

I’m using the pro theme and I want to have a search results page that includes custom content types. However we are having trouble getting the results to display correctly

https://dentalhub360.com/home-page/

When you enter a search in the results, this is what we have so far. However, we want to show the featured images but so far have not been able to have them display using a custom page template: https://dentalhub360.com/?s=star&post_type=ultimate-auction

Hey @eagleseye,

It does not have a featured image because it does not use WordPress featured image.

It is also powered by a third party plugin. Regretfully, we cannot provide support for third party plugins and customizations due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

Hi @christian_y

basically I just need to recreate regular wordpress “search.php” template but using x theme…

my question actually is… what can I do to replicate theme’s one… and customize my “custom-search.php” one?

I’m just a little confused with the framework code… so maybe there is sample I can use?

thanks!

Hello There,

To accomplish what you have in mind in creating a custom search page, you can check out this thread: https://theme.co/apex/forum/t/restrict-search-results-to-custom-post-type/24958/11

Hope this helps.

so we have the custom search module working, however, it doesn’t seem to be pulling the “Global header”. Instead we get a “Create Menu” item where it should be the regular menu.

Any thoughts? Did we miss some code?

Here’s a link: https://dentalhub360.com/?s=star&post_type=ultimate-auction

Also, here is a page that has what the header should look like (global header) https://dentalhub360.com/home-page

Hey There,

Did you use any plugin that swaps the menu? ​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password
​
Thank you.

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