This is the working code:
// latest edition
$taxonomies = array(
'jjm_editions'
);
$args = array(
'orderby' => 'ID',
'order' => 'DESC',
'hide_empty' => false,
'number' => '1'
);
$terms = get_terms($taxonomies, $args);
foreach ( $terms as $term ) {
$term_link = get_term_link( $term );
if ( is_wp_error( $term_link ) ) {
continue;
}
echo '<a href="' . esc_url( $term_link ) . '">' . $term->name . '</a>';
}
Related Posts:
- get_terms return errors
- Fast way to add countries as a custom taxonomy term?
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- Display all subterms of a custom taxonomy filtered by parent terms
- Post filter with multiple checkbox taxonomy terms
- issue with saving custom metaboxes fields
- Custom terms in custom category taxonomy
- How can I select a primary category?
- Custom taxonomy: same terms, but for different years
- How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1
- Reproducing hierarchical list output from wp_list_categories(), using get_categories()
- How to Register and Display Widget for Custom taxonomy
- Show Custom Taxonomy Slug(s)?
- Custom Taxonomy Archive not displaying entries
- Exclude custom taxonomy tag from loop
- Adding action to save_post, post needs to be saved twice for function to work
- Hide custom field if empty
- Filter posts by custom taxonomy terms
- Function to remove archive sidebar for custom taxonomy?
- Set terms in a custom post
- Get posts of ONE taxonomy term of custom post type
- Automatically check parents (in a taxonomy) when child is selected
- How to add textarea field to taxonomy (tag)?
- Custom Status of Custom Post type need to EXCLUDE from Taxonomy pages
- How can I get the custom post type assigned to a current custom taxonomy for query?
- wp_query get post custom taxonomy in search.php
- How to get every custom taxonomy names and urls?
- Display specific Taxonomy Term from Custom Post Type
- Semi complicated custom taxonomy question
- Get wordpress taxonomy slug name(s) to use as div class
- How do I list custom taxonomy terms with the links?
- Echo the Last Child Taxonomy only (not parents)?
- How to query term_id of a Custom Taxonomy by name
- Use wp_list_categories to list parent categories from actual term
- How to show parent taxonomy using get_the_terms?
- wp_insert_post custom taxonomy multiple Category not added
- query variables for custom taxonomies
- If Term Name Exists, Append a Unique ID to Slug
- My list of terms of custom taxonomy displays 7 times
- Display Custom Taxonomy Name As A Shortcode
- Taxonomy template is not reading
- URL issue after setting up Custom Structure in Settings >> Permalinks
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- Combine Categories & Custom Taxonomy
- Custom dropdown search form that allows users to select option B based from Option 1
- Taxonomy template by post type
- How to loop through 1 CPT with 2 Taxonomies
- How to setup a taxonomy that can have only one post assigned to it?
- Make Terms Under Custom Taxonomy Use Specific Single.php Template
- Grouped custom taxonomy query
- Delete Term via edit-tags.php
- Create advanced portal website with sections – taxonomy usage?
- Custom Query for Taxonomy
- Adding a third custom taxonomies
- Running Gutenberg React in Development Mode
- Is there a blank theme framework compatible with WP 3.0? [closed]
- Plugin SVN & update API – how are plugins identified?
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- Custom Search Query
- Managing Images for a WordPress Blog: Picasa or Flickr?
- tax_query: What to pass when I want to have all terms?
- Add a term to an attachment submitted from front end
- Show post page only if the user has bought a specific product
- custom headers for static home page and posts page
- Best way to implement a thumbnail-based gallery in WordPress?
- Avoid duplicate post from same Taxonomy
- How to remove buttons from the WP Editor on the edit post page in the admin area
- WordPress Locale Switching on Accept-Language Header
- Setting posts_per_page for taxonomy term template
- How do I call in a category title on a category page in a child theme?
- Include custom JS without child theme
- WordPress media uploader – upload tabs not hiding
- how to convert Html block to dynamic widget?
- Is There a Difference Between Taxonomies and Categories?
- Custom Log In Screen – Disable password recovery [duplicate]
- orderby in query_posts
- Don’t change Custom Post Type slug to unique value
- Shop page custom buttons which is visible to only administrator
- Insert menu with a custom walker into page / post body using shortcode?
- Woocommerce custom field calculation
- How to load a mycred hook from a plugin?
- toggle Multiple Loop with tittle
- problem saving/ retrieving custom meta with wp alchemy metabox
- How To make Custom page of every Category
- Global theme customization multisite
- How to style bootstrap container in WordPress?
- Altered Media Library URLs
- generate a static copy of the website footer html
- Multi-site customization
- Admin menu disable new/delete page
- Show different pages on site depending on user choice
- Is there a way to limit multi upload in media upload box?
- 404 for some custom taxonomy not ALL taxonomy
- How to support extra color options for shortcodes?
- retrieve theme custom settings
- pull custom fields values from wp-database in a nested foreach loop
- Pass query param to custom page
- Custom CSS File wont work on second Page
- How to create a shortcode with HTML code in it and custom parameters/
- Taxonomy Archive URL + Template