Two Jetpack settings are known to break WPResidence on the front end. They look unrelated to the theme, so they are easy to miss. If your buttons stopped working, or your property images will not upload, check these first. Both were confirmed on a live customer site running WPResidence on WordPress.com hosting with Jetpack active. […]
Third Party Plugins Compatible
How to translate WP Residence Studio templates with WPML
The templates from the WPResidence Studio option can be translated with WPML. The option to make the templates translatable needs to be made from admin-WPML-Settings-Post Types Translation, set the WPResidence Studio Templates (wpestate-studio) to be translatable
WpResidence and WPML (optional plugin)
IMPORTANT – Please keep in mind that WPML is a multilanguage plugin that is paid. Must be installed and used separately from the theme. Getting Started with WPML To use WPML with WPResidence, you need a paid WPML plan. Once purchased, you can install WPML on your site by downloading the plugin from your WPML […]
WPML Language Switched display in top bar
Add this css in Custom CSS for horizontal selector of languages -> top bar position .top_bar .widget-container ul li { width: auto; } .wpml-ls-legacy-list-horizontal .wpml-ls-item { padding: 0px 10px 0px 0px; } .wpml-ls-legacy-list-horizontal { border: 0px solid transparent; padding: 0px; } Help article for how to add custom CSS
WPML – How to translate Recent Items Shortcode Categories Filters
Translate the categories You can manage the traslate status from WPML -> Settings -> Taxonomies Translations Translate the page from wp-admin -> Pages Edit each page in each language Clear theme cache if you use it so categories list updates from the translations made above Refresh the edit page in 2nd language and find the […]
WPML – Shows duplicate translated categories in 2nd languages
If you see double categories (translated categories) in property card or blog post, check in WPMl this setting is un-checked and save it as in the screenshot
WPML – How to translate Custom Fields
WPML documentation: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ Add your custom fields in theme options in default language Go to WPML Settings -> Custom Fields -> Look for your custom field lable -> Mark “translate” -> Save Go to WPML String Translation to translate the Labels. You should find several places, depending on where you use the custom fields If […]
Set WPML language for wp-admin backend
To set only 1 default language for wp-admin is a WPMl setting. Follow this help https://wpml.org/documentation/getting-started-guide/language-setup/setting-the-wordpress-administration-language/#convenient-content-editing-for-rtl-ltr-sites
WPML + User Roles Translated in Login Modal
Add this code in WPML->Settings->Custom XML Configuration (tab) for the user roles translations to show in all WPML languages <wpml-config> <admin-texts> <key name=”wpresidence_admin”> <key name=”*” /></key> </admin-texts> </wpml-config>
WPML – Displaying Untranslated Content on Pages in Secondary Languages
Please see this tutorial on how WPML can display Untranslated Content on Pages in Secondary Languages https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/
Weglot Multi Language Plugin and Stripe and Paypal payments
PayPal and Stripe merchants require that the processor payment page is unique. This cannot be translated to other pages. For payments to work in other languages you must exclude these 2 pages from translation. How: Use the Exclude URL feature (WordPress Dashboard > Weglot) Add http://yourdomain.coml/stripe-processor/ in the list. Check that this url is exact permalink name of […]
WPML – Translate Property Title in Unit Cards
Enabled WPML for AJAX actions Go to WPML settings and make this setting: Your properties will show the translated title in Property Units
WPML – Show a different size and lot size measurement in 2nd language
Check wpml-config.xml You should have the following line If you don’t have this line, you can add it through wpml settings Translate measurement from String Translation Check front end to confirm it’s working
WPML – Translate Property Custom Taxonomies
First make sure you have taxonomies set to Translate in WPML Settings Unlock options if they don’t match how you wish to handle taxonomies Change options as you wish
How to use a Cache Plugin with Measurement Widget + Multi Currency Widget + Login
As long as you use any cache plugins, the plugins will cache cookies as well. You can set to exclude all these cookies from your caching system (applies to multi currency, multi-measurement widgets) my_custom_curr my_custom_curr_pos my_custom_curr_symbol is_user_logged_in wpestate_favorites EX: How to exclude from Fastest Cache plugin Ex: How to exclude from WP Rocket plugin
Recommended plugins for SEO
These suggestions are based on clients experience All in One SEO – doesn’t need any extra setting for duplicate titles SEO YOAST – but requires making extra settings for duplicate titles
Weglot Custom CSS for Language Dropdown
How to use custom css – https://help.wpresidence.net/article/how-to-add-custom-css/ .wg-drop.country-selector:not(.closed) ul { display: block; background-color: white; max-height: 300px; overflow-y: auto; visibility: visible!important; opacity: 1!important; margin-left: 0px!important; padding-top: 0px!important; width: 169px!important; } .wg-drop.country-selector .wgcurrent a { padding-right: 60px!important; }
Custom Permalinks for Property URL
How to create your custom permalink structure with Wp Residence properties: Step1: Install this plugin – Custom Post Type Permalinks Step2: Then go to Settings – Permalinks and for estate_property add Step3: Keep permalinks to custom from Custom Settings Step4: Check the Result How to create a custom permalink for Properties combining property categories With the same […]
Multi Language 3rd Party Recommended Solutions
Weglot: Plugin type: Paid Weglot is really easy to work with, doesn’t need to translate anything besides the labels and shows all bookings/properties in all languages without any hassle. You get bookings synced automatically which WPML cannot do unless you translate manually and that is the biggest plugin of all. Register for an account: https://dashboard.weglot.com/register […]
Redirect pages
Use the “Quick Page/Post Redirect Plugin” to redirect certain pages to a page url you wish.
Custom Order for Taxonomies / Categories
There is a plugin that has more sorting options and allows you to order in which order you wish: Custom Taxonomy Order NE – https://wordpress.org/plugins/custom-taxonomy-order-ne/ Short example about how to use this plugin Open TERM ORDER settings and select the taxonomy you wish to change order for Set your custom order and save This will apply […]
WPML – Different results when logged in and when not logged in when using ajax filters
1. Go to WPML -> Languages 2. Scroll down to ‘Language filtering for AJAX operations.’ 3. Check the checkbox for the option ‘Store a language cookie to support language filtering for AJAX.’ 4. Press the save button. Please see attached screenshot store-cookies-for-ajax.jpg
How to use a cache plugin with Multicurrency widget dropdown
As long as you use any cache plugins, the plugins will cache everything, including the currency cookies and the currency switch will show your chosen currency only after cache is deleted from plugin. Exclude these cookies from being cached for the widget to work: my_custom_curr my_custom_curr_pos my_custom_curr_symbol NOTE: You can set to exclude all these […]
WPML – How to NOT translate properties
In WPML – Multilingual content setup you see that for Property post type it is set to translate. If you don’t wish to translate Properties you can change this option from wpml-config.xml And you have to set 0 instead of one to not translate. <custom-type translate=”0″>estate_property</custom-type>
WPML – Translate Features & Amenities
For new strings (like custom fields, features and amenities) to register – you must have the option to register new strings on. We recommend to keep it only when you’re logged in as admin as this is a setting that will slow down your site if used on limited servers. Also, since 3.0 version new […]
WPML – How to translate custom post slug
WPML may change settings during plugin updates. If the below settings are not as in the screenshot, please confirm with WPML support how to translate the slug for custom post type. For sure it’s possible as it was working when WPML provided help instructions below. About the permalinks, you can translate the permalinks for the […]
WPML – how to translate email notifications
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ To send emails in a 2nd language, please see below. There are 2 strings for the emails. The one that is sent to user is the one you see with wpestate_email in front The other one, with no function name in string translation, was used BEFORE we added Email Management, and it doesn’t apply […]
WPML – set pins to work for all languages
You must follow all these steps: a. In all your taxonomy translation follow this rule – Titles must match slugs. Edit slugs from Category – Edit Category if WPMl doesn’t allow you to edit the slugs from their settings. b. Add Pins to action + category combination in every language. Switch language from top bar. […]