What is the listable add-on
The listable add-on combines WPSOLR search with the Listable theme. You can then speed up listing search with WPSOLR while using the theme search bar.
Install the Listable theme
Click on “Appearance” > “Themes” in the wordpress admin sidebar.
Click on “Add New”.
Click on “Upload Theme”
Drag the theme zip file and click on “Install Now”.
Then click on “Activate”.
You should see this screen pop up. Wait for it to charge completely.
Then click on the “Let’s get started” button.
Then click on the button to connect to pixelgrade. This is not a mandatory step but you will not be able to use starter content without completing the setup wizard.
Then install the plugins that the theme recommends.
There are some plugins that are needed for the website then some are just recommended. You can choose which plugins you needed.
Wait for the plugins to stop charging.
Then click on “Import starter content”.
The setup wizard is done.
Create a listing
Click on “Listings” in the WordPress admin sidebar.
Click on “Add New” at the top to create a new listing.
Enter a title for your listing.
Choose the categories for your listing. Here I am choosing the “Food” and “Café” categories.
Then fill in listing data. I filled in the location, the phone number and the company tagline.
Then add an image to your listing.
You can add multiple images but only the first one will be seen in the listing thumbnail.
Create a WPSOLR index
Click on “WPSOLR PRO” in the admin sidebar.
Then click on “Connect your indexes” in the menubar.
To connect to a search service click on the second button. If you want to create a free WPSOLR index click on the first one, but it will only last 2 hours.
Choose a search engine and a hosting service. Then select a language. Give your WPSOLR index and search engine index a name. Then enter the endpoint url you got from your hosting service. Leave the default number of shards and replicas if you don’t know how many to fill in. Then enter the user and password you got from the hosting service.
Activate the listable add-on
Click on “Activate themes” in the menubar.
Then select “Listable” in the sidebar.
Click on the first checkbox to activate the theme. If you want to be able to speed up listing search click on the second checkbox. If you want to cache your search results you can click on the third checkbox. But it is not necessary since this will store them in wordpress tables and WPSOLR already speeds up your search.
Configure WPSOLR
Click on “Define your search with ‘No index selected'” in the menubar.
Then click on the “Search” checkbox and then select the index that you created previously in the “Search with this search engine index”.
Then click on “Data” in the sidebar.
Select the content you want to search in. Select the taxonomies you want to use.
Then select the fields you want to use as well. When you’re done save you changes.
Index your content
Click on “Send you data” in the menubar.
Click on “index selected post types in index”.
Test website search
Head to the front part of the website and click on “Search”.
Then search for the new listing we created.
As you can see our new listing appears in search. The first image is used as a thumbnail.
If you click on the listing you will see the other images are displayed as well.