Plugin Directory

Changeset 3196600


Ignore:
Timestamp:
11/25/2024 02:30:49 PM (13 months ago)
Author:
webdevstudios
Message:

release version 2.8.2

Location:
wp-search-with-algolia
Files:
1234 added
10 edited

Legend:

Unmodified
Added
Removed
  • wp-search-with-algolia/trunk/README.txt

    r3067205 r3196600  
    33Tags: search, algolia, autocomplete, instantsearch, relevance search, faceted search, find-as-you-type search, ecommerce, seo, woocommerce, advanced search
    44Requires at least: 5.0
    5 Tested up to: 6.5
     5Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 2.8.1
     7Stable tag: 2.8.2
    88License: GNU General Public License v2.0, MIT License
    99
     
    128128
    129129Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-search-with-algolia/releases).
     130
     131= 2.8.2 =
     132* Updated: Wording and UI details around the settings pages for better and more accurate reflection.
     133* Updated: Confirmed compatibility with WP 6.7.x
     134* Added: New page regarding Premium support from WebDevStudios. Let's work together.
    130135
    131136= 2.8.1 =
  • wp-search-with-algolia/trunk/algolia.php

    r3067205 r3196600  
    44 * Plugin URI:        https://github.com/WebDevStudios/wp-search-with-algolia
    55 * Description:       Integrate the powerful Algolia search service with WordPress
    6  * Version:           2.8.1
     6 * Version:           2.8.2
    77 * Requires at least: 5.0
    88 * Requires PHP:      7.4
     
    2727
    2828// The Algolia Search plugin version.
    29 define( 'ALGOLIA_VERSION', '2.8.1' );
     29define( 'ALGOLIA_VERSION', '2.8.2' );
    3030
    3131// The minmum required PHP version.
  • wp-search-with-algolia/trunk/classmap.php

    r2887859 r3196600  
    7070    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-native-search.php';
    7171    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-woocommerce.php';
     72    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-premium-support.php';
    7273    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-seo.php';
    7374    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-template-notices.php';
    74 
    7575}
  • wp-search-with-algolia/trunk/includes/admin/class-algolia-admin-page-autocomplete.php

    r2887859 r3196600  
    263263     */
    264264    public function print_section_settings() {
    265         echo '<p>' . esc_html__( 'Autocomplete adds a find-as-you-type dropdown to your search field(s).', 'wp-search-with-algolia' ) . '</p>';
     265        echo '<p>' . esc_html__( 'Autocomplete adds a search-as-you-type dropdown to your search field(s).', 'wp-search-with-algolia' ) . '</p>';
    266266
    267267        echo '<p>' . esc_html__( 'Enabling Autocomplete adds the functionality to your site\'s frontend search. Indexing and settings pushes can be done regardless of enabled status.', 'wp-search-with-algolia' ) . '</p>';
  • wp-search-with-algolia/trunk/includes/admin/class-algolia-admin-page-native-search.php

    r2887859 r3196600  
    226226     */
    227227    public function print_section_settings() {
    228         echo '<p>' . esc_html__( 'By enabling this plugin to override the native WordPress search, your search results will be powered by Algolia\'s typo-tolerant & relevant search algorithms.', 'wp-search-with-algolia' ) . '</p>';
     228        echo '<p>' . esc_html__( 'By enabling these settings to override the native WordPress search, your search results will be powered by Algolia\'s typo-tolerant & relevant search algorithms.', 'wp-search-with-algolia' ) . '</p>';
    229229
    230230        echo '<p>' . sprintf(
    231             '<b>%1$s</b> - %2$s',
     231            '<strong>%1$s</strong> - %2$s',
    232232            esc_html__( 'Re-index All Content', 'wp-search-with-algolia' ),
    233233            esc_html__( 'Resubmit all of your content to the Algolia search API. Search results will be updated once the re-index has completed.', 'wp-search-with-algolia' )
    234234        ) . '</p>';
    235235
    236         echo sprintf(
    237             '<b>%1$s</b> - %2$s <b>%3$s</b>',
     236        echo '<p>' . sprintf(
     237            '<strong>%1$s</strong> - %2$s <strong>%3$s</strong>',
    238238            esc_html__( 'Push Settings', 'wp-search-with-algolia' ),
    239             esc_html__( 'Resync your Algolia search settings to the plugin defaults.', 'wp-search-with-algolia' ),
    240             esc_html__( 'WARNING this will reset configuration changes made in your Algolia dashboard.', 'wp-search-with-algolia' )
    241         );
     239            esc_html__( 'Sync your search index settings to code-based overrides and plugin defaults.', 'wp-search-with-algolia' ),
     240            esc_html__( 'WARNING this will override or reset configuration changes originally made within your Algolia dashboard.', 'wp-search-with-algolia' )
     241        ) . '</p>';
    242242
    243243        // @Todo: replace this with a check on the searchable_posts_index.
     
    250250
    251251        if ( empty( $indices ) ) {
    252             echo '<div class="error-message">' .
    253                     esc_html( __( 'You have no index containing only posts yet. Please index some content on the `Indexing` page.', 'wp-search-with-algolia' ) ) .
    254                     '</div>';
     252            echo '<div class="error-message"><p>' .
     253                    esc_html( __( 'You have no index containing only posts yet. Please index some content with the "Re-index All Content" button above.', 'wp-search-with-algolia' ) ) .
     254                    '</p></div>';
    255255        }
    256256    }
  • wp-search-with-algolia/trunk/includes/admin/class-algolia-admin-page-settings.php

    r2887859 r3196600  
    213213        <p class="description" id="home-description">
    214214            <?php esc_html_e( 'Your Algolia Application ID.', 'wp-search-with-algolia' ); ?>
    215             <a href="https://www.algolia.com/account/api-keys/all" target="_blank"><?php esc_html_e( 'Manage your Algolia API Keys', 'wp-search-with-algolia' ); ?></a>
    216215        </p>
    217216        <?php
     
    233232        <p class="description" id="home-description">
    234233            <?php esc_html_e( 'Your Algolia Search-only API key (public).', 'wp-search-with-algolia' ); ?>
    235             <a href="https://www.algolia.com/account/api-keys/all" target="_blank"><?php esc_html_e( 'Manage your Algolia API Keys', 'wp-search-with-algolia' ); ?></a>
    236234        </p>
    237235        <?php
     
    252250        <p class="description" id="home-description">
    253251            <?php esc_html_e( 'Your Algolia ADMIN API key (kept private).', 'wp-search-with-algolia' ); ?>
    254             <a href="https://www.algolia.com/account/api-keys/all" target="_blank"><?php esc_html_e( 'Manage your Algolia API Keys', 'wp-search-with-algolia' ); ?></a>
    255252        </p>
    256253        <?php
     
    516513                    // translators: URL to API keys section in Algolia dashboard.
    517514                    __( 'Configure your Algolia account credentials. You can find them in the <a href="%s" target="_blank">API Keys</a> section of your Algolia dashboard.', 'wp-search-with-algolia' ),
    518                     'https://www.algolia.com/account/api-keys/all'
     515                    'https://dashboard.algolia.com/account/api-keys/all'
    519516                ),
    520517                [
     
    525522                ]
    526523            ) . '</p>';
    527         echo '<p>' . esc_html__( 'Once you provide your Algolia Application ID and API key, this plugin will be able to securely communicate with Algolia servers.', 'wp-search-with-algolia' ) . ' ' . esc_html__( 'We ensure your information is correct by testing them against the Algolia servers upon save.', 'wp-search-with-algolia' ) . '</p>';
    528524        // translators: the placeholder contains the URL to Algolia's website.
    529         echo '<p>' . wp_kses_post( sprintf( __( 'No Algolia account yet? <a href="%s">Follow this link</a> to create one for free in a couple of minutes!', 'wp-search-with-algolia' ), 'https://www.algolia.com/users/sign_up' ) ) . '</p>';
     525        echo '<p>' . wp_kses_post( sprintf( __( 'No Algolia account yet? <a href="%s">Follow this link</a> to create one for free in a couple of minutes!', 'wp-search-with-algolia' ), 'https://dashboard.algolia.com/users/sign_up' ) ) . '</p>';
     526
     527        echo '<p>' . esc_html__( 'Once you provide your Algolia Application ID and API key, this plugin will be able to securely communicate with Algolia servers.', 'wp-search-with-algolia' ) . '<br/>' . esc_html__( 'We ensure your information is correct by testing them against the Algolia servers upon save.', 'wp-search-with-algolia' ) . '</p>';
     528        ?>
     529        <a href="https://dashboard.algolia.com/account/api-keys/all" target="_blank"><?php esc_html_e( 'Manage your Algolia API Keys', 'wp-search-with-algolia' ); ?></a>
     530        <?php
    530531    }
    531532}
  • wp-search-with-algolia/trunk/includes/admin/class-algolia-admin.php

    r2887859 r3196600  
    6060        new Algolia_Admin_Page_WooCommerce( $plugin );
    6161        new Algolia_Admin_Page_SEO( $plugin );
     62        new Algolia_Admin_Page_Premium_Support( $plugin );
    6263
    6364        add_action( 'admin_notices', array( $this, 'display_unmet_requirements_notices' ) );
     
    352353            esc_attr__( 'Go Pro', 'wp-search-with-algolia' )
    353354        ) . ' - ' .
    354         esc_attr__( 'Follow on Twitter:', 'wp-search-with-algolia' ) .
     355        esc_attr__( 'Follow on X:', 'wp-search-with-algolia' ) .
    355356        sprintf(
    356357            // translators: Placeholders are just for HTML markup that doesn't need translated.
    357358            ' %s',
    358             '<a href="https://twitter.com/webdevstudios" target="_blank" rel="noopener">WebDevStudios</a>'
     359            '<a href="https://x.com/webdevstudios" target="_blank" rel="noopener">WebDevStudios</a>'
    359360        );
    360361    }
  • wp-search-with-algolia/trunk/includes/admin/css/algolia-admin.css

    r2887859 r3196600  
    33 * included in this file.
    44 */
     5
     6/*
     7 * https://algolia.frontify.com/document/1?#/basics/colors
     8 */
     9:root {
     10  --algolia-white: #fff;
     11  --algolia-gray: #f5f5fa;
     12  --algolia-blue: #003dff;
     13  --algolia-blue-lighten: #07f;
     14  --algolia-dark-blue: #003;
     15  --algolia-neon: #ceff00;
     16}
     17
    518.form-table .table-autocomplete th {
    619  padding: 8px 10px !important;
     
    1326.table-autocomplete .dashicons-move {
    1427  cursor: pointer;
    15 }
    16 
    17 /* Logs page */
    18 .log-details {
    19   background-color: #32373c;
    20   color: #fff;
    21   padding: 30px;
    22   border-radius: 3px;
    23   display: none;
    2428}
    2529
     
    4953
    5054#toplevel_page_algolia .algolia-pro-indicator {
    51   background-color: #003dff;
     55  background-color: var(--algolia-blue);
    5256  border-radius: 3px;
    53   color: #f5f5fa;
     57  color: var(--algolia-white);
    5458  font-size: 10px;
    5559  padding: 2px 3px;
     
    5761}
    5862.algolia-menu-highlight {
    59   color: #fff;
     63  color: var(--algolia-white);
    6064}
    6165#toplevel_page_algolia .algolia-submenu-highlight {
    62   background-color: #003dff;
     66  background-color: var(--algolia-blue);
    6367  font-weight: bold;
    6468}
    6569
    6670.algolia-pro-cta {
    67   background-color: #fff;
     71  background-color: var(--algolia-white);
    6872  left: 50%;
    6973  margin-top: 0;
     
    9397}
    9498.algolia-pro-cta .algolia-pro-button {
    95   background-color: #003dff;
     99  background-color: var(--algolia-blue);
    96100  border-bottom: 0;
    97101  border-radius: 4px;
    98   color: #fff;
     102  color: var(--algolia-white);
    99103  cursor: pointer;
    100104  display: inline-block;
     
    106110}
    107111.algolia-pro-cta .algolia-pro-button:hover {
    108   background-color: #0077ff;
     112  background-color: var(--algolia-blue-lighten);
    109113}
    110114.algolia-pro-cta .algolia-pro-more {
     
    116120}
    117121.algolia-pro-cta .algolia-pro-more a {
    118   color: #003dff;
     122  color: var(--algolia-blue);
    119123  display: inline-block;
    120124  font-size: 14px;
     
    124128}
    125129.algolia-pro-cta .algolia-pro-more a:hover {
    126   color: #0077ff;
     130  color: var(--algolia-blue-lighten);
    127131}
    128132.algolia-pro-cta .algolia-pro-features {
     
    144148  padding-right: 4px;
    145149}
     150.algolia-premium-wrap-block {
     151  display: flex;
     152  flex-direction: column;
     153  gap: 20px;
     154  justify-content: space-between;
     155}
     156.algolia-premium-support-block {
     157  text-align: center;
     158}
     159.algolia-premium-support-block.algolia-pro-block {
     160  text-align: left;
     161}
     162.wds-premium {
     163  background: var(--algolia-blue);
     164  color: var(--algolia-white);
     165  padding: 10px;
     166  border-radius: 9999px;
     167  text-decoration: none;
     168}
     169.wds-premium:hover {
     170  color: var(--algolia-white);
     171}
     172.algolia-flex {
     173  align-items: center;
     174  display: flex;
     175  flex-wrap: wrap;
     176  justify-content: center;
     177}
     178.algolia-flex-item {
     179  padding: 5px 10px;
     180}
     181.algolia-pro-block {
     182
     183}
     184.algolia-pro-flex-wrap {
     185  display: flex;
     186  flex-wrap: wrap;
     187  justify-content: space-between;
     188  align-content: space-between;
     189  gap: 10px;
     190}
     191.algolia-pro-flex-item {
     192  border: solid blue 1px;
     193  border-radius: 15px;
     194  flex: 1;
     195  padding: 10px;
     196  width: 33%;
     197}
     198.algolia-pro-features {
     199  padding-left: 15px;
     200}
     201.algolia-pro-features li {
     202  list-style: disc;
     203}
  • wp-search-with-algolia/trunk/includes/admin/partials/form-override-search-option.php

    r2872613 r3196600  
    2121        echo wp_kses(
    2222            __(
    23                 'Do not use Algolia for searching at all. This option disables the plugin completely',
     23                'Do not use Algolia for any search. This option disables the search integration completely.',
    2424                'wp-search-with-algolia'
    2525            ),
     
    4040        echo wp_kses(
    4141            __(
    42                 'Search results will be powered by Algolia and will use the standard WordPress search template for displaying the results.<br/>This option has the advantage to play nicely with any theme but does not support filtering and displaying instant search results.',
     42                'Search results will be powered by Algolia and will use the standard WordPress search template for displaying the results.<br/>This option has the advantage to play nicely with any theme but does not support filtering and displaying InstantSearch results.',
    4343                'wp-search-with-algolia'
    4444            ),
     
    6060        echo wp_kses(
    6161            __(
    62                 'This will replace the WordPress search page with an instant search experience powered by Algolia.<br/>By default you will be able to filter by post type, categories, tags and authors.',
     62                'This will replace the WordPress search page with an InstantSearch experience powered by Algolia.<br/>By default you will be able to filter by post type, categories, tags and authors.',
    6363                'wp-search-with-algolia'
    6464            ),
  • wp-search-with-algolia/trunk/includes/admin/partials/page-autocomplete-config.php

    r2905827 r3196600  
    3030    </thead>
    3131    <tbody>
    32         <?php foreach ( $indices as $index ) : // phpcs:ignore -- This is an admin partial.  ?>
     32        <?php
     33        $prefix = $this->settings->get_index_name_prefix();
     34        foreach ( $indices as $index ) : // phpcs:ignore -- This is an admin partial.  ?>
    3335        <tr>
    3436            <td>
     
    4143            <td>
    4244                <?php echo esc_html( $index['admin_name'] ); ?><br>
    43                 <small style="color: #999">
     45                <small>
    4446                    <?php
    4547                    printf(
    4648                        // translators: placeholder is the name of an Algolia search index.
    4749                        esc_html__( 'Index name: %s', 'wp-search-with-algolia' ),
     50                        esc_html( $index['index_id'] )
     51                    );
     52                    ?>
     53                </small><br/>
     54                <small>
     55                    <?php
     56                    printf(
     57                    // translators: placeholder is the name of an Algolia search index.
     58                        esc_html__( 'Prefixed: %s%s', 'wp-search-with-algolia' ),
     59                        esc_html( $prefix ),
    4860                        esc_html( $index['index_id'] )
    4961                    );
Note: See TracChangeset for help on using the changeset viewer.