Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ajaxy-live-search-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ function ajaxy_shortcode() {
if( function_exists( 'ajaxy_search_form' ) && class_exists( 'AjaxyLiveSearch' ) ) {
ajaxy_search_form();
}
else { ?>
<div id="ajaxy-live-search-shortcode">Please enable the <strong>Ajaxy Live Search</strong> plugin</div>
<?php }
else {
get_search_form();
}
$html = ob_get_contents();
ob_end_clean();
return $html;
Expand Down