For people, as me, that comes to this thread, looking for a solution, pll_get_post() is your function.
I think this is the easiest solution for this problem.
$the_translated_page = get_page_by_title( 'Custom page' );
$the_translated_page = pll_get_post( $the_translated_page->ID );
$the_translated_page_URL = get_permalink( $the_translated_page );
I’m pretty sure that this function (pll_get_post) was recently included in the plugin, or at least, it didn’t exists in 2013…
Hope it helps!
Related Posts:
- Remove the blog slug from WordPress Multisite root node
- What are options are there to implement a multi language site
- Post and Page Inheritance to subsites in a WordPress Network
- WP Multisite – multilanguage – swich to other language by click, but “same” content
- Using WP Multisite for multi language site? A good option?
- Multisite – how to remove the root ‘/’ site?
- Multisite wordpress and subdomain URL collisions
- How to manage multiple domain with different languages on each domain with single wordpress installation?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Should multi-language site using multi-site architecture have default language in base site?
- Multisite use language code as subdirectory
- How to use both British and American English?
- Removing /blog/ from multisites cause infinite redirection
- Problem in Internationalizing a plugin built for network level usage
- htmll lang=”de” but admin page in English
- Get Permalink of Network Blog Post
- WordPress multisite change language
- Multi-site: removing /blog from posts
- Permalinks not working using wordPress Networking with custom post types
- Multiple install for multilanguage. How to?
- MultiSite Move conjures duplicate URL
- Multi language site with same content
- WordPress Multilingual Theme using Multisite
- Should I use a multisite installation to achieve a multi-language site?
- Multilanguage site with two domains
- Redirect & permalink problems after moving multisite to a new server
- How to get permalink using get_blog_post function in a multisite?
- How to force change Network site multi language subdirectory base URL?
- Is the Multi site functionality a viable option for Country and Language targeting?
- Efficient way to handle translations with Multisite WordPress installation
- Multi-language site on different domains
- How to split existing blog into WordPress Multisites without breaking links?
- Can I safely remove banned names from WordPress?
- One blog inside another
- wordpress multisite permalink structure: mostly subdomains but not all
- Multisite WPLANG won’t save
- How to show only blog-domain instead of the whole permalink in the loop
- Create sub-domain for multisite and multi languages?
- Permalink with a Category and then a Post
- Changed sub-site to its own domain trigger 302 redirects for all page links
- how to have __() translating in languages different from admin?
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- Change Woocommerce languange on a multisite install
- Which Multi-language option for WordPress is best from an SEO and Woocommerce perspective?
- Some permalinks are not working and show 404
- Creating a multilingual multisite
- What is with the one month time limit for sub directory installs for multisite network?
- Change language for each website using multisite
- WordPress multilingual site to work with other plugins
- WordPress Multisite Permalinks on mapped domain = server 404 error
- Configure WordPress Multisite Pages with Custom Permalinks
- WordPress Multisite for multi-language
- Structure of multilingual and multiregional directory listing website for translation
- WordPress theme to support single website but with 3 sections for 3 languages
- Multiple Languages for each subsite on a Multisite
- Multisites with different root directory
- WordPressMU: URL change and broken permalinks/links
- Blog switch wpml string translation (multi-site)
- Synchronize wordpress site between two different servers
- Get the post URL from wordpress posts
- Configuring Multisite with subdomains
- How can I have different langauges in wp-admin on a multisite installation?
- Moved my site to new host now getting 404
- Network created blogs URL
- Add blog languages to blog-name inside my-site-list in admin-bar
- Help on setting up correct path for sites in multisite-setup
- cannot access subsites in wordpress multisite
- Multiple domains for with a single instal
- Remove blog slug from WPMU?
- first load of the page gives 404 error
- Permalinks in Multisite not working
- How to remove index.php from a tag or archive page URL in the root blog?
- Multisite: should /blog go to a 404 page?
- multi-language multi-site with REST API
- Plugin for editing options on multisite?
- Change wordpress Multisite default site from side id 1 to side id 2
- How can I have network sites not use year/month folders by default?
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- WordPress Multisite Login Access
- Switch_to_blog() outside wordpress
- Jetpack Blog Subscriptions on Multisite [closed]
- How to remove the Tools menu item from the WP-Admin menu
- Default content for a new site in multi site
- wordpress htaccess is hijacking my .mp4 files
- Is there a way to separate a site inside a network (multisite) into its own wp site?
- Why is ‘is_multisite’ returning true when it’s a single install?
- Forcing SSL Protocol for Multisite Subdomain Child Sites + cPanel Configuration
- Website DR using Multisite
- access the plugins for each role in WordPress multisite
- What sites are you registered to when joining a multisite?
- How to redirect one page on the subdomain
- Show buddypress profile fields in a multsite blog [closed]
- Multisite problem with unexisting paths to CSS etc
- Separated Theme file on multi site network in subdomain
- register_setting() for single site vs update_site_option() for mu
- Sending SMTP mail using a server with self-signed SSL
- Comment reporting for Multisite
- How to display the most popular posts of all the blogs in a mu setup? [duplicate]
- WordPress MS wp-admin/includes/post.php error with shortcode generator
- All links to images are broken in a subdomain multi site environment