[wordpress插件] CC-Link-ShortcodeCC-链接-短代码

wordpress 插件 文章 2020-03-19 14:20 461 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin adds the shortcode [a] to replace html tag.

此插件添加了简码 [a] 来替换 html标签。

Its primary function is to simplify internal linking.

它的主要功能是简化内部链接。

Now you don’t need to worry about changing the permalinks and correcting the appearance of the permalink in your posts/pages.

现在,您无需担心更改固定链接并更正固定链接在帖子/页面中的外观。

You can only paste ID of post/page into the shortcode and the plugin will handle everything for you.

您只能将帖子/页面的ID粘贴到简码中,该插件将为您处理所有事情。

When opening a post/page the shortcode renders the permalinks and titles of linked posts/pages based on the pasted IDs.

打开帖子/页面时,短代码会根据粘贴的ID呈现链接的帖子/页面的永久链接和标题。

Usage

用法

Basic: [a {post_ID}] Example: [a 123] Returns: {post_title}<

基本: [a {post_ID}] 示例: [a 123] 返回: {post_title} <

/a>

/ a>

Custom link text: [a {post_ID}]{link}[/a] Example: [a 123]Example Post[/a] Returns:

自定义链接文本: [a {post_ID}] {link} [/ a] 示例: [a 123]示例Post [/ a] 返回:

>Example Post

> 示例帖子

External link: [a {url}]{link}[/a] Example: [a http://example.com]Example Link[/a]

外部链接: [a {url}] {link} [/ a] 示例: [a http://example.com]示例链接[/ a]

> Returns: Example Link

>返回: 示例链接

Additional parameters: [a {post_ID} {param_name}="{param_value}"] Example: [a 123 target="_blank"] Returns:

其他参数: [a {post_ID} {param_name} =“ {param_value}”] 示例: [a 123 target =“ _ blank”] 返回:

>{post_title}

> {post_title}

安装步骤

From your WordPress Dashboard

从您的WordPress仪表板中

    1. Go to ‘Plugins > Add New’
    2. 转到“插件>添加新内容”

    3. Search for ‘CC-Link-Shortcode’
    4. 搜索“ CC-Link-Shortcode”

    5. Activate the plugin from the Plugin section in your WordPress Dashboard.
    6. 从WordPress信息中心的“插件”部分激活插件。

    From WordPress.org

    来自WordPress.org

      1. Download ‘CC-Link-Shortcode’.
      2. 下载“ CC-Link-Shortcode”。

      3. Upload the ‘cc-link-shortcode’ directory to your /wp-content/plugins/ directory using your favorite method (ftp, sftp, scp, etc…)
      4. 使用您喜欢的方法(ftp,sftp,scp等)将“ cc-link-shortcode”目录上传到您的 / wp-content / plugins / 目录

      5. Activate the plugin from the Plugin section in your WordPress Dashboard.
      6. 从WordPress信息中心的“插件”部分激活插件。

下载地址
https://downloads.wordpress.org/plugin/cc-link-shortcode.zip
-EOF-

AI助手支持GPT4.0