it looks like your get_terms() call is incorrect, the argument is not an array and you have a typo in taxonomy name (‘product_category’ instead of ‘product_categories’) it should be
<?php
$terms = get_terms( array(
'taxonomy'=>'product_categories',
'hide_empty'=> false
) );
?>
If this will not help it would be best if you could let us know if you are seeing any error message and if you do paste the error here.
Related Posts:
- How to modify a taxonomy that’s already registered
- Change order of Custom Taxonomy List
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- How To Change Custom Taxonomy To Radio Buttons
- Custom order of terms for custom taxonomy in admin and website
- RSS Feed for posts containing any term from a taxonomy
- Front End Post Save Child terms
- Page queried instead of a custom taxonomy
- Pros and cons of using [taxonomy name] in place of [category name]?
- Custom Taxonomy terms with latest post ordered by date pagination issue
- drop-down list another query
- Echo taxonomy term meta on author.php
- Custom taxonomy template not working
- custom taxonomy archive permalink shows 404 error
- is there any limit of length on creating custom taxonomies?
- List only first-level children of specific custom taxonomy term
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- get_terms of post->id
- get / list categories and counts filtered by custom taxonomy term
- WordPress renames slug of tags used in multiple taxonomies?
- How to get a list of taxonomy terms which are being used only within certain post types?
- Taxonomies: display hierarchical parent list
- how to search in custom fields & custom taxonomy for custom search
- List Custom Taxonomy Based on Post Count & Category
- Custom taxonomies as product variations
- Display an image instead of tag name?
- Echo specific term in an array
- wp_insert_post not updating custom taxonomy selected if logged in as a subscriber
- Print terms with taxonomy and metabox value
- List taxonomies according to whether this post is in another taxonomy in taxonomy archive
- Create and set templates for custom taxonomies
- Rewrite URL for taxonomy listing
- Taxonomy template shows only 10 posts
- Pagination on custom taxonomy
- Return terms from multiple taxonomies using $wpdb
- How to show all possible parents and children of a hierarchical taxonomy term?
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- How to show all post related taxonomies
- Creating terms vs custom post meta to save data?
- Sticky posts or Featured posts only on Homepage
- Custom Taxonomy
- How to use taxonomy term as a value of get_template_part?
- Limit number of posts in wp loop
- querying posts by custom taxonomy terms right from a querystring based URL
- How Parent Taxonomy automatically added to the post when using `wp_set_object_terms()`?
- How to set custom capabilities for custom taxonomies?
- Handling Multi-level custom taxonomy hierarchy
- Take a custom taxonomy value and save as a standard Product Tag
- Check If Taxonomy A and Taxonomy B has same Slug, 301 Auto Redirect Tax A to Tax B if True in WordPress
- Reverse order of posts in a certain taxonomy archive?
- How do I get term data associated with the current post, where the result is not wrapped in HTML?
- Custom taxonomies mixed into categories and tags in Post edit page
- How to show post list based on taxonomy term?
- How to get product order by two custom taxonomy in wordpress
- WordPress autocomplete search with taxonomies
- Display empty custom taxonomies differently than with one with posts
- Custom Taxonomy Not Saving in Front End Post
- How to list Custom Taxonomy
- remove term from custom taxonomy list
- Display taxonomy with a maximum number of letters
- Taxonomy archive template not working
- Dropdown list of taxonomies won’t display selected
- Display Child Categories of Current Post ID
- Taxonomies specific to Page attribute template
- Creating a drop-down and filter button for two custom taxonomies assigned to a custom post type
- custom taxonomies on pages
- Set two terms for a post when they differ only by an accent
- Unknown column ‘wp_posts.ID’ in ‘field list
- Custom taxonomies registered via plugin stop existing after function finishes running
- Echo ACF taxonomy field within a foreach for another taxonomy
- Keeping session instance of random display results over pagination breaks
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- How can I rewrite the URL of my custom taxonomy to include the year?
- Infinite Scroll appending Next Product Category Term pages
- Listing Cities A custom taxonmy by selection order
- Template taxonomy-{taxonomy}.php doesn’t show my posts
- Count tags for current post and save into custom meta field (and update it on post edit)
- Problem registering custom taxonomy
- Limit Tag Links in Post Content
- Passing taxonomy id of taxonomy clicked on one page to another page
- Custom Taxonomy Not Being Recognized by is_tax()
- How to truncate the description in the admin panel for a custom taxonomy
- Get all users attached to a taxonomy
- Permalinks incorrectly inserting multiple categories
- How do you move custom fields to custom taxonomies using WP Queries
- Why is it defaulting to “uncategorized” even after I select a custom taxonomy
- Where to put code to get custom taxonomy term id?
- Get one custom taxonomy category
- Select default taxonomy on dropdown
- Creating a page for custom taxonomy archive
- WordPress Taxonomy Menu
- Insert code on specific taxonomy archives
- How can I query for all values of a custom taxonomies?
- Returning info from MYSQL table via custom taxonomy
- get_term_children specific no id
- custom texonomy category child category list with parent head
- is_tax not working for custom taxonomy
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
- wp_add_object_terms cant recognize a post ID
- Foreach for get_the_terms for hierarchical taxonomy don’t repeat Top Level Terms if contains multiple Second Level Terms