add_query_arg to look up page title

It depends a bit on what are your exact status slug and title and page title are, but something like this should work, if I understand you correctly: $page = get_page_by_title($status->name.” tickets”); echo ‘<li><a href=”‘.get_permalink($page->ID).'”>’ .$status->name.’ (<span>’.$counts[$status->slug].'</span>)</a></li>’;

Author template – separate custom post type by custom taxonomy term for $curauth

Got the answer, encase anyone else needs it, here it is. <?php $currauthor_id = get_the_author_meta(‘ID’); $terms = get_terms(‘your_taxonomy’, array( ‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘hide_empty’ => 1, ) ); foreach ( $terms as $term ) { $myquery = new WP_Query( array( ‘author’ => $currauthor_id, ‘post_type’ => ‘post_type_name’, ‘your_taxonomy’ => $term->slug, ‘posts_per_page’ = > -1, … Read more

Problem importing categories and sub-categories

You have error in your PHP. This array(‘parent’, $id_parent) will produce numeric array with two values – string parent and value of $id_parent. What you actually need is array( ‘parent’ => $id_parent ) which will produce correct associative array with one entry of key parent and value $id_parent.

Delete Term via edit-tags.php

“<a class=”delete-tag” href=”” . wp_nonce_url( “edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id”, “delete-tag_’ . $tag->term_id ) . “‘>” . __( ‘Delete’ ) . “</a>”; $tag->term_id It’s exactly what it says, where did you define $tag? Also, I’m assuming $id is the $tag->term_id, so you might want to use $id instead.

install.php Custom Taxonomy Term not being added to custom post

I believe I found the solution here: http://codex.wordpress.org/Function_Reference/wp_set_object_terms wp_set_object_terms( $post_id, $terms, $taxonomy, $append ); wp_set_object_terms( 4, $cat_id, ‘example_product_cat’); This is still placed inside of the install.php file. If there is a better solution, please add! Thanks. Roc.