Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

Ajax Load More for SearchWP

Opis

Ajax Load More for SearchWP is a tiny extension that provides the functionality for returning SearchWP query results to Ajax Load More for infinite scrolling.

The extension works by providing a connection point between Ajax Load More and SearchWP and is available for users running at least Ajax Load More 2.13.0 and SearchWP 2.6.1.

Implementation Steps

  1. Activate plugin.
  2. Create Ajax Load More shortcode with a unique ID parameter.
  3. Add custom alm_query_args filter to your theme functions.php – Learn More.

View Documentation

Instalacija

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select ajax-load-more-for-searchwp.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download ajax-load-more-searchwp.zip.
  2. Extract the ajax-load-more-for-searchwp directory to your computer.
  3. Upload the ajax-load-more-for-searchwp directory to the /wp-content/plugins/ directory.
  4. Ensure Ajax Load More is installed prior to activating the plugin.
  5. Activate the plugin in the WP plugin dashboard.

ČPP

What version of SearchWP is this plugin compatible with?

Requires SearchWP > 2.6.1

How does this work?

This extensions works by using the alm_query_args filter to pass values to the SWP_Query and then back to Ajax Load More.
View Example

How do I pass a search term to SearchWP

You can pass search term to your Ajax Load More shortcode. [ajax_load_more search=”My Search Query” id=”searchwp”]

Can I choose my SearchWP search engine?

Yes, when you add your alm_query_args filter, you can specify a search engine.
$engine = ‘my_custom_engine’;

How do I highlight the search term in the search results?

In your Ajax Load More Repeater Template you can do the following, which uses the SearchWP Highlighter.
global $post;
$excerpt = get_the_excerpt( $post );
echo alm_searchwp_highlight( $excerpt, $args );

Recenzije

04. listopada 2017.
Does exactly what's supposed to do. Thanks for adding this extension!
Pročitajte sve 2 recenzije

Suradnici i Programeri

“Ajax Load More for SearchWP” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

“Ajax Load More for SearchWP” je prijeveden na 1 dijalekt. Zahvala prevodiocima za njihov doprinos.

Prevedite “Ajax Load More for SearchWP” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.0.2 – April 17, 2021

  • UPDATE – Added support for highlighting the search term in SearchWP results with Ajax Load More. See plugin FAQs.

1.0.1 – November 28, 2016

  • UPDATE – Updating SWP_Query to only return post IDs.

1.0 – November 25, 2016

  • Initial Release.