Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate a custom post type archive page using a template file in a child theme, but the translated page appears differently than the original language template.
Solution:
The issue is related to the specific archive template in your child theme, located at

themes/monochrome-pro/archive-trustee.php

on line 83. If this functionality was custom-built and not provided by the theme authors, it is recommended to consult with a certified WPML developer who can help adjust the code. You can find a developer here: https://wpml.org/contractors/.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket at WPML support forum.

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 8 replies, has 1 voice.

Last updated by Marcel 2 weeks, 1 day ago.

Assisted by: Marcel.

Author Posts
January 8, 2025 at 10:12 pm #16575565

barjD-2

Thank you Marcel, I really appreciate help in understanding this.

When you say that the theme is a paid product, I see that is true for the parent theme, which is the Genesis Framework. But the child theme can be considered custom code.

Can you confirm that you believe the issue is with the way the Genesis Framework "theme processes the listing URLs"?

If so, can you tell me how I would word a support request to them about this?

January 9, 2025 at 12:55 pm #16577822

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

Just to clarify, Monochrome Pro is included in the Genesis Pro license, along with all their child themes. Free themes, however, are only available through a WP Engine hosting account.

Can you confirm that you believe the issue is with the way the Genesis Framework "theme processes the listing URLs"?

Yes, it appears to be related to the encoding issue mentioned earlier.

Certain functions may not properly handle Unicode characters if they are not correctly encoded. The authors may need to implement a different approach.

I tested the issue by encoding the permalink using esc_url() and rawurlencode() to handle Unicode characters, but the problem persists. This suggests the issue may be related to the server’s handling of Unicode or the database's character set/collation.

I’m not sure about the exact process for opening support requests, but as a hidden link">StudioPress client, you should be able to access their support platform via their website.

Best regards,
Marcel

January 9, 2025 at 9:27 pm #16579917

barjD-2

Thank you Marcel. The reason I'm asking if you believe the issue is with the parent theme, is because the child theme has been modified, even though it is part of the StudioPress child theme collection. For example the custom post type in question is not part of the default Monochrome Pro theme when it comes 'out of the box.'

Could you help me understand if you feel the issue is in the child theme, or something to do with the overall way that the Genesis Framework handles the permalink via the Parent theme?

Based on this knowledge, I'd be able to explain to StudioPress that the issue is unlikely to be with the child theme itself. Or if it is, I'd have some direction to begin testing with Monochrome Pro 'out of the box'. Or... find out if we need to hire a developer to solve the issue with our very specific custom post type archive template file.

Your help with this will help us narrow down the issue, so we know what our next steps are.

Thank you.

January 10, 2025 at 9:17 am #16580883

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

The issue is related to the specific archive template in your child theme, as mentioned earlier: themes/monochrome-pro/archive-trustee.php on line 83.

Please note that if this functionality wasn't provided by the theme authors (which I was not aware of until your previous message) and was custom-built, it is not their responsibility to implement any fixes.

If the functionality was implemented using custom code, I recommend reaching out to a certified WPML developer who can help adjust the code accordingly: https://wpml.org/contractors/.

Best regards,
Marcel