[ Tag Archive ]


Check if a Page is a Child of Another Page in WordPress

Posted on November 20, 2009  |  Category: Tutorials

WordPress has some default conditional tags that are really helpful when developing themes and plugins that need specific functions on specific pages. Strange enough though, there is no way to check if a page is a child of another page.

Read More »


Using WP_Query to Fetch Posts in WordPress

Posted on January 28, 2009  |  Category: Tutorials

I was just putting together a WordPress widget for a client and I came across a small road block. I was using <?php query_post(); ?> to set the loop to act the way I needed it to but when the widget loaded up in the left sidebar, it caused some issues when going to a category page. The problem was the query I initialized in the sidebar was carrying over to the main section. I couldn’t figure out what to do until I stumbled up the wp_query function.

Read More »