Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-07-30 17:39:54

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

WordPress search tip

One of the great new tools in 1.2.2 is the search tool that can search albums and the blog.
When I was using the default search widget in WordPress, the search did not return tagged content. I discovered that this was by design in the WP widget so I installed a plug-in 'Relevanssi' that works like a dream with the 1.2.2 search tool. It pulls back content and highlights text strings in the blog posts. This plug-in will search topic tags and content and comes with all manner of parameters that can be set.
As is my want, I am leaving most at default settings and it works me.


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#2 2017-07-31 13:36:23

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: WordPress search tip

I've not heard of that one before. I'll need to give it a look. Thanks!


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2018-03-25 03:53:19

grover_c
Member
Registered: 2016-12-10
Posts: 117

Re: WordPress search tip

Prior to installing Relevanssi I was getting no search results when using the Backlight  "Search Blog" for terms that I know existed in the blog.
After installing Relevanssi, which seems to work great directly from the blog itself, I get a 404 error when using the Backlight "Search Blog". 

I'm using the latest versions of Blacklight, Wordpress and the Relevanssi.  Any ideas?

Thanks,
bret

Offline

#4 2018-03-27 01:23:39

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: WordPress search tip

Hi Bret
I'll check my settings later. Unable to do so at present but my site is returning results from both Blog and Albums.
Regards

Last edited by tomowensphoto (2018-03-27 01:23:59)


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#5 2018-03-27 04:08:28

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: WordPress search tip

I just installed Relevanssi in WordPress on my test site. I didn't change any settings, just indexed the blog. Things are working fine for me. I can search the blog from the Backlight "Search Blog" link in the image search results page and I can use the WordPress search widget on the blog.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2018-03-27 04:35:53

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: WordPress search tip

I've just been in checking my settings and all is working fine and I'm using default settings out of the box


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#7 2018-03-27 10:04:17

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: WordPress search tip

I don't know whether it would help to know this, but there's no magic in the search handoff feature. Just a little bit of Javascript to get the contents of the search form and build a search URL. Wordpress takes a URL query, "?s=keyword" to run search. All the Search Blog link does is build a link such as:

http://yourblog.com/?s=keyword

... then follows that link over to Wordpress to display the result.

If Relevanssi includes options that mess with the query structure -- ?s=keyword -- then that might be the problem. Otherwise, I should think it would work just fine as is.


Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2018-03-28 01:35:20

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: WordPress search tip

It looks like the keyword doesn't make it to the blog search: "http://www.bretculp.com/bret-culp-photography-blog/?s="


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#9 2018-03-28 20:59:32

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: WordPress search tip

I'm a little confused. You seem to be running Okapi, which does not include the search handoff feature. So I'm not entirely sure how you've managed to get the "Search Blog" button on the search page, but there it is. You've discovered some combination of things that we did not intend. Upgrade your templates to use Pangolin, and you should be right.


Matt

The Turning Gate, http://theturninggate.net

Offline

#10 2018-04-09 03:58:27

grover_c
Member
Registered: 2016-12-10
Posts: 117

Re: WordPress search tip

Thanks, All. 

I have no idea how I got the Search Blog button onto the search page while still using Okapi.  It's certainly not anything I did intentionally. Will upgrading to Pangolin require a major css rejig if I want my site to look like it does now or is it completely backward compatible?

Thanks again,
bret

Offline

#11 2018-04-09 04:10:15

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: WordPress search tip

Will upgrading to Pangolin require a major css rejig if I want my site to look like it does now or is it completely backward compatible?

you may need to change some selectors


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2018-04-09 04:11:26

grover_c
Member
Registered: 2016-12-10
Posts: 117

Re: WordPress search tip

Thanks.  What is the best way to update from my existing templates?

Offline

#13 2018-04-09 04:29:29

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: WordPress search tip

If updating from Okapi to Pangolin, you'll need to create new Pangolin page templates. The best way I found was to look at the Okapi template settings (colors, widths, etc) and either write them down or print out the designer page. Then find the corresponding settings in a new Pangolin page template.
Not all of your Okapi settings will apply to Pangolin as the page structure has changed somewhat.
This will be all manually; there is no updating an existing Okapi template to a new Pangolin template.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2018-04-09 04:30:47

grover_c
Member
Registered: 2016-12-10
Posts: 117

Re: WordPress search tip

Got it.  Thanks, Ron.

Offline

#15 2018-04-09 06:52:15

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: WordPress search tip

wink


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB