Title: search-into-subcategories
Author: lion2486
Published: <strong>Maret 8, 2014</strong>
Last modified: Oktober 24, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/search-into-subcategories.svg)

# search-into-subcategories

 By [lion2486](https://profiles.wordpress.org/lion2486/)

[Download](https://downloads.wordpress.org/plugin/search-into-subcategories.1.1.1.zip)

 * [Details](https://su.wordpress.org/plugins/search-into-subcategories/#description)
 * [Reviews](https://su.wordpress.org/plugins/search-into-subcategories/#reviews)
 *  [Installation](https://su.wordpress.org/plugins/search-into-subcategories/#installation)
 * [Development](https://su.wordpress.org/plugins/search-into-subcategories/#developers)

 [Support](https://wordpress.org/support/plugin/search-into-subcategories/)

## Description

For Demo go here http://codescar.eu/projects/search-into-subcategories

Search-Into-Subcategories plugin allows you to make a select-search shortcode for
your own categories.

You can use if everywhere you want and make a tree structure for your categories.

[search-into-subcategories]

Arguments you can pass:

    ```
    parent_category Default is 0
        You can list only sub categories of the category id you give here. With 0 lists alla categories

    max_depth Default is 2
        How many subcategories (children of the parent_category) to display, at least 1.

    search_input Default is 1
        Display a text input for search. (You can turn it off with 0 value)

    labels Default is <empty string>
        Labels for the inputs. Give them in the order you want with '|' as separator. example: Category1|Category2|Text

    search_text Default is Search
        The text to display in search button.

    hide_empty Default is 1
        Hide categories without content, set to 0 to display all!

    exclude Default is <empty string>
        Category IDs to exclude from listing. Separate them with ','. Example: 6,7,13

    show_date_ranges Default is 0
        Show from/to date ranges to filter publish date. Set it to 1 to use it.

    dates_format Default is DD-MM-YYYY
        It requires the show_date_ranges to be enabled. It uses Pikaday JS Library (a small one) to create a datepicker
        and manage the date formatting. (If you use spaces into the format, wrap it into single quotes 'like this').
        (The formatting is generated by momentJS https://momentjs.com/docs/#/displaying/ )

    custom_field Default is null
        List of custom meta-fields to search in (it will create a new input for every meta-field.
        ( Use , as separator, example: field1,meta_key,etc )

    custom_field_labels Default is null
        List for labels in custom meta fields text input. (Use | as separator, example: name1|name2|etc)

    custom_post_types Default is null
        Post type to filter results

    posts_per_page Default is null
        Set result page posts per page

    custom_taxonomy Default is category
        Set custom taxonomy to walk.
    ```

Example:
 [search-into-subcategories parent_category=0 max_depth=3 search_input=
1 labels=cat1|cat2|cat3|Text search_text=Find hide_empty=0 exclude=7,6 show_date_ranges
=1 custom_field=author,my_custom custom_field_labels=Author|Custom custom_post_types
=documents posts_per_page=10 custom_taxonomy=my_taxonomy dates_format=YYYY-MM-DD]

## Screenshots

[⌊Search Category Level 1⌉⌊Search Category Level 1⌉[

Search Category Level 1

[⌊Search Category Level 2⌉⌊Search Category Level 2⌉[

Search Category Level 2

[⌊Search Category Level 3 & Input⌉⌊Search Category Level 3 & Input⌉[

Search Category Level 3 & Input

## Installation

This section describes how to install the plugin and get it working.

 1. Upload `Search-into-subcategories-plugin` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the shortcode into your page/post you want.

## Reviews

![](https://secure.gravatar.com/avatar/1f2111ba2aeaf8d21e6bdb5ff54b574a54bae32988d31421dea7d082e5c7d5b0?
s=60&d=retro&r=g)

### 󠀁[Excelente!](https://wordpress.org/support/topic/excelente-396/)󠁿

 [carlamannino](https://profiles.wordpress.org/carlamannino/) Séptémber 3, 2016

Excelente funcionalidad de selectores combinados. Me costo mucho encontrar un plugin
que funcione correctamente en esta funcionalidad.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/)

## Contributors & Developers

“search-into-subcategories” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ lion2486 ](https://profiles.wordpress.org/lion2486/)

“search-into-subcategories” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/search-into-subcategories/contributors)
for their contributions.

[Translate “search-into-subcategories” into your language.](https://translate.wordpress.org/projects/wp-plugins/search-into-subcategories)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/search-into-subcategories/),
check out the [SVN repository](https://plugins.svn.wordpress.org/search-into-subcategories/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/search-into-subcategories/)
by [RSS](https://plugins.trac.wordpress.org/log/search-into-subcategories/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Added a small datepicker JS library – https://github.com/dbushell/Pikaday
 * Added a new setting dates_format in order to use custom dates formats

#### 1.0.2

 * Added support for custom taxonomy
 * A bug fix for meta-data fields

#### 1.0.1

 * Added placeholder to each input field.

#### 1.0.0

 * Major changes!
 * Now you can use multiple instances on a page
 * Fixed some JavaScript issues
 * Added more search filters (date ranges, meta-field, post_type)

#### 0.1.5

 * Some changes, a problem have to be fixed.

#### 0.1.3

 * A fix for permalink structure

#### 0.1.2

 * A small hotfix for category listing

#### 0.1.1

 * Javascript file loading only when shortcode used
 * A label id fix
 * Screenshots name fix

#### 0.1

 * First version

## Meta

 *  Version **1.1.1**
 *  Last updated **9 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.8.28**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/search-into-subcategories/) and 
   [Swedish](https://sv.wordpress.org/plugins/search-into-subcategories/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/search-into-subcategories)
 * Tags
 * [search](https://su.wordpress.org/plugins/tags/search/)[subcategories](https://su.wordpress.org/plugins/tags/subcategories/)
 *  [Advanced View](https://su.wordpress.org/plugins/search-into-subcategories/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/search-into-subcategories/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/search-into-subcategories/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/search-into-subcategories/reviews/)

## Contributors

 *   [ lion2486 ](https://profiles.wordpress.org/lion2486/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/search-into-subcategories/)