Indexing Amelia Booking categories and services, style java search animation.
-
Hey Relevans
Amelia is a great booking plugin with Service Categories and services available for online booking. I cannot see them idex in search. Also I cannot activate the above for indexing. Do you have any advise to make this happen? I would say it’s quite important if hairdress is your business, then haircut, beard and brazilian wax is searchable.
Amelia is not structured in pages/posts but rather a java/Json or something structure.
Btw: I have the java search thing with the blue arrow. Can I advise that you color it achromatic from white over grey to black. This way it matches all themes. Do you have css, so that I can color arrow and also background and text color. I have a site where text is white on white, so it is not seen. I wish to theme text i field also and the x for delete.
Further questions:
Can you confirm this code is no longer relevant?
//Relevanssi Ajax - Fix after wp 6.5
add_filter( 'relevanssi_live_search_add_result_div', '__return_false' );And this:
//Add the Search Form and Javascript
//Set theme_location parameter by the menu locations theme offers
add_filter('wp_nav_menu_items', 'add_search_form', 10, 2);
// Display fontawesome search icon in menus and toggle search form
function add_search_form($items, $args) {
if( $args->theme_location == 'primary' )
$items .= '<li class="search"><a class="search_icon"><i class="fa fa-search"></i></a><div style="display:none;" class="spicewpsearchform">'. get_search_form(false) .'</div></li>';
return $items;
}
//Adding Javascript
add_action( 'wp_head', function () { ?>
<script>
jQuery(document).ready(function($) {
$(".search_icon").click(function() {
$(".spicewpsearchform").slideToggle();
});
$(document).keydown(function(e) {
if (e.keyCode == 27) {
//$(modal_or_menu_element).closeElement();
$(".spicewpsearchform").hide();
}
});
});Thx. love this plugin
- You must be logged in to reply to this topic.