Pass data between pages
If there is a referrer ($_SERVER[‘HTTP_REFERER’], it’s not the best but could do the job here), you can retrieve the taxonomies as Mark proposed and inside the loop you display only the on corresponding to the referrer.
If there is a referrer ($_SERVER[‘HTTP_REFERER’], it’s not the best but could do the job here), you can retrieve the taxonomies as Mark proposed and inside the loop you display only the on corresponding to the referrer.
This is not a complete answer, but I hope this can help. It sounds like what you’re looking for is a “Faceted” navigation (or search or browsing) plugin. There are some plugins that do this already, like this one (from the FCC!). It’s possible that none of the existing plugins will match your needs, but … Read more
I think you can use directors_row_actions & clients_row_actions. Also you can use tag_row_actions which is called for every taxonomy. It accepts 2 parameters, first being the actions & 2nd being the term object. You can use this term object to filter out which actions you want to change
I’m not hundred percent sure but I think the widget in scribu’s plugin, Query Multiple Taxonomies, works exactly as you described. You can find plenty of resources on the subject on his blog. This plugin lets you do faceted search using multiple custom taxonomies. It has a drill-down widget with multiple display modes. Said widget … Read more
I fixed it by using the following code: $current_term = $wp_query->get_queried_object(); $termid = $current_term->term_id; Works quite well
Three methods: Don’t use taxonomies at all, just store the ID of the associated posts as post meta Create a taxonomy, and remove the ability to edit/delete/create terms. Then use automation to catch the hooks for the creation, editing, and deletion of Place posts, and create/edit/delete the associated terms in the taxonomy. Use the Posts2posts … Read more
As you hinted in your question, you could use get_term_by() to return an object or array containing the term’s id, then use it to update that term. Something like this should work: $your_term = get_term_by( ‘slug’, ‘your_slug’, ‘your_taxonomy’ ); if ( false !== $your_term ) { wp_update_term( $your_term->term_id, ‘your_taxonomy’, $args ); } References: http://codex.wordpress.org/Function_Reference/get_term_by http://codex.wordpress.org/Function_Reference/wp_update_term
get_the_tags() returns an array but the indexes do not start at 0 because they are the term ids.
I would take a look at this page on the Codex: http://codex.wordpress.org/Class_Reference/WP_Query I think you need to override your query_posts() for your landing page, and controlling different queries with if() statements, depending on what areas of a form (guessing you’re using a form?) has filled in. For example: // Carry pagination through $args = array( … Read more
I’m fairly certain that the taxonomies have nothing truly in common except posts that they share, so I think you can’t avoid running an actual query of posts, in order to learn which categories are candidates for your criteria. While, it may not be computationally the best method, you could do something like this… $args … Read more