Using the Advanced Post Types Order plugin with WPML, you can synchronize the order of any custom post type across all your languages or set a different order for a specific secondary language.
On This Page:
- Getting Started
- Synchronizing the Order of the Custom Post Type Across Languages
- Setting a Different Order for the Custom Post Type in a Secondary Language
- Translating Other Advanced Post Types Order Texts
- Known Issues
- Getting Help
Start by installing and activating the following:
If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through different translation options you can use.
Note: Before you begin re-ordering, you need to translate all the custom post types you want to reorder into your chosen secondary language(s). You then need to create an Archive page for these custom post types and translate it. To learn how to translate your custom posts, see our documentation about translating custom post types.
Using the Advanced Post Types Order plugin, you can re-order any default WordPress post types or custom post types on your site. For the purpose of this tutorial, we will use the Avada theme and re-order our Portfolio custom post types:
- Go to Portfolio → Re-Order.
- In Sort List Settings, set the Post Type to Portfolio (avada_portfolio) and click on the Create button.
- You should see a new section called WPML Synchronize. Select Yes to synchronize the order across different languages and then click on the Settings Update button.
- Scroll down to the Manual Order/Automatic Order section. Here, we will reorder our Portfolio items manually. In the Manual Order tab, drag and drop the Portfolio items you want to re-order. Then, click on the Update button.
On the front-end, you can view your translated Archive page to see the Portfolio items synchronized between the default language and the secondary language:
To manually set a different order for custom post types in the secondary language of your choice:
- From your dashboard, go to Portfolio → Re-Order.
- In the WPML Synchronize section, select the No option and click on the Settings Update button.
- In the top admin bar, use the language switcher to switch to your secondary language.
- Scroll down to the Manual Order/Automatic Order section. In the Manual Order tab, drag and drop the Portfolio items in your secondary language to re-order them. Then, click Update to save your changes.
You should now see your Portfolio items in your secondary language re-ordered on the front-end.
Besides the content coming from posts and pages on your site, there are usually some additional texts coming from other places. These texts usually come from your theme and plugins.
To learn how to translate these texts, read our documentation page about String Translation.
If you need help translating your site built using Advanced Post Types Order and WPML, visit WPML’s support forum.