ccoppen
Forum Replies Created
-
Forum: Plugins
In reply to: [Query Wrangler] Can’t figure out how to show taxonomy in fields.Hey Jonathan,
Thanks for your reply. I have no problem with having to write a custom callback. I was just hoping it would be easier through the plugin itself.
I’ll see what I can accomplish on my end over the next day.
Forum: Plugins
In reply to: [Query Wrangler] Can’t figure out how to show taxonomy in fields.It’s a custom taxonomy called Locations.
Basically, I have a custom post type of team members (employees). Each is at a different location.
I have an exposed filter for my custom taxonomy of locations, which works fine, but I would like to group my listing of team members by their location.
I’m including my export of the query here:
$query = array ( 'name' => 'qw_employees', 'slug' => 'qw_employees', 'type' => 'widget', 'path' => NULL, 'data' => array ( 'display' => array ( 'title' => '', 'style' => 'unformatted', 'row_style' => 'fields', 'post_settings' => array ( 'size' => 'complete', ), 'field_settings' => array ( 'group_by_field' => '__none__', 'fields' => array ( 'meta_image' => array ( 'type' => 'meta_image', 'hook_key' => 'meta_image', 'name' => 'meta_image', 'weight' => '0', 'meta_value_count' => '1', 'meta_value_separator' => '', 'display_handler' => 'acf_default', 'are_image_ids' => 'on', 'image_display_style' => 'thumbnail', 'label' => '', 'custom_output' => '', 'classes' => 'left', 'empty_field_content' => '', ), 'post_title' => array ( 'type' => 'post_title', 'hook_key' => 'post_title', 'name' => 'post_title', 'weight' => '1', 'label' => '', 'rewrite_output' => 'on', 'custom_output' => '<h2>{{post_title}}', 'classes' => '', 'empty_field_content' => '', ), 'meta_position' => array ( 'type' => 'meta_position', 'hook_key' => 'meta_position', 'name' => 'meta_position', 'weight' => '2', 'meta_value_count' => '1', 'meta_value_separator' => '', 'display_handler' => 'acf_default', 'image_display_style' => 'thumbnail', 'label' => '', 'rewrite_output' => 'on', 'custom_output' => '<h3>{{meta_position}}</h3>', 'classes' => '', 'empty_field_content' => '', ), 'post_content' => array ( 'type' => 'post_content', 'hook_key' => 'post_content', 'name' => 'post_content', 'weight' => '3', 'label' => '', 'custom_output' => '', 'classes' => '', 'empty_field_content' => '', ), ), ), 'template_part_settings' => array ( 'path' => '', 'name' => '', ), 'header' => '', 'footer' => '', 'empty' => '', 'wrapper-classes' => '', 'page' => array ( 'pager' => array ( 'type' => 'default', 'previous' => '', 'next' => '', ), ), ), 'args' => array ( 'posts_per_page' => '-1', 'post_status' => 'publish', 'offset' => 0, 'sorts' => array ( 'date' => array ( 'type' => 'date', 'hook_key' => 'post_date', 'name' => 'date', 'weight' => '0', 'order_value' => 'DESC', ), ), 'filters' => array ( 'post_types' => array ( 'type' => 'post_types', 'hook_key' => 'post_types', 'name' => 'post_types', 'weight' => '0', 'post_types' => array ( 'employee' => 'employee', ), 'exposed_label' => '', 'exposed_desc' => '', 'exposed_key' => '', 'exposed_settings' => array ( 'type' => 'select', ), ), 'taxonomy_location' => array ( 'type' => 'taxonomy_location', 'hook_key' => 'taxonomy_location', 'name' => 'taxonomy_location', 'weight' => '1', 'operator' => 'IN', 'is_exposed' => 'on', 'exposed_label' => 'Location', 'exposed_desc' => '', 'exposed_key' => '', 'exposed_settings' => array ( 'type' => 'checkboxes', ), ), ), ), ), );
The following link is where I’m displaying it.
https://www.hprc.net.php56-9.dfw3-2.websitetestlink.com/employees/On another note, I’d like to replace that search box with one that’d search the team members only through the query, say an exposed filter for the post title, but I don’t see the post title in the filter options.
I apologize if I’m actually posting feature requests here. I’ve done so much stuff with Drupal Views, that using this in WordPress is like a dream, but it seems it’s missing stuff. If this needs to be in it’s own thread, then we can move it there. This is a great plugin, btw.
Forum: Plugins
In reply to: [Query Wrangler] Can’t figure out how to show taxonomy in fields.yeah, that’s pretty much what I have. It appears I may not be able to do what I want to do, unless the developer chimes in. It also appears you wrote a custom function for your callback.
Thanks.
Forum: Plugins
In reply to: [Query Wrangler] Can’t figure out how to show taxonomy in fields.I would like to display a particular taxonomy as a field and group by that taxonomy. In Drupal, using views, this is a no-brainer. Seeing as how this is supposed to be similar to Drupal Views, I’m wondering how to do the same thing. What you’ve done appears to be similar to what I want to do, excepting the grouping.
Forum: Plugins
In reply to: [Query Wrangler] Can’t figure out how to show taxonomy in fields.What was your final solution? I need to grab the taxonomy and group by a specific taxonomy.