Get ID of child from child slug, while knowing parent ID
I have a hierarchy that I need to get data from. It’s the child (by slug name) that I need to get while … Read more
I have a hierarchy that I need to get data from. It’s the child (by slug name) that I need to get while … Read more
Imagine i have a URL structure like this: www.domain.com/category/subcategory/ This is my code: <?php $args=array( ‘child_of’ => $cat-id, ‘hide_empty’ => 0, ‘orderby’ => … Read more
I’m using Greg’s Threaded Comment Numbering plugin to number the comments. Actually I’m displaying a number beside of each parent comment (no threaded … Read more
Not sure if this is possible without some form of hard-coding but I have a custom post-type called ‘city’. Within the ‘city’ post-type … Read more
I’ve been trying to work with Conditional Tags and cannot wrap my head around this problem. PHP novice here. On sub-pages I need … Read more
This if-condition is what’s giving me trouble: if (div id=myfav has children) { do something } else { do something else } I … Read more
I’m looking for a way to only allow users to create new subpages once there are nine pages that are parents/root pages. Once … Read more
I created a hierarchical custom post type for a gallery. The parent pages are the galleries and the child pages are the albums. … Read more
I need to know how can I get the child/grandchild terms of the current taxonomy being viewed, and put it into a drop … Read more
I was wondering, JavaScript offers a variety of methods to get the first child element from any element, but which is the best? … Read more