How to make front end form only accept certain values

you will probably want to use term_exists http://codex.wordpress.org/Function_Reference/term_exists to check if the term is “valid”. Probably worth checking how good is that API with mismatched cases. Another option is to use AJAX to populated your input control base on the user input. I am almost sure there is some jquery plugin for that, and then … Read more

How to group posts and get a mixed posts and groups view?

A custom taxonomy makes perfect sense – here’s hoping I haven’t missed something: $songs = get_posts( array( ‘post_type’ => ‘song’, ) ); $index = array(); // Build an album_id => songs index foreach ( $songs as $song ) { if ( $albums = get_the_terms( $song->ID, ‘album’ ) ) $index[ $albums[0]->term_id ][] = $song; else $index[ … Read more

Custom taxonomy link opens under Posts

I had the same problem even though my taxonomy was registered to Users. Found the answer at Custom user taxonomies in WordPress by Justin Tadlock (see the comments for the post). Add this to your code (replace YOUR_TAXONOMY with the proper name): function fix_user_tax_page( $parent_file=”” ) { global $pagenow; if ( ! empty( $_GET[ ‘taxonomy’ … Read more