You’ve converted $taxonomy_id_list
to a comma separated string then shoved that string into an array. Your array now looks like
array(
"1,2,3,4"
);
That is not going to match any author ID.
You are misunderstanding what implode
does. This–1,2,3,4,5,6,7
— is a set of integers. If place in the array like this– array(1,2,3,4,5,6,7)
— you get an array with 7 arguments. If you implode
the IDs and put that into the array you have this– array("1,2,3,4,5,6,7")
— an array with one argument.
Just skip this step: $taxonomy_id_list = implode(',', $taxonomy_group_ids);
$taxonomy_group_ids
, if it implode
s the way you say, is already the array you need. There is no need to implode it only to try to reconvert it to an array.
Related Posts:
- How to add images to taxonomies?
- Custom Taxonomy and Tax_Query
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Manipulating cookie on specific taxonomy archive page
- Combine multiple custom user taxonomy in single url
- Removing the base “Author” or changing it to something else. is it possible?
- Advanced Tax Query
- Improving WP_Query performance for multiple taxonomies
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- How can I display all post IDs from the taxonomy?
- Get ID and slug from taxonomy object
- How to display custom taxonomy in multiple columns?
- Custom taxonomies making WP very slow – Way to fix?
- How to count the number of terms in a taxonomy
- Sorting taxonomy columns by meta value numeric
- Get Taxonmy Term ID For Current Post
- Display sub categories and their data of a taxonomy
- Advanced Query Logic With Multiple Taxonomies
- Display only first level children of my custom taxonomy categories
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- Changing stylesheet depending on custom taxonomy terms
- How do I taxonomy terms based on terms they are used alongside?
- Custom taxonomy [year] is directing to yearly archive
- Get posts by term slug only
- Taxonomies on custom taxonomies
- Add Custom Taxonomy for Blog Meta Info
- Search Tool only refreshes Page without showing results
- Getting associated taxonomies
- How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?
- limit post by a taxonomy in the admin
- How to add images to taxonomy terms? [duplicate]
- Proper WP conditional tag to check for existing taxonomies to list out terms with wp_list_categories?
- one post per term taxonomy
- Show only the sub-categories (and their content) of the current custom taxonomy with ‘taxonomy.php’
- Using Advanced Custom Fields Relationship Field to select a taxonomy term
- Custom arguments in WP_Query
- check if a taxnomy queried in $wp_query?
- List custom taxonomies associated to an author’s posts
- WP_Query tax_query – Show results if child has parent X
- Query custom taxonomy for category including children
- How to get related taxonomies based on a category with mysql query?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- Add terms to a taxonomy archive from within the same taxonomy
- Is it possible to filter a taxonomy archive by other taxonomies that are on posts?
- Conditional if is single and part of the custom taxonomy
- Fill New Taxonomies
- Custom Taxonomies Archive Page 404
- WordPress taxonomy terms archive template help
- Make relation of custom taxomies
- List active taxonomy terms
- taxonomy query on front page
- Best Method to Switch Between Terms (Custom Taxonomy)
- How do you search for a post by custom taxonomy?
- Next/Previous links in custom taxonomy, where item may belong to multiple terms
- How to query authors by custom taxonomy?
- Automatically Populate Post Taxonomy Data Based on Post Author Meta Data?
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- How to get multiple Taxonomies not All Taxonomies?
- WordPress Taxonomy Menu
- Primary Taxonomy for Post
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- wp_get_object_terms count on taxonomies within an category archive
- List posts grouped by children of a custom taxonomy
- Make custom post type display with custom taxonomy in url
- Hook to filter based on form value and insert term
- Change get_author_posts_url / Author URL via filter
- Complex Taxonomy scheme
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- Foreach for get_the_terms for hierarchical taxonomy don’t repeat Top Level Terms if contains multiple Second Level Terms
- Replace post author in header by custom taxonomy
- get_term_by not working when in functions.php
- How much faster is a tax query than a meta query?
- Custom Taxonomy Template not respecting ‘include_children’ => ‘false’
- List Custom Taxonomy Values according to a Post Meta Value
- 404 for a custom taxonomy?
- How to display featured images for all posts with certain taxonomy label?
- Adding Age Based WordPress Category
- Get posts by querying taxonomy and certain terms of the taxonomy?
- List of Registered Taxonomies of Current Post
- How do I display a custom field from a custom taxonomy in single.php?
- Avoid taxonomy-%term%.php if more than one taxonomy
- Proper use of wp_get_object_terms
- forward/redirect taxonomy archive of term to a page with same name
- How to add a date creation field when a custom taxonomy relationship is created?
- Replicate Drupal form options as taxonomies?
- custom taxonomies label in hebrew
- filter for thumbnail not working for custom taxonomy term
- Custom taxonomy only gets saved in quick edit
- Get post meta value outside of the loop
- Change link of taxonomy when get_the_term_list( is used?
- Get link for taxonomy to show top-level terms
- Invalid taxonomy with custom script
- Multi level archive
- Display List of Categories Within a Custom Taxonomy
- How to add meta fields to custom taxonomy add/edit page?
- Passing a variable to register_taxonomy()
- Linking custom taxonomies and posts
- Trying to achieve row posts below category with multiple loops in custom tax