Title: BigRJD's Replies | WordPress.org

---

# BigRJD

  [  ](https://wordpress.org/support/users/bigrjd/)

 *   [Profile](https://wordpress.org/support/users/bigrjd/)
 *   [Topics Started](https://wordpress.org/support/users/bigrjd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bigrjd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bigrjd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bigrjd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bigrjd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bigrjd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[A-Z Listing] No output from multiple terms in an array.](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/)
 *  Thread Starter [BigRJD](https://wordpress.org/support/users/bigrjd/)
 * (@bigrjd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/#post-10122089)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[A-Z Listing] No output from multiple terms in an array.](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/)
 *  Thread Starter [BigRJD](https://wordpress.org/support/users/bigrjd/)
 * (@bigrjd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/#post-10116386)
 * 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` within `the_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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[A-Z Listing] No output from multiple terms in an array.](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/)
 *  Thread Starter [BigRJD](https://wordpress.org/support/users/bigrjd/)
 * (@bigrjd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/no-output-from-multiple-terms-in-an-array/#post-10107695)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forms: 3rd-Party Integration] Display Response Array from the debug email?](https://wordpress.org/support/topic/display-response-array-from-the-debug-email/)
 *  Thread Starter [BigRJD](https://wordpress.org/support/users/bigrjd/)
 * (@bigrjd)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/display-response-array-from-the-debug-email/#post-6649988)
 * 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?

Viewing 4 replies - 1 through 4 (of 4 total)