56 reputation
6
bio website
location London
age
visits member for 1 year, 7 months
seen 12 hours ago

Apr
12
awarded  Teacher
Apr
12
answered Conditional IF statement not returning true even though echo of $user->province is correct
Apr
12
answered Custom Post Type single and archive pages are not working
Apr
12
answered Selecting which pages to display custom post type on using checkbox
Apr
12
awarded  Scholar
Apr
12
accepted How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Apr
11
awarded  Editor
Apr
11
revised How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
added 91 characters in body
Apr
11
comment How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Thanks, I couldn't get this to work in the end. But I used your if( $post->post_type != 'targeted-post-type' ) return; code to target my post type. I had to add global $post; above to get it to work though.
Apr
11
answered How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Apr
11
comment How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Thanks, that makes sense. They're just registered custom taxonomies. Is it easier to create them via add_meta_box in terms of setting priority? I would have done that, but I would like them to function as categories, not tags or standard meta input boxes.
Apr
10
awarded  Commentator
Apr
10
comment How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Oh and also, this changes the meta boxes for every single post type. How do I target just one?
Apr
10
comment How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Thanks for this. I use a few custom meta boxes already though. How about if I just wanted that specific taxonomy meta box to be displayed there, and the rest in their usual order? I'm unsure how to target a specific one...
Apr
10
asked How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
Mar
27
comment Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu
Thanks a lot for the help. The previous developer has coded the templates in such a way that he uses a few queries for an A-Z feature, so I think I'll just stick with what is working for now and use pre_get_posts in future. I have used it before on another project, but that was modifying the main query to only use a custom post type. Anyway, thanks again for the help!
Mar
27
comment Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu
I'd love to make it more efficient, but I don't see how its needlessly running an extra query if I can't get it to work using the functions.php method... The code I'm using is: 'if( isset($_GET['county']) ) { $args = array_merge($wp_query->query, array( 'orderby' => 'title', 'order' => 'asc', 'meta_query' => array( array( 'key' => 'venue_county', 'value' => $_GET['county'], 'compare' => '=' ) ) ));'
Mar
27
answered Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu
Mar
27
comment Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu
It is a query used on an archive page of a custom post type.
Mar
27
asked Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu