Removing Submenu from Menu

You can change nav menu args via the wp_nav_menu_args filter. So let’s say you have a theme that does something like this… <?php wp_nav_menu(array( ‘theme_location’ => ‘second_level’, ‘depth’ => 2, // how many levels to show // prolly some other stuff here )); You can hook into wp_nav_menu_args, check for the theme location, and set … Read more

How to get bbpress sticky topics

You can make the query like above using following code. <?php query_posts( array( ‘posts_per_page’ => 2, ‘meta_key’ => ‘_bbp_sticky_topics’, ‘post_type’=> ‘topic’, ‘order’ => ‘ASC’ ) ); if (have_posts()) : while (have_posts()) : the_post(); //do something endwhile; endif; ?> But i strongly recommend you not to alter main query using query_posts() and instead use WP_Query as … Read more

How to develop child theme for thesis

The Thesis framework uses a unique system to customize while inheriting the parent theme’s functions and styles, different from the typical WordPress method of child/parent themes. You don’t actually build a separate theme folder with Thesis – you edit the files within /wp-content/themes/thesis/custom/ (or if it doesn’t exist yet, change the name of the “custom-sample” … Read more

Threaded Comments Feature not working

You have a couple potential issues: Your version of WordPress and/or your current Theme does not support threaded comments. What version of WordPress are you using? What Theme are you using? Something is interfering with comment display What Plugins are you using, that might be interacting with comments? These would include anti-spam Plugins, security Plugins, … Read more