The site works with WPML (latest version), in 2 languages : EN and FR.
And Kalium 2.0.5 version.
How can I set a translated title for the portfolio page (using the portfolio template and 'portfolio' slug) ? If I set the title in the options, It's not recognized as a string to translate by WMPL, and the same title is used for FR and EN.
If I do not use the portfolio template and create a customized portfolio page with distincts slugs (such as 'realisations' for FR and 'works for EN) and if I add inside (with VC) a text block (for title) and a portfolio block below, I can of course set a title that is different for both languages. But once in a portfolio item page, the button to go back to portfolio uses a single URL that cannot have to values (FR and EN) in the kalium options. So URL is wrong in one language.
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
We looked this issue, we will need to login into FTP and check if we can have a multi-lingual portfolio archive, and make sure you provide the whole FTP credentials as you can see previously your link was not included in the credentials table.
I have logged in to your FTP and analyzed the problem. I saw that you are using an old version of WPML (3.3.8) and current version is 3.6.3 and also old version of Kalium as well (1.9.4.2) and current version is 2.0.6.
So if you update the WPML first and the problem is solved then you don't need to update the theme to fix this problem.
The issue remains the same : I cannot set a distinct portfolio slug for both languages so the portfolio back button goes back to the correct portfolio page (FR or EN).
If I uses the default slug ('portfolio') for both languages, I cannot set a distinct title (FR and EN) for the porfolio page.
Yes default URL (using 'portfolio' slug) are correct in both languages as you can see I do not use 'portfolio' as slug for my portfolio pages but 'realisations' (FR) and 'works' (EN) (2 pages that include Portfolio Visual composer blocks). In this case the back button does not work because if I set a custom portfolio slug (in your options), I cannot set it for both languages.
If I use 'portfoiio' as slug, back button URLS are ok for both languages, but I cannot set the portfolio page title in both languages. Because your options panel does not support multilanguage.
I have checked the id of portfolio page which is 7, then added in$portfolio_page_id = 7and now archive URL is pointing correctly to the portfolio page.
Hello,
The site works with WPML (latest version), in 2 languages : EN and FR.
And Kalium 2.0.5 version.
How can I set a translated title for the portfolio page (using the portfolio template and 'portfolio' slug) ? If I set the title in the options, It's not recognized as a string to translate by WMPL, and the same title is used for FR and EN.
If I do not use the portfolio template and create a customized portfolio page with distincts slugs (such as 'realisations' for FR and 'works for EN) and if I add inside (with VC) a text block (for title) and a portfolio block below, I can of course set a title that is different for both languages.
But once in a portfolio item page, the button to go back to portfolio uses a single URL that cannot have to values (FR and EN) in the kalium options. So URL is wrong in one language.
Can you help ?
Thank you for your support,
Stephane
Hi Stephane,
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread. To include your credentials click Insert Credentials button in editor toolbar. (See how)
Best regards,
Laborator Team
Hello Art,
Here are my admin credentials.
Thanks,
Hi there,
Cannot access your site, this is what I am getting when trying to enter it:
(view large version)
Best regards,
Laborator Team
The website is www.buischaer.com
Hi Samixm,
We looked this issue, we will need to login into FTP and check if we can have a multi-lingual portfolio archive, and make sure you provide the whole FTP credentials as you can see previously your link was not included in the credentials table.
Best regards,
Laborator Team
Art, sorry for the missing URL.
Here is a FTP access, you will find a fullbackup (today) in /web/wp-content/uploads/backwpup-7c5b70-backups
Hi Stephane,
I have logged in to your FTP and analyzed the problem. I saw that you are using an old version of WPML (3.3.8) and current version is 3.6.3 and also old version of Kalium as well (1.9.4.2) and current version is 2.0.6.
So if you update the WPML first and the problem is solved then you don't need to update the theme to fix this problem.
Hi Arlind,
WMPL is now updated and Kalium too (but 2.0.5).
The issue remains the same : I cannot set a distinct portfolio slug for both languages so the portfolio back button goes back to the correct portfolio page (FR or EN).
If I uses the default slug ('portfolio') for both languages, I cannot set a distinct title (FR and EN) for the porfolio page.
Thank your for your support,
Knd Regards,
Stephane
Hi Stephane,
I have checked sample portfolio item:
French:
http://www.buischaer.com/creation-dune-habitation/
English:
http://www.buischaer.com/en/creation-dune-habitation/
On French version when I click the four squares icon it sends me to this page:
http://www.buischaer.com/portfolio/
On English version when I click the four squares icon it sends me to this page:
http://www.buischaer.com/en/portfolio/
So the correct language is shown for each current language.
HI,
Yes default URL (using 'portfolio' slug) are correct in both languages as you can see I do not use 'portfolio' as slug for my portfolio pages but 'realisations' (FR) and 'works' (EN) (2 pages that include Portfolio Visual composer blocks). In this case the back button does not work because if I set a custom portfolio slug (in your options), I cannot set it for both languages.
If I use 'portfoiio' as slug, back button URLS are ok for both languages, but I cannot set the portfolio page title in both languages. Because your options panel does not support multilanguage.
Thanks,
Kind Regards
Hi Stephane,
After adding the following code in the end of functions.php file it fixed the problem:
I have checked the id of portfolio page which is 7, then added in
$portfolio_page_id = 7
and now archive URL is pointing correctly to the portfolio page.I hope this works fine for you.