Custom Post and taxonomies
-
Hi there, I know this topic has already been addressed, but I am not sure how to use the wpml-config.xml file nor the PHP filters. I tried both, but could not manage to get my CPT and taxonomies translatable.
With the PHP filters, I used the code from https://polylang.pro/doc/filter-reference/#pll_get_taxonomies
and I replaced ‘my_tax’ with my taxonomie name : recipe_cuisine
then I pasted the code in the php function file of my theme. Nothing. I also checked the box in the settings link of the Custom post types and Taxonomies module. Nothing.
With the wpml-config.xml file, I used only this part (see below) and paste it in the root directory of the plugin. In the result, I got an error and the plugin was deinstalled.
<wpml-config> ??? <custom-types> ??????? <custom-type translate="1">osetin_recipe</custom-type> ??????? </custom-types> ??? <taxonomies> ??????? <taxonomy translate="1">recipe_cuisine</taxonomy> ??? </taxonomies> </wpml-config>
The page I need help with: [log in to see the link]
- The topic ‘Custom Post and taxonomies’ is closed to new replies.