is_child WordPress Plugin

I want to thank you Erik Range, the author of this great plugin wich has helped me a lot of times: is_child

Unfortunately the developer’s site (http://erik.range-it.de/) is down. So I’ll host this one for all of you who haven’t used it yet – if Eric is not offended – those lines of code are way too precious to get lost!


Download latest 1.1.2 is_child plugin


What is this for?

Useful for template designers. This plugin checks if current page, posting or category is in direct or recursive relation with a specific parent category or parent page.

Examples:

———————————————————————
Examples:
———————————————————————
–>    is_child( 10 )
Checks if the current page, posting or category is somehow
related to category- (or page-)ID 10.

–> is_child( “Example Category”, false )
Checks just if the current element is a direct child of “Example
Category”.

–> is_child( “some-page”, 1 )
Checks if the current element (page) is somehow related to a page
with the slug “some-page”.

Top Topics:
wordpress is_child 
is_child wordpress 
is_child 
wordpress is child of 
wordpress is child 
wp is_child 
wordpress if is child of 
wordpress if is child 
wordpress is_child plugin 
is_child wordpress plugin 
child 
is child of wordpress 
is_child plugin 
if is child of wordpress 
wordpress if child 
if is child wordpress 
is child wordpress 
cache:bVQ3KPuZuxQJ:www.matteoionescu.com/wordpress/wordpress-multilanguage-cms-plugin/ wordpress multilanguage 
wordpress get parent category id 
wordpress if child of 
wordpress get category parent id 
if child of wordpress 
is_child wp 
is_child category wordpress 
wordpress if is child category 

9 Responses to “is_child WordPress Plugin”

  1. LiZharD says:

    Thanks man but this version is outdate… the latest is 1.1.2

  2. admin says:

    is it available somewhere for download?

  3. erwin says:

    it’s still available at Erik Range’s site, allthough the site is down. Google cache ftw :D

    http://erik.range-it.de/downloads/wordpress/plugins/is_child.zip

  4. admin says:

    Thanks Erwin, I’ve updated the post!

  5. Great plugin – very helpful to create conditional sidebar menus for website design. Thanks!!

  6. Erik Range says:

    Hey my name is Erik Range but i´m not the guy from that site!!!

    I´m 13!!!
    And i live in Germany, Regensburg(sry i don´t now the english name :’-( )

  7. Azmeer says:

    Thanks for the great plug-in. Looks like this is the only one that does this specific task of determining a parent-child relationship.
    http://www.schloebe.de/wordpress/is-subpage-of-plugin/

    That plug-in ONLY checks for immediate parent so is not useful if are checking from ‘grandchildren’ level.

    One small issue though, the site says the version is 1.1.1 but the installed version says 1.1.1 !! is it a typo? or I am doing something wrong ?

  8. Azmeer says:

    Sorry about the previous post, I pressed the ‘Submit’ before making the correction.

    “site says the version is 1.1.2 but the installed version says 1.1.1″

  9. Hi Matt, I have an updated version of Is Child on my website to support 2.9.1 and beyond, http://www.visser.com.au/wordpress/plugins/is-child/

Leave a Reply

Please leave these two fields as-is: