Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by Laura 2 months, 1 week ago.

Assigned support staff: Laura.

Author Posts
July 7, 2020 at 11:03 am #6538201

garyO

At the moment the only possible way is to set the taxonomy as translatable

July 10, 2020 at 7:07 am #6565729

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

our second tier created a taxonomy.php template and it worked for both translatable and not translatable taxonomies.

Can you please give us more details about how to reproduce the issue?

July 10, 2020 at 8:15 am #6566207

garyO

Hi,

The issue lies with custom taxonomy types and it not using the correct template for the custom taxonomy type.

If I register a custom taxonomy for example:

register_taxonomy('custom-taxonomy', 'post', [
	'rewrite' => ['slug' => 'custom-taxonomy'],
]);

I would expect to be able to use the template structure of taxonomy-{taxonomy}.php so in this case taxonomy-custom-taxonomy.php but it just defaults back to using taxonomy.php.

July 10, 2020 at 10:41 am #6568085

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

thanks for the clarification, I reported this to the 2nd tier

July 14, 2020 at 7:57 am #6589347

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

the issue is now escalated to developers, I'll send you news as soon as possible.

July 9, 2021 at 2:18 pm #9165987

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

The issue should have been fixed in the latest WPML update.