get_template_part() not working with Advanced Custom Fields plugin

as you use multiple $testimonials i suppose those are group values. then you need to use get_sub_field() in place of get_field() so it should look like $term = get_queried_object(); $testimonials = get_sub_field(‘testimonials’,$term); echo $testimonials[‘small_title’]; echo $testimonials[‘main_title’]; echo $testimonials[‘description’]; Please refer to ACF documentation when you use non classical fields. https://www.advancedcustomfields.com/resources/group/

ACF under category name in shop page [closed]

If i understand you correctly here you want to display some text under each of the category titles on your shop page. Instead of editing the template i would suggest using a hook. To do this you should move your code into functions.php. The complete code would look something like this: add_action(‘woocommerce_after_subcategory_title’, ‘wpse_add_custom_text_under_category_title’, 10); function … Read more

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