Skip Navigation

[Resolved] How to apply content template to WordPress default search archive results

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 12 replies, has 2 voices.

Last updated by Shane 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1114528

Tell us what you are trying to do?
I am trying to style or apply a content template to my site's default WordPress search results archive page.

When a value is entered into the site's search box I would like to be able to apply a content template and perhaps view filters to the search results archive page.

Is there any documentation that you are following?
I haven't found any.

Is there a similar example that we can see?
I have not seen any similar examples.

What is the link to your site?
hidden link. The site is currently under construction.

#1115084

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-09-25 at 9.34.38 AM.png

Hi Andrew,

Thank you for contacting our support forum.

Since the search results page is actually an archive, you will need to create a custom archive with views to do this. See Screenshot

Please let me know if this was able to help you.

Thanks,
Shane

#1115122

Hi Shane,

Thank-you for your reply. I understand and appreciate everything you have written. My issue is the following:

I cannot get the default divi search box / module to connect to the new toolset wordpress archive that I have created. Do you have any tips for making that connection?

More specifically I want to type into the Divi Search Box and have the outcome be displayed as the same design as my Toolset WordPress Archive Content Template. So far I have not been able to connect the default search field / box to the Toolset WordPress Archive Content Template.

I hope you can help me with this specific question.

Thanks

#1115203

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

I tested this on a local copy of divi that I have and it seems to work fine.

Could you allow me to have access to your site so that i can check on this one for you ?

The private fields have been enabled for your next response.

Thanks,
Shane

#1115220

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

I tried checking on this for you, however the account that you provided wasn't an admin account so I can't check on the archive for this.

Could you update the role of the user to admin ?

Thanks,
Shane

#1115224

Hi Shane,

Sorry about that - it has been updated to an admin account. I would really appreciate a quick look as I have a deadline on this. Thanks so much,
Andrew

#1115573

Is there a way to get faster turn-around on responses?

I would really appreciate support from anyone. It doesn't have to be Shane. I'll accept help from everyone. I'm pretty certain if someone were to login and check what is happening they would be able to figure out what I am doing wrong or see the error that is stopping the WordPress Search Archive from working.

Thanks

#1115741

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

I'm here now, i'll try to resolve this as quickly as possible.

Thanks,
Shane

#1115746

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

I checked this and it actually works fine, so i'm not sure what the issue is.

Is it that you're not sure how to make the posts display ? The custom archive for the search is applied correctly so there isn't an issue there.

Please let me know.

Thanks,
Shane

#1116307

Shane,

Thanks for checking.

Please try a ?s= search with the WPSOLR plugin activated and then try it again with WPSOLR plugin deactivated. Somewhere this plugin conflicts with Toolset Views such that the formating of archive search results with ?s= searches is not applied.

Can you please recheck? The site is fully backed up and I give you permission to activate the WPSOLR and Toolset Views and other plugins as you see fit.

I have also some debugging plugins so you can take a closer look.

Thanks,
Andrew

#1116622

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

It could be that this plugin is overwriting our views settings for the custom archive.

Is this a plugin that is needed to be constantly active?

#1117065

Yes it does need to be constantly active because it is the index of our search and the search processing is done on an external server. It is useful for high volume sites.

#1117301

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

I Would need to report this to our team if a fix is to be found.

Could you provide me with a copy of the plugin ?

Thanks,
Shane