Skip to content

Commit

Permalink
Version 2.5.0 (#310)
Browse files Browse the repository at this point in the history
* pass indices to filter for better watcher customization (#270)

* provide a filter for our locate template method to provide a custom server path to templates (#269)

* fresh update of our icon branch (#302)

* Feature/243 term user meta watching (#272)

* we accept 4 params but pass 3. Just aligning details

* add term meta watching ability with empty default

* add user meta watching ability with empty default

* update version number from NEXT

* update and clarify Autocomplete settings (#307)

* Update and confirm extra styles we ship with out of box. (#309)

* touch up range input based on more recent version of Algolia CSS

* more general updates to our CSS. Covers the rest of what is being found as included for default templates

* Feature/178 pro settings (#303)

* load new class files for menu sections

* instantiate our new admin pages

* new partials that show our "blurred out" settings

* update references from premium to pro

* add "(Pro)" wording to admin menu items.

* linting PHPDoc complaint fixing

* Feature/224 screenshot updates (#308)

* update screenshot list

* update screenshots

* update version and add action hook to hit template (#305)

* update version and add action hook to hit template

* add autocomplete template hook

* rename the instantsearch hook name

* update autocomplete template version number

* underscores instead of dashes, fix prefix to match elsewhere in the plugin

* bump version number and tested up to version

* update current changelog

* trim down legacy changelog

* Revert "trim down legacy changelog"

This reverts commit 63d93a3.

* changelog bullet point alignment

* bump version number

* Feature/239 footer link (#311)

* new footer link

* missed some textdomains

* make bold

* revise menu display to have some markup we can style

* touch of style for "pro"

* new menu item and redirect handling

* borrow from AIOSEO for highlighting submenus and some link target

* style up our submenu items a bit

* add consistency to all translators comments, fix linting and missing nonces

* add in some phpcs ignore spots for two valid spots

---------

Co-authored-by: Scott Basgaard <sbasgaard@gmail.com>

* Fix/update upgrade url (#313)

* give our new URL a slightly more unique GET parameter for better strpos targeting

* fix typo in phpcs rule

---------

Co-authored-by: Scott Basgaard <sbasgaard@gmail.com>

* Fix/242 updated settings page headers (#312)

* update headings to be not quite so overly descriptive

* new helper function for checking for Algolia Pro

* Feature/245 readme updates (#314)

* add Scott as a contributor

* draft new FAQ regarding Algolia Pro

* remove Algolia/WDS about questions

* some extra line breaks, and Pro messaging

* Misc bug fixes (#316)

* fix undefined index warnings

* return early but without registering a new menu page

* misc array shorthand

* Feature/238 pro ctas (#315)

* initial CTA with largely empty details

* new utility static cta method

* make use of utility method instead of hardcoding in both screens

* tell to ignore escaping in these spots

* phpdoc and misc spacing

* old screenshots already

* update readme screenshot list

---------

Co-authored-by: Scott Basgaard <sbasgaard@gmail.com>
  • Loading branch information
tw2113 and scottbasgaard authored Mar 27, 2023
1 parent 49f6e9e commit 8df42fb
Show file tree
Hide file tree
Showing 31 changed files with 783 additions and 178 deletions.
Binary file modified .wordpress-org/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 33 additions & 17 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
=== WP Search with Algolia ===
Contributors: WebDevStudios, williamsba1, gregrickaby, tw2113, richaber, mrasharirfan
Contributors: WebDevStudios, williamsba1, gregrickaby, tw2113, richaber, mrasharirfan, scottbasgaard
Tags: search, algolia, autocomplete, instantsearch, relevance search, faceted search, find-as-you-type search, ecommerce, seo
Requires at least: 5.0
Tested up to: 6.1.1
Tested up to: 6.2
Requires PHP: 7.4
Stable tag: 2.4.0
Stable tag: 2.5.0
License: GNU General Public License v2.0, MIT License

Use the power of Algolia to fall in love with your website's search. Enable Autocomplete and Instantsearch. Control the look, feel, and relevance.

== Description ==

"I hate my website's search!" We hear it all the time. Look no further than WP Search with Algolia to fall in love with your website's search capabilities.

Forked, built, and supported by WebDevStudios, the website agency behind Custom Post Type UI, WP Search with Algolia immediately improves search on your site. Your users will be impressed.

Autocomplete and Instantsearch are included and enabled. Plus, you receive full control over the look, feel, and relevance of your users' search experience.

= Features =
Expand All @@ -22,6 +24,8 @@ Autocomplete and Instantsearch are included and enabled. Plus, you receive full

This plugin requires API keys from [Algolia](https://www.algolia.com/). API keys are free for small personal projects and non-commercial use. Learn more about [commercial use pricing](https://www.algolia.com/pricing/).

Are you ready to go pro? WebDevStudios is pleased to announce the release of **WP Search with Algolia Pro**, the premium version of WP Search with Algolia, which will be available for purchase at [Pluginize.com](https://pluginize.com/plugins/wp-search-with-algolia-pro/) soon.

= Links =
* [WebDevStudios](https://webdevstudios.com)
* [Algolia](https://algolia.com)
Expand All @@ -45,6 +49,16 @@ From your WordPress dashboard:

== Frequently Asked Questions ==

= I see you now have a Pro addon, what features are available with it? =

When you purchase a copy of [WP Search with Algolia Pro](https://pluginize.com/plugins/wp-search-with-algolia-pro/) you are getting access to the start of WooCommerce integration as well as Search Engine Optimization mirroring.

With WooCommerce, you'll be able to manage settings to start including product information as part of indexed products, including out of box display with both Autocomplete and Instantsearch hit templates. You can also include details like product SKU values, total sales, and ratings to help with index ranking and relevance.

With SEO settings, you can configure your content to manage itself in your Algolia indexes based on your "noindex" settings from your dedicated SEO plugins.

We intend to continue adding and evolving all the extra features in WP Search with Algolia Pro

= Is this plugin a fork? =

Yes. The Algolia Team **[no longer supports their original plugin](https://community.algolia.com/wordpress/)**. The engineering team at WebDevStudios has forked the original plugin, and is now maintaining it.
Expand Down Expand Up @@ -87,14 +101,6 @@ Yes. This plugin should work with most themes that do not override the default W

All development is handled on [GitHub](https://github.com/WebDevStudios/wp-search-with-algolia/issues).

= About Algolia =

Algolia offers its Search as a Service provider on a incremental payment program, including a free Community Plan which includes 10,000 records & 50,000 operations per month. Beyond that, [plans](https://www.algolia.com/pricing/) start at $29/month.

= About WebDevStudios =

WebDevStudios provides end-to-end WordPress opportunities from strategy and planning to website design and development, as well as full data migration, extensive API integrations, scalability, performance and long-term guidance and maintenance. We have service options and solutions for start-ups, small to mid-size businesses, enterprise organizations and marketing agencies.

== Screenshots ==

1. Algolia Settings
Expand All @@ -107,6 +113,16 @@ WebDevStudios provides end-to-end WordPress opportunities from strategy and plan

Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-search-with-algolia/releases).

= 2.5.0 =
* Introduction of WP Search with Algolia Pro availability.
* Added `algolia_custom_template_location` filter to allow specifying custom template locations besides just your active theme.
* Templates: added action hooks at the end of Autocomplete and Instantsearch hit template blocks.
* Updated `algolia_changes_watchers` filter to also receive the current indices.
* Added watcher support for term and user meta updates.
* Updated bundled CSS to better match selectors for default used widgets in the templates.
* Clarified some details around Autocomplete settings and what can be done in each setting state.
* Updated admin menu icon to use Algolia logo when no settings configured.

= 2.4.0 =
* Increase minimum PHP version to PHP 7.4
* Fixed PHP8 compatibility issues
Expand Down Expand Up @@ -188,16 +204,16 @@ Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-

= 1.5.0 =
* Fix an issue where Pinterest follows a link to the Algolia domain to source text and/or images
* Move Algolia scripts to footer by default
* Changes algolia_load_scripts_in_footer filter default argument to "true"
* Move autocomplete.php template output to footer by default
* Move Algolia scripts to footer by default
* Changes algolia_load_scripts_in_footer filter default argument to "true"
* Move autocomplete.php template output to footer by default

= 1.4.0 =
* Update Algolia PHP Search Client version 2.7.0.
* Update Algolia JS libraries to most recent compatible (non-breaking) versions
* Updates autocomplete.js to 0.37.1 (current release as of 2020-01-27)
* Updates algoliasearch to 3.35.1 (last of the 3.x series)
* Updates instantsearch.js to 1.12.1 (last of the 1.x series)
* Updates autocomplete.js to 0.37.1 (current release as of 2020-01-27)
* Updates algoliasearch to 3.35.1 (last of the 3.x series)
* Updates instantsearch.js to 1.12.1 (last of the 1.x series)

= 1.3.0 =
* Fix an issue where, under some circumstances, when a post with a featured image was deleted, the post might be accidentally re-indexed
Expand Down
23 changes: 19 additions & 4 deletions algolia.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WP Search with Algolia
* Plugin URI: https://github.com/WebDevStudios/wp-search-with-algolia
* Description: Integrate the powerful Algolia search service with WordPress
* Version: 2.4.0
* Version: 2.5.0
* Requires at least: 5.0
* Requires PHP: 7.4
* Author: WebDevStudios
Expand All @@ -26,7 +26,7 @@
}

// The Algolia Search plugin version.
define( 'ALGOLIA_VERSION', '2.4.0' );
define( 'ALGOLIA_VERSION', '2.5.0' );

// The minmum required PHP version.
define( 'ALGOLIA_MIN_PHP_VERSION', '7.4' );
Expand Down Expand Up @@ -72,6 +72,21 @@ function algolia_wp_version_check() {
return true;
}

/**
* Check if WP Search with Algolia Pro is active.
*
* @author Webdevstudios <contact@webdevstudios.com>
* @since 2.5.0
*
* @return bool
*/
function algolia_is_pro_active() {
if ( ! defined( 'WPSWA_PRO_VERSION' ) ) {
return false;
}
return true;
}

/**
* Admin notices if requirements aren't met.
*
Expand All @@ -84,7 +99,7 @@ function algolia_requirements_error_notice() {

if ( ! algolia_php_version_check() ) {
$notices[] = sprintf(
/* translators: placeholder 1 is minimum required PHP version, placeholder 2 is installed PHP version. */
// translators: placeholder 1 is minimum required PHP version, placeholder 2 is installed PHP version.
esc_html__( 'Algolia plugin requires PHP %1$s or higher. You’re still on %2$s.', 'wp-search-with-algolia' ),
esc_html( ALGOLIA_MIN_PHP_VERSION ),
esc_html( PHP_VERSION )
Expand All @@ -93,7 +108,7 @@ function algolia_requirements_error_notice() {

if ( ! algolia_wp_version_check() ) {
$notices[] = sprintf(
/* translators: placeholder 1 is minimum required WordPress version, placeholder 2 is installed WordPress version. */
// translators: placeholder 1 is minimum required WordPress version, placeholder 2 is installed WordPress version.
esc_html__( 'Algolia plugin requires at least WordPress in version %1$s, You are on %2$s.', 'wp-search-with-algolia' ),
esc_html( ALGOLIA_MIN_WP_VERSION ),
esc_html( $GLOBALS['wp_version'] )
Expand Down
3 changes: 3 additions & 0 deletions classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,8 @@
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-settings.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-autocomplete.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-native-search.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-woocommerce.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-seo.php';
require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-template-notices.php';

}
Loading

0 comments on commit 8df42fb

Please sign in to comment.