Resources
Most popular categories
Other categories
Latest Posts
How to create a custom language switcher in MultilingualPress
In this tutorial we will create a custom language switcher using the MultilingualPress API. We will start creating a simple language menu and then convert it to a select dropdown.
How to copy post meta to the remote sites
This code snippet shows how to copy post meta to the remote site(s). In the example it gets the value of yoast_wpseo_title post meta from the request and then updates
How to programmatically connect content
If you want to connect content programmatically across sites you need to know the IDs of the posts you want to connect beforehand. So let say that we have 3
How to get connected post IDs by current post ID
To get an array of connected posts you can use the translationIds function. That method is the equivalent of mlp_get_linked_elements in MultilingualPress 2: The first parameter is the source post
How to get content translations programmatically
In order to get current content translations of the current post in MultilingualPress, you can use the Translations class passing the arguments via TranslationSearchArgs. Here is an example: add_filter('the_content', function($content)
MultilingualPress 2 to 3+ Migration Tool
This tool provides you a fast and easy solution to migrate your WordPress Multisite content from MultilingualPress version 2 (MLP 2) to version 3 and higher (MLP 3+). Please note:
MultilingualPress-Yoast-SEO-Sync
What is MultilingualPress-Yoast-Seo-Sync for? MultilingualPress-Yoast-Seo-Sync helps you to manage the metadata of the Yoast SEO plugin for translated posts or sites in your MultilingualPress network. The addon provides additional Yoast
How to manually migrate from MultilingualPress version 2 to version 3 and higher
MultilingualPress 2 to 3+ Migration Tool has been released! This tool lets you easily load your content from the MultilingualPress version 2 to version 3 and higher. So, you don’t
How to translate custom post types and taxonomies
In this document we explain you how to translate custom post types and taxonomies in MultilingualPress. To demonstrate it, we’ll create a WordPress Multisite installation with two connected sites. We
MultilingualPress and WordPress 5.0 (Gutenberg)
We are almost there: on 27th of November WordPress will change its editor and it will not be a small change. In fact the new WordPress 5.0 will include Gutenberg in