SearchWP News

View plugin news, catch up on recent releases, and find out what's coming to SearchWP!

SearchWP’s integration Extension for WP Job Manager has been updated to version 1.5.8. It brings an important compatibility update which is recommended for all SearchWP license holders.

Full changelog:

  • [Fix] Compatibility fix for WP Job Manager
  • [Update] Updated updater

SearchWP version 2.8.8 is now available to all active license holders. It is a recommended update with a number of bug fixes and some other improvements that will positively affect how SearchWP runs for you.

Full changelog:

  • [New] New filter searchwp_pre_set_post allowing for filtration of each post object prior to indexing
  • [Fix] Better interoperation with Widgets
  • [Fix] Prevent double search logs in certain cases
  • [Fix] Properly cancel native search SQL when performing admin search (props Jim)
  • [Fix] Repaired application of ‘Remove all traces’ feature on Advanced settings page
  • [Fix] Fixed an issue where incorrect total results counts were logged
  • [Improvement] PHP Warning cleanup
  • [Improvement] Better accommodation for customization during import routines
  • [Improvement] Better accommodation of engine configuration and exclusions when performing AND logic pass
  • [Change] Update to SWP_Query: post__in and post__not_in parameters are now explicit (previously behaved like hooks)
  • [Update] Updated updater

A new Pro Extension has been released: Related. You can now use SearchWP to power a related content system on your site!

SearchWP knows a lot about the content on your site. Showing visitors related content can help extend their stay by exposing entries related to the one currently on display. If you’re currently using another related content solution, this extension can also lighten the load on your server by reducing the overhead of maintaining a separate related content index, or running heavy database queries at runtime.

Like SearchWP itself and its other extensions, Related was built with developers in mind. It’s as much a customizable system as it is a turnkey solution.

By default Related doesn’t do anything, but you can opt in to having Related automatically append related entries (per post type) on its settings screen (accessed via the Extensions dropdown on the SearchWP settings screen):

Once that’s in place, Related will show up to 3 related entries to the current entry:

Related ships with an auto append default template designed to fit in well with your theme, but that’s not enough. There is a full template loader built in, allowing you to easily completely customize the look and feel of your related content.

The template loader is great because it allows you to completely specify the markup and style used for your Related content without having to muck with hooks or dequeueing assets or behavior that’s getting in your way.

If auto appending isn’t your style, you can programmatically utilize Related to find related content, and do what you want with it! It’s as easy as:

<?php
/*
* Programmatically find Related content from SearchWP Related
*/
$args = array(
's' => 'coffee', // keywords (space separated) to use when finding Related content
'engine' => 'default', // the SearchWP engine to use
'posts_per_page' => 3, // how many entries to find
);
// Instantiate SearchWP Related
$searchwp_related = new SearchWP_Related();
// Retrieve Related content for the current post
$related_content = $searchwp_related->get( $args );
// Returns an array of Post objects for you to loop through
print_r( $related_content );
view raw functions.php hosted with ❤ by GitHub

The last bit of detail that comes to working with related content is specifying how that related content is found. SearchWP is a powerful, keyword based search index for your WordPress site. A keyword-based system for finding related content makes perfect sense. When editing entries on your site, you can easily define what keywords are used to find Related content:

By default, Related will build a fallback set of keywords to use based on the title of your entries. This saves you some time when first activating Related, so you don’t have to edit every single entry on your site to determine a keyword set to use. Keywords can be updated at any time.

Related is a powerful related content solution, making use of SearchWP’s optimized index to find related content in real time without over-utilizing your server. Enjoy!

WooCommerce Integration 1.1.12 has just been released and is a recommended update for all active license holders. This is a quick bugfix release that resolves an issue concerning WooCommerce Layered Navigation Widgets in WooCommerce 3.0.

Full changelog:

  • [Fix] Fixed an issue that may have prevented proper results from showing when using WooCommerce Layered Navigation Widgets

WooCommerce Integration has been updated to version 1.1.11 and is a recommended update for all active license holders. It’s a maintenance release that includes fixes for Product visibility settings and other small improvements.

Full changelog:

  • [New] New filter searchwp_woocommerce_forced to force WooCommerce Integration to apply
  • [Improved] Better consideration of product visibility
  • [Improved] Better handling of redundant filter calls
  • [Update] Updated updater

SearchWP Live Ajax Search version 1.2.0 has been made available. This is primarily an organizational release but it also fixes a couple of small bugs. It’s a recommended update for all extension users and is available for everyone: https://searchwp.com/extensions/live-search

Full changelog:

  • Reworked build process to be more straightforward
  • Support script debugging (props mgratch)
  • Remove form action requirement to better integrate with other code (props mgratch)
  • Fixed an issue that prevented search from firing when re-entered too fast (props pierrestoffe)

Version 2.8.7 Now Available

February 14, 2017 in

SearchWP version 2.8.7 is now available to all active license holders with a few quick fixes, improvements, and an improved updater library. Full changelog:

2.8.7

  • [Fix] Fixed missing tooltip content
  • [Improvement] Using searchwp_admin_bar now applies to search modification notices
  • [Improvement] License key now included in System Information
  • [New] Taxonomy term slugs are now indexed (use searchwp_indexer_taxonomy_term_index_slug to disable)
  • [New] New filter searchwp_indexer_taxonomy_term allowing for filtration on taxonomy terms prior to indexing
  • [Update] Updated updater

This update is recommended for all active license holders, have a great day!

Fix Search on Your Site. No Coding Required!

Now you can utilize all of the content that's gone unrecognized by native WordPress search instantly with SearchWP

Get SearchWP