In your PHP file…
$context['topicTax'] = Timber::get_terms('topic');
Timber::render('my-template.twig', $context);
… is the correct structure. The problem is that WP’s get_terms
returns “dumb” objects that don’t have methods for retrieving ACF info. If you still run into issues, verify that those objects are Timber\Term
s rather than WP_Term
Also, if you’re looking for the more active forum: StackOverflow is where I normally manage/do support
Related Posts:
- Remove Category description textarea
- WordPress implode & wp_insert_post question
- Add custom taxonomy fields when creating a new taxonomy
- Get value in custom field with taxonomy [closed]
- “show option all” on list categories doesn’t display taxonomy
- Hide custom field if empty
- ACF vs Taxonomies
- display taxonomy slug from term ID
- Display Taxonomy Terms in an option tag with value being the slug
- How to add contents of a custom field to a taxonomy term list?
- Search Tool only refreshes Page without showing results
- Display value of custom field of custom taxonomy in single post?
- How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?
- Multi-select field for Taxonomy can’t save the value
- Redirect to another page using contact form 7? [closed]
- Targeting categories in custom fields
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Filter through custom taxonomy with an array of taxonomy IDs
- Loop through custom taxanomy in post and display custom fields from posts
- Why do my quick edits for custom taxonomies not show on the post frontend?
- How can i add service category here? [duplicate]
- new custom filed not showing in taxonomy
- Custom field with terms from another taxonomy programmatically
- ACF – Can’t get custom post type by taxonomy
- How to show category list in WordPress
- Dropdown (with onChange) with custom taxonomies
- Add and Custom category for posts “PAGE”
- How to Manage and link certain custom taxonomy?
- Register custom taxonomy from a Advenced custom field option page
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- Any way to make custom taxonomy field searchable?
- Converting Categories (with ACF fields) to custom taxonomies
- How do I create a term for every value of a post meta?
- Get taxonomy names by post id
- Combine two taxonomies in a hierarchical tree
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Return only the custom sub-term for custom post type, do not echo term-parent
- Get total number of comments from posts in a specific custom taxonomy
- Custom taxonomy on users with UI
- Post tags saving as both tag name & tag ID on post update when tags are displayed as checkboxes
- Is it possible to sort the post based on a custom field?
- Display sub-taxonomies based on SELECTED parent-taxonomy
- Checking if a Page has an Associated Term?
- Displaying ACF image field [closed]
- How get custom field from custom taxonomy?
- What are terms and taxonomy, how they related to post and how these three are stored in database?
- How to get the number of child categories a specific parent category has?
- Get terms ordered by post date
- Display link to taxonomy archive only if it has posts with certain custom field values
- How can I get WP to build a feed based on multiple taxonomy terms
- Change permalink of post if it belongs to custom taxonomy
- Get pages only with a specific taxonomy
- Share taxonomy between user and posts?
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- How to obtain the link/URL to the feed of a custom taxonomy?
- get_term_children doesn’t return an array of children terms
- Get taxonomy parent using child slug (from merged taxonomies)
- Custom taxonomy [year] is directing to yearly archive
- How to get the id from the custom category?
- Conditional display for custom fields/taxonomy
- Query posts by taxonomy with current term
- Hierarchy and access control for Custom Post Types (CPT)
- How to “group” (categorize) the Pages together?
- problem in taxonomy-{taxonomy}.php pagination
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Best structure for entering recipes in a WordPress theme?
- How to add images to taxonomy terms? [duplicate]
- Why get_page_template() doesn’t show taxonomy template file name?
- Website loading slowly – Advanced Custom Fields images
- Get name of taxonomies of current page
- How to get attached image to taxonomy..?
- How to get posts by category and by choosing a taxonomy term?
- How to get list of only custom taxonomies?
- Same menu for different taxonomies to reach different content
- Query custom taxonomy for category including children
- Assign a custom post to a custom taxonomy based on custom field value
- Filter by Custom Taxonomy AND Custom Field
- How can I get Taxonomy Images to work with ‘orderby’ argument?
- Amend taxonomy to search in wordpress admin
- Unique taxonomy for post
- get_the_terms has strange result since version 6.0
- ACF – Retrieve custom taxonomy from a relationship field
- add pagination in wordpress page template
- how do you pull data from two taxonomies?
- problem : Custom taxonomy template not showing
- Custom dropdown list taxonomy not saved
- How to get all the terms from a custom hierarchical taxonomy via REST api?
- Get post meta value outside of the loop
- Unable to create a new taxonomy
- Change link of taxonomy when get_the_term_list( is used?
- Renaming default category taxonomy?
- WordPress search form and search result through ACF field in custom taxonomy
- How to show selected check box vendors on front end home page?
- How to add a post with new Taxonomy without assigning to default category?
- Creating a list with multiple categoreis and options
- Using wp_query is it possible to orderby taxonomy?
- Custom Fields link to other pages, not search
- Custom Taxonomy Template Variables Available?
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post