IT Nursery
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' => 'name', 'order' => 'ASC' ); $categories=get_categories($args);...
  • May 30, 2022
  • 0 Comments
IT Nursery
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 comments numbers). I have 2 problems...
  • May 27, 2022
  • 0 Comments
This if-condition is what’s giving me trouble: if (div id=myfav has children) { do something } else { do something else } I tried all the following: if (...
  • May 25, 2022
  • 0 Comments
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 there are nine parent pages when...
  • May 24, 2022
  • 0 Comments
I created a hierarchical custom post type for a gallery. The parent pages are the galleries and the child pages are the albums. I want to display the most...
  • May 24, 2022
  • 0 Comments
I was wondering, JavaScript offers a variety of methods to get the first child element from any element, but which is the best? By best, I mean: most cross-browser...
  • May 20, 2022
  • 0 Comments