WordPress.org

Support

Support » Plugins and Hacks » Captain Slider » any way to exclude slides from search results?

any way to exclude slides from search results?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to edit post-types.php, which is found under “captain-slider/includes/admin/
    Find function ctslider_register_slides_posttype and then
    add

    exclude_from_search' => true,

    in labels array

    It will excludes slides from search results.
    Hope you find it helpful.

    thanks! Actually I added to into
    $post_type_args = array(
    and then it worked. It it probably will be overwritten when the plugin updates. Any ideas? How to include it in my child theme for twentyeleven?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘any way to exclude slides from search results?’ is closed to new replies.
Skip to toolbar