WPML Support
- This topic has 1 reply, 1 voice, and was last updated 6 years, 10 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › GovIntranetters › WPML Support
Tagged: bilingual, document finder, WPML
Has anyone had any success creating their govintra site bilingually with WPML? Most of the site seems compatible however i’m having issues with the document finder.
It appears the way the template calls in the categories and displays ALL categories rather than the categories for sepirate languages. Weirdly the ‘Document type’ works flawlessly.
The template i’m uing is ‘Document finder A to Z’ and the file is called ‘template-document-finder.php’ located in the ht-media-atoz plugin directory.
if any one could share their modifications to make this work that would be fantastic!
I managed to get this to work with the help of a colleague.
This is a pretty bespoke problem but essentially the category array was re-wrote with a filter applied to only display current language within the document finder page template.
It also required the WPML Language URL format setting to be set as ‘different languages in different directory’s’
On a side note, it appears i’ve been blocked from visiting the ‘help.govintra.net’ site with a 403 error. Is there a reason my IP has been blacklisted? I can load the site fine via VPN or on my home network.
Cookie | Duration | Description |
---|---|---|
comment_author_email_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_url_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
wordpress_logged_in_[hash] | Indicates when you’re logged in, and who you are, for most interface use. | |
wp-settings-{time}-[UID] | This is used to customize your view of admin interface, and possibly also the main site interface. |
Cookie | Duration | Description |
---|---|---|
_ga | 2 years | Used to distinguish users. |
_gat | 1 minute | Used to throttle request rate. |
_gid | 24 hours | Used to distinguish users. |