Custom taxonomy if statement

I’m guessing you want to display that information on a single post or a post type? is_tax() conditional tag is used to determine if the archive page of a particular taxonomy/term is displayed. (documented in codex) What you’re probably looking for is has_term() function (documented in codex). So in your case the full condition would … Read more

ACF Custom field not showing in Timber Taxonomy page

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\Terms rather than WP_Term Also, if you’re looking for the more active forum: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)