{"id":10849,"date":"2010-10-14T01:35:37","date_gmt":"2010-10-14T01:35:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bilingual-linker\/"},"modified":"2025-09-28T16:01:39","modified_gmt":"2025-09-28T16:01:39","slug":"bilingual-linker","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/bilingual-linker\/","author":1830,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.4.2","stable_tag":"2.4.2","tested":"6.7.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"Bilingual Linker","header_author":"Yannick Lefebvre","header_description":"","assets_banners_color":"a7acab","last_updated":"2025-09-28 16:01:39","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ylefebvre.github.io\/wordpress-plugins\/bilingual-linker\/","header_plugin_uri":"https:\/\/ylefebvre.github.io\/wordpress-plugins\/bilingual-linker\/","header_author_uri":"https:\/\/ylefebvre.github.io\/","rating":4,"author_block_rating":0,"active_installs":70,"downloads":13983,"num_ratings":6,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.1":{"tag":"2.0.1","author":"jackdewey","date":"2013-08-11 14:52:11"},"2.3.6":{"tag":"2.3.6","author":"jackdewey","date":"2022-12-22 21:40:08"},"2.3.7":{"tag":"2.3.7","author":"jackdewey","date":"2023-08-03 19:35:10"},"2.4":{"tag":"2.4","author":"jackdewey","date":"2023-12-03 16:10:59"},"2.4.1":{"tag":"2.4.1","author":"jackdewey","date":"2025-01-25 16:13:40"},"2.4.2":{"tag":"2.4.2","author":"jackdewey","date":"2025-09-28 16:01:39"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":2,"5":3},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":971124,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":971124,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":971124,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"bilingual-linker\/bl-lang-switcher":{"name":"bilingual-linker\/bl-lang-switcher","title":"Bilingual Linker Language Switcher"}},"tagged_versions":["2.0.1","2.3.6","2.3.7","2.4","2.4.1","2.4.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6370,537,2333],"plugin_category":[48],"plugin_contributors":[78871],"plugin_business_model":[],"class_list":["post-10849","plugin","type-plugin","status-publish","hentry","plugin_tags-bilingual","plugin_tags-link","plugin_tags-translation","plugin_category-language-tools","plugin_contributors-jackdewey","plugin_committers-jackdewey"],"banners":{"banner":"https:\/\/ps.w.org\/bilingual-linker\/assets\/banner-772x250.jpg?rev=971124","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bilingual-linker\/assets\/icon-128x128.jpg?rev=971124","icon_2x":"https:\/\/ps.w.org\/bilingual-linker\/assets\/icon-256x256.jpg?rev=971124","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The purpose of this plugin is to allow users to add a link to a translation version of a page or post in the admin and print this link on their blog, on a single post or or a page.<\/p>\n\n<p>You can try it out in a temporary copy of WordPress <a href=\"https:\/\/demo.tastewp.com\/bilingual-linker\">here<\/a>.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/bilingual-linker\/changelog\/\">Changelog<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/bilingual-linker\">Support Forum<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin<\/li>\n<li>Upload entire bilingual-linker folder to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin in the Wordpress Admin<\/li>\n<li>Add links to posts or pages in the Wordpress editor<\/li>\n<li>Use the OutputBilingualLink function in the loop to display a link to the item translation.<\/li>\n<\/ol>\n\n<p>OutputBilingualLink($post_id, $linktext, $beforelink, $afterlink);<\/p>\n\n<p>When using in The Loop in any template, you can use $post-&gt;ID as the first argument to pass the current post ID being processed.<\/p>\n\n<!--section=faq-->\n<p>There are currently no FAQs<\/p>\n\n<!--section=changelog-->\n<h4>2.4.2<\/h4>\n\n<ul>\n<li>Updated Plugin URI<\/li>\n<\/ul>\n\n<h4>2.4.1<\/h4>\n\n<ul>\n<li>Fixed potential security issue<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Added new navigation block to support FSE themes<\/li>\n<\/ul>\n\n<h4>2.3.7<\/h4>\n\n<ul>\n<li>Modification so header links always have trailing slash<\/li>\n<\/ul>\n\n<h4>2.3.6<\/h4>\n\n<ul>\n<li>Fix to output proper hreflang for the current page language. E.g. Was previously outputting de_DE instead of only de for German<\/li>\n<\/ul>\n\n<h4>2.3.5<\/h4>\n\n<ul>\n<li>Added output to page header to show alternate link for current page language<\/li>\n<\/ul>\n\n<h4>2.3.4<\/h4>\n\n<ul>\n<li>Add new option to be able to specify a custom coded condition to not display translation link<\/li>\n<\/ul>\n\n<h4>2.3.3<\/h4>\n\n<ul>\n<li>Change to address missing scripts in admin pages<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Adds language selection option in menu builder to be able to create menu items for multiple languages<\/li>\n<li>Adds text name to menu items in menu builder to facilitate managing multiple Bilingual Linker menu items<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Fixed issue with adding Bilingual Linker menu in Menu editor<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Added alternate language tags to page header based on user suggestion<\/li>\n<\/ul>\n\n<h4>2.2.4<\/h4>\n\n<ul>\n<li>Correction in donation link<\/li>\n<\/ul>\n\n<h4>2.2.3<\/h4>\n\n<ul>\n<li>Added support to display translation link when posts page is not front page<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Code fix to use bilingual link set in page editor if page is used as site front page<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fix for Bilingual Linker Menu item<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Added support for custom post type archive pages<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Fix for potential XSS vulnerability<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fix for menu items all showing translation link<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Added new item in WordPress menu builder to be able to easily add Bilingual Linker link to menu<\/li>\n<\/ul>\n\n<h4>2.0.8<\/h4>\n\n<ul>\n<li>Modified the_bilingual_linker function so it can accept arguments as an array<\/li>\n<li>Added new option url_only that only echoes or returns the translation URL. This option is only available when sending options as an array.<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>Corrected issue preventing users from specifying HTML in link test, before and after fields in admin panel<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Corrected issue with new menu suppression options<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Added options to hide translation link on front page, search page, archive pages and category pages<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Added option to be able to hide translation links on pages that don't have a translation<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Added shortcode [the-bilingual-link]<\/li>\n<li>Added field to configure hreflang<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Corrected PHP Warnings<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Corrected problem with category meta table creation code<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added support for multiple languages<\/li>\n<li>Added ability to assign translation links to categories<\/li>\n<li>Translation display link now works on all page types (front page, archives, search results, categories, tag)<\/li>\n<li>Created new display function (the_bilingual_link)<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Added option to specify whether the link should be echoed or sent as a function return value<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Added option to OutputBilingualLink to be able to provide a default URL to display if no translation link is found<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed problem with posts extra field getting deleted<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated Bilingual Linker to support network installations<\/li>\n<li>Changed data storage method to use post meta data instead of custom table<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added code to display Bilingual Linker on all post types, not only on posts and pages<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial functionality<\/li>\n<li>Ability to add custom link for translated text in post and page editors<\/li>\n<li>Ability to query this address from Wordpress theme<\/li>\n<\/ul>","raw_excerpt":"The purpose of this plugin is to allow users to add a link to a translation version of a page or post in the admin and print this link on their blog,  &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10849"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jackdewey"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10849"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10849"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10849"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10849"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10849"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}