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
- Switch between WordPress multisite language
- How to use WordPress Multisite With Different Domain Names?
- How To Add Custom Form Fields To The User Profile Page?
- Where are available Roles Defined in the wp_ database?
- restore_current_blog() vs switch_to_blog()
- Can i merge 2 new WP_Query($variable) ‘s?
- How to disable a network enabled plugin for just one site?
- How to reliably flush rewrite rules on multisite?
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- Cookies in multisite where network sites have their own domain name
- Convert a Multisite WordPress install into a Single site
- WordPress MultiSite Active Directory integration and site privacy
- WordPress Job Interview Preparation
- How to add Custom Blog Options to new blog setup form?
- How can I trust switch_to_blog()?
- Why are my roles not visible in a Multi-site/Network?
- Site admin in a network install can’t edit users?
- How to use same email for multiple users
- How to run an activation function when plugin is network activated on multisite?
- Specific upload folder for PDFs in custom Post type in WP multisite
- What is the correct way to map multiple domains in a WordPress 4.1 multisite install?
- Where can I find documentation on what characters are allowed in user names and why?
- How to migrate subsite from dev multisite to production multisite
- How can I un-reserve a pending username registration?
- How do I remove/delete an old super admin user?