[wordpress插件] Bilingual Linker双语链接器

wordpress 插件 文章 2020-03-05 04:10 453 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

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.

此插件的目的是允许用户添加指向页面翻译版本或管理员中帖子的链接,并将此链接打印在其博客上的单个帖子或页面上。

安装步骤

    1. Download the plugin
    2. 下载插件

    3. Upload entire bilingual-linker folder to the /wp-content/plugins/ directory
    4. 将整个双语链接器文件夹上载到/ wp-content / plugins /目录

    5. Activate the plugin in the WordPress Admin
    6. 在WordPress管理员中激活插件

    7. Add links to posts or pages in the WordPress editor
    8. 在WordPress编辑器中添加指向帖子或页面的链接

    9. Use the OutputBilingualLink function in the loop to display a link to the item translation.
    10. 在循环中使用OutputBilingualLink函数以显示指向项目翻译的链接。

    OutputBilingualLink($post_id, $linktext, $beforelink, $afterlink);

    OutputBilingualLink($ post_id,$ linktext,$ beforelink,$ afterlink);

    When using in The Loop in any template, you can use $post->ID as the first argument to pass the current post ID being processed.

    在任何模板的“循环”中使用时,可以将$ post-> ID用作传递当前正在处理的帖子ID的第一个参数。

下载地址
https://downloads.wordpress.org/plugin/bilingual-linker.zip
-EOF-

AI助手支持GPT4.0