0

I have posts in two languages, managed by WPML.

In one post, I share multiple links which are updated in a regular basis. Updating the same links for both languages is not an option (for now I only added this post in one language).

Which is the best way to define links text and URL only once, and reuse them in both languages?

I could code a shortcode and manage the links by code, but I would like to know if there is any plugin or other approach to accomplish this (I already did my research with no luck).

0

I found the solution by using this plugin:

Global Content Blocks

I defined the links in Content Blocks. Then, all languages have the same shortcode pointing to a block. So, I only need to update the Content Block and the update propagates to all languages.

0

Try WPML Sticky Links module. It does exactly what you need.

3
  • I already use it. Sticky Links only works for internal links, the links I refer to are from external domains.
    – IvanRF
    Aug 26 '16 at 17:16
  • So practically you want to partially duplicate post content. (only links) Since post duplication works only one entire post content. Aug 26 '16 at 17:54
  • Yes, the plugin I mention in the other answer is really powerful. I'm currently using it for more than just links :)
    – IvanRF
    Aug 26 '16 at 22:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.