In polylang you can use the function pll_get_post($postID)
to get the id of the translated page like this:
<?php echo get_the_title(pll_get_post(52)); ?>
I’d be glad if you rate my answer if it was useful.
Related Posts:
- How to split up the_title and insert a span tag
- Get post/page title from ID
- How can i make wordpress blog title clickable and direct to the post itself
- Safe way to get the post ID in the_title()
- Replace post title based on conditions
- How to show users search phrase in SEO Title
- Problem with get_the_title in not rendering the way I want
- Replace get_the_title and the_exerpt with custom arrays
- Replacing the title in admin list table
- How to show all available images in WP’s media library when using the Polylang plugin?
- Is there any difference between the_title() and echo get_the_title()?
- Changing title of a page dynamically from within a plugin
- How to manually link posts to each other in WordPress
- WP_Query and polylang issue
- custom theme: english .mo file not working
- the_title() and the_permalink() won’t work on AJAX calls
- Remove “Private” + “:” in title does not work
- create users to site with specific language
- polylang translation of a custom post created by wp_insert_post()
- detect the language a post is written in
- Polylang – Remove slug of homepage in secondary language
- Get post title with link
- How to get page’s ID if I know the title only?
- the_title(); works in a page template, outside the loop. Why?
- Modifying recent post widget to include icons for post titles
- Replacing the title in admin list table
- Get Polylang available languages on admin page of my plugin [closed]
- How to add hook to the_title() and get_the_title()
- posts order by title second word
- get the_title_attribute by id
- custom field to always to .get_the_title()?
- Polylang get non-current language/s
- How to display thumbnail + tags + title of a child page?
- How to display on the blog page the posts corresponding to the selected language, using Polylang
- WordPress multilingual site using page-id.php files
- Multiple Conditions for Child Page Title
- Polylang: pll_e() & pll__() on functions.php, doesn’t work
- How to intercept Post Title on Post-Save
- WordPress multilingual website domain and folders
- Header Button Chance Polylang Elementor
- get_locale() behaving strange in same functions.php file
- Using polylang, how can I see which post is the “original” and which are the “translated children”? [closed]
- Filter get_the_title to remove certain characters?
- get_title without filter(the_title)
- Is there any difference between get_the_title() and single_post_title()?
- How to change the page title from functions.php
- Replicating the WP_Query ‘s’ param with $wpdb
- Long Post Title Misaligning Grid with Featured Image
- get_posts() loop returns the same the_title() for each post
- Can’t get title of latest post
- Including a post title in a twitter link
- the_title gives me the page’s title not the post title in the following code
- How to sanitize post title with commas
- How to link 2 categories (Sync)
- the_title filter returning wrong post type
- Should I include colon in my msgid in PO file?
- Using variables in polylang string translations
- How do I hide the current page’s title?
- Custom post type title is set by other custom post type
- WP action/filter to modify title before header output and article output?
- Enter a variable in the ‘category_name’ parameter
- wordpress get gallery images title
- Get url-friendly version of the_title?
- What to write in the htaccess in order to detect browser language and point accordingly?
- Custom post ui plugin & WP_Query – Polylang
- Don’t see add_filter result in the site front page
- Hide Polylang metabox from the post edit sidebar
- How to get the webshop page in 2:nd language, with Polylang and Hyyan
- Translations appear in the WP Customizer, but not on the website!
- Polylang post_translations key [closed]
- Changing the search url according to language
- How to import multiple language mutations to polylang?
- Posts gathered from WPEMatico feeds are being mixed in different languages. Polylang is used for language separation
- change title separator
- Polylang non-default language ignores tags in WP_Query
- Remove Category slug from link
- how i can add title to my featured image?
- Access get_the_title() from ‘excerpt_length’ filter
- Multisite – Parent site with Polylang with different domains for each language [closed]
- Display post content with respect to its title?
- polylang + category/tag custom language link
- WP_Query post_parent parameter always returns children of current page
- Blog Title not showing up on main Blog page
- get_comments not working consistantly with post_id
- How to output the title of the blogs home page
- Replace text in the Title
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- Get the ID of the default language equivalent page in Polylang [closed]
- Polylang not translating Metabox fields [closed]
- Wrong post title displayed from loop
- get_the_title outputs title until spacing; it does not get full length of title
- post_exists returning 0 if title contain special characters
- How to use get_the_title with text on the ‘alt’ of the_thumbnail array?
- WordPress Image Slider Looping Title Not Working
- Can’t properly set the_title add_filter to show short_URL
- the_title() is not displaying over the_thumbnail
- Get posts by language in Polylang plugin
- the_title not working
- single_term_title() running before get_the_title() [closed]
- Get title of post image is attached to