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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 0 replies, has 0 voices.

Last updated by Dražen 4 months, 2 weeks ago.

Assisted by: Dražen.

Author Posts
November 28, 2024 at 12:13 pm

pavlinaD

Background of the issue:
I am trying to apply template conditions in the Bricks Theme to display only for specific terms, such as a particular category, but the condition does not apply correctly in the translated templates. I am experiencing this issue with a template for a custom post type post. I have implemented the workaround suggested here: https://wpml.org/errata/bricks-theme-template-conditions-not-applied-correctly-in-translated-templates/comment-page-1/?unapproved=9065985&moderation-hash=9f2364b11a4be5f815395cc531d02e51. I also tried translating the template using the WordPress editor and resaving settings and translations after the change. The issue can be seen on this page: hidden link.

Symptoms:
The template condition does not apply correctly in the translated templates. The design created with a single template in the English version is not applied across translations, as seen in the example where it doesn't work: hidden link.

Questions:
Is there something else I can try to resolve the issue with template conditions not applying correctly in translated templates?

November 28, 2024 at 12:37 pm
November 28, 2024 at 12:37 pm #16455033

Dražen
Supporter

Languages: English (English )

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

Hello,

here is the ticket, please let me know when the staging site is ready and I will take a further look.

Thanks,
Drazen

The topic ‘[Closed] Assistance with Bricks Theme: Template Conditions Not Applied Correctly in Translated Templates’ is closed to new replies.