%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/wp-content/plugins/ajax-search-pro/backend/tabs/instance/advanced/
Upload File :
Create Path :
Current File : //var/www/pn/wp-content/plugins/ajax-search-pro/backend/tabs/instance/advanced/exclude_results.php

<div class="item" style="border-bottom: 0;">
    <?php
    $o = new wpdreamsYesNo("exclude_dates_on", __('Exclude Post/Page/CPT by date', 'ajax-search-pro'), $sd['exclude_dates_on']);
    $params[$o->getName()] = $o->getData();
    ?>
</div>
<div class="item">
    <?php
    $o = new wd_DateInterval("exclude_dates", 'posts', $sd['exclude_dates']);
    $params[$o->getName()] = $o->getData();
    ?>
</div>
<div class="item">
    <?php
    $o = new wd_UserSelect("exclude_content_by_users", __('Exclude or Include content by users', 'ajax-search-pro'), array(
        "value"=>$sd['exclude_content_by_users'],
        "args"=> array(
            "show_type" => 1
        )
    ));
    $params[$o->getName()] = $o->getData();
    ?>
</div>
<div class="item">
    <?php
    $o = new wpdreamsSearchTags("exclude_post_tags", __('Exclude posts by tags', 'ajax-search-pro'), $sd['exclude_post_tags']);
    $params[$o->getName()] = $o->getData();
    ?>
</div>
<div class="item">
    <?php
    $o = new wd_TaxonomyTermSelect("exclude_by_terms", __("<span style='color: red; font-weight: bold'>Exclude</span> posts (or cpt, attachments, comments) by categories/taxonomy terms", 'ajax-search-pro'), array(
        "value"=>$sd['exclude_by_terms'],
        "args"  => array(
            "show_type" => 0,
            "op_type" => "exclude",
            "show_checkboxes" => 0,
            "show_display_mode" => 0,
            "show_separate_filter_boxes" => 0,
            "show_more_options" => 0,
            'show_taxonomy_all' => 0,
            "built_in" => true,
            "exclude_taxonomies" => array("post_tag", "nav_menu", "link_category")
        )
    ));
    $params[$o->getName()] = $o->getData();
    ?>
    <p class="descMsg"><?php echo __('An object is excluded if matches <strong>any</strong> of the selected items.', 'ajax-search-pro'); ?></p>
</div>
<div class="item">
    <?php
    $o = new wd_TaxonomyTermSelect("include_by_terms", __("<span style='color: red; font-weight: bold;'>Include</span> posts (or cpt, attachments, comments) only from selected categories/taxonomy terms", 'ajax-search-pro'), array(
        "value"=>$sd['include_by_terms'],
        "args"  => array(
            "show_type" => 0,
            "op_type" => "include",
            "show_checkboxes" => 0,
            "show_display_mode" => 0,
            "show_separate_filter_boxes" => 0,
            "show_more_options" => 0,
            'show_taxonomy_all' => 0,
            "built_in" => true,
            "exclude_taxonomies" => array("nav_menu", "link_category")
        )
    ));
    $params[$o->getName()] = $o->getData();
    ?>
    <p class="descMsg"><?php echo __('The exclusions from the above option <strong>still apply!</strong>', 'ajax-search-pro'); ?></p>
</div>
<div class="item">
    <?php
    $o = new wd_CPTSelect("exclude_cpt", __('Exclude posts/pages/cpt', 'ajax-search-pro'), array(
        "value"=>$sd['exclude_cpt'],
        "args"=> array(
            "show_parent_checkbox" => 1
        )
    ));
    $params[$o->getName()] = $o->getData();
    ?>
    <p class="descMsg"><?php echo __('The "Exclude direct children too?" option only works with <strong>DIRECT</strong> parent-child relationships. (1 level down)', 'ajax-search-pro'); ?></p>
</div>
<div class="item">
    <?php
    $o = new wd_TextareaExpandable("excludeposts", __('Exclude Posts/Pages/CPT by ID\'s (comma separated post ID-s)', 'ajax-search-pro'), $sd['excludeposts']);
    $params[$o->getName()] = $o->getData();
    ?>
    <p class="descMsg"><?php echo __('If you wish to exclude Posts, Pages and custom post types (like products etc..) by ID here. Comma separated list.', 'ajax-search-pro'); ?></p>
</div>

Zerion Mini Shell 1.0