How can I set the first link in my nav menu to simply be a drop-down to some other pages

Use the wordpress Menus under Appereance -> Menu and wp_nav_menu instead of wp_list_pages in your theme. If your theme is recent, changes are that you are using it now. Under Appereance -> Menu Create a menu, label il “Site menu” Create a custom link About, and assign it # as destination link Drag and drop … Read more

Hierarchical gallery

WordPress Posts (First level) Yes, the posts feature can be used as a gallery. WordPress provides nice short code to show all the attached images in post. While adding galleries make sure they point to attachment page not to the real file. When user clicks on any of image from the gallery they’ll get to … Read more

List child terms and posts in the current term

ok, i don’t know how this looks but i’ve got exactly what i wanted. <?php $term = get_queried_object(); $tax = ‘ntp_package_type’; $parents = $term->parent; $term_id = $term->term_id; if($parents == 0 && !is_single()){ wp_list_categories( array ( ‘taxonomy’ => ‘ntp_package_type’, ‘pad_counts’=> 0, ‘title_li’ => ”, ‘child_of’ => $term_id, ) ); } elseif ($parents > 0 && is_tax($tax, … Read more

Display categories and their IDs

Are you looking for a list of the current post’s categories and parents, or just a general list of categories? If the former, you can use get_category_parents(). If you’re in The Loop, for example: <?php if( have_posts() ) : while( have_posts() ) : the_post(); // Post stuff // … $cats = wp_get_post_categories( $post->ID ); foreach( … Read more

A simple script/plugin to display specific page upon hierarchy of selections

Well, you already have the two particular category IDs, so list the sub-categories. Like so: $cat_list_1 = wp_list_categories(array( ‘echo’ => 1, ‘child_of’ => FIRST_CAT_ID_HERE, ‘title_li’ => ‘A Name for This’, ‘depth’ => 2, // or whatever you like )); $cat_list_2 = wp_list_categories(array( ‘echo’ => 1, ‘child_of’ => SECOND_CAT_ID_HERE, ‘title_li’ => ‘Another Name for This’, ‘depth’ … Read more

Custom taxonomy archive not showing posts of certain child taxonomies

What you are calling “filter” is just a HTML select element. You need the put the select element in a form and filter the posts based on the selected option of this select element. For example, for the frontend: The form: <form method=”post” action=”<?php echo get_post_type_archive_link(‘rlt_rule’);?>”> <?php $filter_taxonomy = ‘rlt_rule_headline’; wp_dropdown_categories( array( ‘show_option_all’ => ‘Show … Read more