BigRJD
Forum Replies Created
-
Forum: Plugins
In reply to: [A-Z Listing] No output from multiple terms in an array.I managed resolve the issues I was having.
I have the taxonomies set up in a way where a custom post type is using multiple taxonomies and in each of the taxonomies they have several terms associated with it been applied to that post.
I used the following code to
query
the two taxonomies needed.the_a_z_listing(array( 'post_type' => 'stores', 'posts_per_page' => '1', 'order_by' => 'menu_order', 'order' => 'ASC', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'store-business', 'field' => 'slug', 'terms' => business-slug ), array( 'taxonomy' => 'products-sold', 'field' => 'slug', 'terms' => array('product1-slug', 'product2-slug') ), ), ) );
As a side note the issue I had regarding the multi-colomn coming back blank was because I was missing a semicolon somewhere.
Forum: Plugins
In reply to: [A-Z Listing] No output from multiple terms in an array.I am currently finding that when I query out the results I can get both the terms I need, however the moment I wrap the
$args
withinthe_a_z_listing()
only the first term returns from the array.I used the plugin Custom Post Type UI to create the custom posts and taxonomies. Could there be a conflict between the 2 plugins causing the issue?
Forum: Plugins
In reply to: [A-Z Listing] No output from multiple terms in an array.I would just like to add, is it possible to add
the_a_z_listing
to a custom SQL, which calls the database for certain parameters?Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Display Response Array from the debug email?I have figured it out, I am using the below code.
class MyPlugin { public function MyPlugin() { add_filter('Forms3rdPartyIntegration_service', array(&$this, 'adjust_response'), 10, 2); } public function adjust_response($body, $refs) { // use 'attach' to inject to regular email // use 'message' to inject to page //$refs['attach'] = 'custom message in email'; $refs['message'] = $body; // <---- this } } new MyPlugin(); // attach hook
It would be nice however to be able to create a URL redirect at this point and including in that the paramaters of $body.
Any suggestion on how to proceed?