Closed webmaxo closed 2 years ago
Hi, you should translate your content first, so code above should be something like:
<title><?php echo qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage(get_field('title_cat', $queried_object));?></title>
Thank you very much. Problem solved
Hello, I've run into a problem with the acf. Created the Text fields, tied them to the Product Category. wrote meta tags in 2 languages. and in the head I try to put it out like this
<title><?php the_field('title_cat', $queried_object);?></title>
as a result, I get [:ua]test 1[:ru]test 2[:]