name])){ $AjaxyLiveSearch->set_templates($post_type->name, $_POST['sf_'.$post_type->name]); } if(!empty($_POST['sf_title_'.$post_type->name])){ $values = array( 'title' => $_POST['sf_title_'.$post_type->name], 'show' => $_POST['sf_show_'.$post_type->name], 'search_content' => $_POST['sf_search_content_'.$post_type->name], 'limit' => $_POST['sf_limit_'.$post_type->name], 'order' => $_POST['sf_order_'.$post_type->name], 'excludes' => isset($_POST['sf_exclude_'.$post_type->name]) ? $_POST['sf_exclude_'.$post_type->name]: '' ); if(!empty($_POST['sf_order_results_'.$post_type->name])){ $values['order_results'] = trim($_POST['sf_order_results_'.$post_type->name]); } if(!empty($_POST['sf_ushow_'.$post_type->name])){ $values['ushow'] = trim($_POST['sf_ushow_'.$post_type->name]); } $AjaxyLiveSearch->set_setting($post_type->name, $values); } $message = _("Settings saved"); } else{ $message = _("Settings have been already saved"); } } $setting = (array)$AjaxyLiveSearch->get_setting($post_type->name); $allowed_tags = array('id', 'post_title', 'post_author', 'post_date', 'post_date_formatted', 'post_content', 'post_excerpt', 'post_image', 'post_image_html', 'post_link', 'custom_field_(YOUR_CUSTOM_FIELD_NAME)'); $title = sprintf(_('Edit %s template & settings'), $post_type->label); $notice = ''; ?>


0 ? $setting['excludes'] : array()); ?>

label); ?>

label).' post_types="'.$post_type->name.'" name="sf_exclude_'.$post_type->name.'" show_category="0" value="{ID}"]'); ?>

$post_type->name, 'post__in' => (array)$excludes) ); if(sizeof($posts) > 0) { ?>
  • post_title; ?>
label); } ?>

label); ?>

label); ?>

get_templates($post_type->name, $type), 'sf_'.$post_type->name ); ?>
name != 'wpsc-product') { ?> {} name, AjaxyLiveSearch::$woocommerce_post_types)) { $wootags = array('price_html', 'add_to_cart_button', 'sale_price', 'regular_price', 'price', 'price_including_tax', 'price_excluding_tax', 'price_suffix', 'price_html', 'price_html_from_text', 'average_rating', 'rating_count', 'rating_html', 'dimensions', 'shipping_class', 'add_to_cart_text', 'single_add_to_cart_text', 'add_to_cart_url', 'title'); ?>
{} {}, {wpsc_price}, {wpsc_shipping}, {wpsc_image}