Skip Navigation

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

Problem:
The client is customizing a section on their website using PHP in the theme files. After activating the WPML plugin, the related projects section and navigation arrows disappear.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Deactivate the WPML plugins.
2. Open the theme options for extra post types in one browser tab.
3. Reactivate the WPML plugins.
4. Open the theme options for extra post types in another browser tab.
5. Add the same values as shown after deactivating the WPML plugins.
This should resolve the issue. If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket here.

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.

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by hazemS-5 6 days, 6 hours ago.

Assisted by: Noman.

Author Posts
February 6, 2025 at 10:45 am

hazemS-5

Background of the issue:
I am customizing a section in my website using PHP in the theme files. It was working fine until I activated the WPML plugin. This is the line of code I added (blog->get_related_portfolio(); } ?>) to get me the related projects. The section should be before the footer directly. Link to a page where the issue can be seen: hidden link

Symptoms:
The related projects section and the navigation arrows to the next projects disappear when the WPML plugin is activated.

Questions:
Why does the custom PHP code stop working when WPML is activated?
How can I make the navigation arrows appear with WPML activated?

February 6, 2025 at 1:34 pm
February 6, 2025 at 2:17 pm #16675953

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’m able to fix this issue by following the below steps:

1. Deactivate WPML plugins.
2. Open the Mrittik >> Theme Options > Extra Post Types > Portfolio page in one tab of the browser.
3. Activated WPML plugins.
4. Went to the Mrittik >> Theme Options > Extra Post Types > Portfolio page in another browser tab.
5. Added the same values as it shows after deactivating WPML plugins and the issue is gone.

Here is the direct page link: hidden link

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you for your cooperation

Portfolio.jpg
February 6, 2025 at 2:50 pm #16676173

hazemS-5

thank you