Problem:
The customer reported that after migration to a new address using the Duplicator plugin, some of the content translated using the WPML string translation feature is still showing the old address links.
Solution:
During troubleshooting, I noticed that the Duplicator plugin had properly replaced the base URLs in the database, but they needed to be updated in the 'MO' file that WPML maintains for those string translations.
Suggested going to WP Admin -> WPML -> Support and click the blue 'Troubleshooting' link and then click the 'Show custom MO Files Pre-generation dialog box' which regenerates the MO files.
Problem:
The customer asked how to select a specific post/page in the view with the field of the content template so that it is used for the preview.
Solution:
Guided that the "View with" selection field at the top of the content template editor, automatically shows the most recently modified pages/posts. If the content template is assigned to any specific post type, only posts from that post type are shown.
To quickly set any specific page/post in this "View with" field, you can follow these steps:
1. Go to the edit screen of the target preview page/post that you'd like to select in your content template.
2. On the edit screen, you'll see the option to select a content template in the right settings panel. You can select the target content template in this field and save the changes.
3. After that, when you'll visit the edit screen of the target content template, you'll see that the target preview page/post will be available in the "View with" field's dropdown. You can select it and save the template.
4. In the last step, you can go back to the edit screen of the target preview page/post and select the default option 'Template Dynamically Assigned by Toolset' in the content template selection field.