Title: VK Link Target Controller
Author: Vektor,Inc.
Published: <strong>2015 年 1 月 8 日</strong>
Last modified: 2026 年 4 月 16 日

---

搜索插件

![](https://ps.w.org/vk-link-target-controller/assets/banner-772x250.png?rev=3495095)

![](https://ps.w.org/vk-link-target-controller/assets/icon.svg?rev=3495095)

# VK Link Target Controller

 作者：[Vektor,Inc.](https://profiles.wordpress.org/vektor-inc/)

[下载](https://downloads.wordpress.org/plugin/vk-link-target-controller.1.10.0.zip)

 * [详情](https://cn.wordpress.org/plugins/vk-link-target-controller/#description)
 * [评价](https://cn.wordpress.org/plugins/vk-link-target-controller/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/vk-link-target-controller/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/vk-link-target-controller/#developers)

 [支持](https://wordpress.org/support/plugin/vk-link-target-controller/)

## 描述

#### Plugin presentation

VK Link Target Controller enables to redirect your visitors to another page than
the post content when they click on the post title that displays on the Recent Posts
list or the Archives Page.

#### Example of use

Let’s say you have a new product for sale on eBay or Etsy.
 You find it annoying
to write a complete post entry on your blog (or WordPress powered website) to explain
you have a new product to sell there and would like your visitors to access directly
the product page.

With VK Link Target Controller your visitors will access directly that product page
when clicking on the post title.
 Fast redirection to the product you want to sell!.

#### GitHub repository

VK Link Target Controller official repository on GitHub.
 [https://github.com/kurudrive/vk-link-target-controller](https://github.com/kurudrive/vk-link-target-controller)
Latest plugin version is always on GitHub.

## 屏幕截图

 * [[
 * Localisation for VK Link Target Controller settings page.
 * [[
 * VK Link Target Controller settings page. Choose the post types where the plugin
   should be activated.
 * [[
 * An absolute url to an external link with open the link in a separate window option
   selected (both http:// and trailing slash are optional).
 * [[
 * A relative url that refer to a page of your website: **note slash “/” at the 
   beginning**.

## 安装

#### Installation and default settings

 1. Install the plugin and activate it like other WordPress plugins.
 2. Go to VK Link Target Controller settings screen (`Settings > Link Target Controller`).
 3. Select the post types where you want to use VK Link Target Controller.

Notes:

 * By default **none of your post types are selected**
 * VK Link Target Controller supports custom post types

#### Add a link for redirection

VK Link Target Controller adds a meta box to your posts edit screen under the main
content editing area.
 If you need a redirection for this post just fill in the 
field with the destination url.

VK Link Target Controller supports both

 * external links like `http://bizvektor.com/en/` (will link to `http://bizvektor.
   com/en/`)
 * internal links like `/theme-documentation/bizvektor-quick-start/` (will link 
   to `http://thisdomain.com/theme-documentation/bizvektor-quick-start/`)

For external (or absolute) urls both http:// and trailing slash are optional.
 For
internal (relative) urls you need to add a slash “/” at the beginning as shown on
example above (see also Screenshots).

If you want the link to open in a new window then check the corresponding option.

## 常见问题

### Are custom post types supported?

Yes.

### Where do I add my link?

You can add your link for redirection on the post edit screen.
 Just look for the“
URL to redirect to” section under the main edit screen.

### What are the options for the link?

The plugin supports both external and internal links.
 You can choose to open the
links in a new window if you need. Please refer to the Installation tab or the Screenshots
tab for more information.

### Can I add URLs with non-Latin characters?

VK Link Target Controller supports Japanese in URLs so probably you can add other
non-Latin characters too.

### My link won’t open on a new window.

VK Link Target Controller adds a filter on the `the_permalink()` WordPress function,
which means the redirection won’t work if your theme uses another function, for 
example `get_permalink()` to display the links.
 In order to have the link opened
in a new window VK Link Target Controller needs a theme with the post id as class
on the `<a>` parent element.

Your theme probably has it if it follows the WordPress Theme recommendations.

Example A:

    ```
    <div class="post-item post-block front-page-list post-<?php the_ID(); ?>" id="post-<?php the_ID(); ?>">
        <a href="<?php the permalink(); ?>">
            <?php the_title(); ?>
        </a>
    </div>
    ```

Example B:

    ```
    <div class="<?php echo esc_attr( implode( ' ', get_post_class() ) ); ?>" id="post-<?php the_ID(); ?>">
        <a href="<?php the_permalink(); ?>">
            <?php the_title(); ?>
        </a>
    </div>
    ```

get_post_class() returns a value that includes the post ID.

### Any chance to get the plugin translated in my language?

For now the plugin is available in English and Japanese only.
 But we have a .pot
file available so feel free to translate it in your language if you have some time.

## 评价

![](https://secure.gravatar.com/avatar/397081a6bf2274100670dea8351e2a11b3099a1f6c68d79811f74e1572b87d1f?
s=60&d=retro&r=g)

### 󠀁[Easy to use e simple](https://wordpress.org/support/topic/easy-to-use-e-simple/)󠁿

 [dekino](https://profiles.wordpress.org/dekino/) 2025 年 8 月 22 日

Your plugin is the best, easy to use, and simple. Thanks a lot!

![](https://secure.gravatar.com/avatar/ba785809c2056cee62042d70bddb541f301a908e94d5f890378760a51b46fee3?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-9578/)󠁿

 [Manas Mitra](https://profiles.wordpress.org/manas666/) 2016 年 9 月 3 日

Just what I needed. Excellent work done. 5 star no doubt.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/)

## 贡献者及开发者

「VK Link Target Controller」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Vektor,Inc. ](https://profiles.wordpress.org/vektor-inc/)
 *   [ Hidekazu Ishikawa ](https://profiles.wordpress.org/kurudrive/)
 *   [ dswebstudio ](https://profiles.wordpress.org/dswebstudio/)
 *   [ BizVektor ](https://profiles.wordpress.org/bizvektor/)
 *   [ nc30 ](https://profiles.wordpress.org/nc30/)
 *   [ catherine ](https://profiles.wordpress.org/catherine8007/)
 *   [ DRILL LANCER ](https://profiles.wordpress.org/rickaddison7634/)
 *   [ sysbird ](https://profiles.wordpress.org/sysbird/)
 *   [ una ](https://profiles.wordpress.org/una9/)

「VK Link Target Controller」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/vk-link-target-controller/contributors)
为本插件所做的贡献。

[帮助将「VK Link Target Controller」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/vk-link-target-controller)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/vk-link-target-controller/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/vk-link-target-controller/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/vk-link-target-controller/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/vk-link-target-controller/)。

## 更新日志

#### 1.10.0

 * [ Spec Change ] Rename option key from ‘custom-post-types’ to ‘vk_ltc_custom_post_types’
   to avoid conflicts with other plugins. Existing data is automatically migrated.
   Added fallback to legacy key for frontend requests before admin_init migration
   runs.
 * [ Add Function ] Show an edit link next to post titles for logged-in users who
   have edit permission, when a redirect URL is set on the post.
 * [ New Feature ] Clean up plugin-specific data (post meta and options) from the
   database when the plugin is deleted.
 * [ Other ] Fix incorrect sample code in plugin description (class attribute is
   required, not id).

#### 1.9.0

 * [ Specification change ] Migrate meta box to block editor native sidebar panel
   for WordPress 7.0 RTC (Real-Time Collaboration) compatibility.

#### 1.8.1

 * [ Other ] Add back compatibility flag to meta box for WordPress 7.0 RTC support.

#### 1.8.0

 * [ Add Function ] Add internal link search with WordPress standard link dialog.

#### 1.7.10

[ Bug fix ] Avoid PHP warning when current post is not available (e.g. comment edit
screen).

#### 1.7.9

[ Other ] Update Readme

#### 1.7.8

[ Bug fix ] Fix fatal error on setting screen.

#### 1.7.7

 * [ Other ] change version only ( change WordPress.org banner ).
 * [ Bug fix ] Fix the issue where URL retrieval sometimes fails.

#### 1.7.6

 * [ Bug fix ] Handle links other than the_permalink.

#### 1.7.5

 * [ Other ] Delete unnecessary files

#### 1.7.4

 * [ Bug fix ] Fixed an issue that occurred in a PHP 8.0 or higher environment.
 * [ Bug fix ] Fixed an issue where the feature to open in a new window did not 
   work.

#### 1.7.2

 * [ Other ] Update admin settingpage library 2.6.0

#### 1.7.1

 * [ Other ] Update admin settingpage library 2.5.0

#### 1.7.0

 * [ Other ] Update admin settingpage library 2.4.0

#### 1.6.4

 * Fix default setting from all off to all on.

#### 1.6.3

 * Fix Screenshots

#### 1.6.0

 * Add setting link

#### 1.5.4

 * Update VK Admin Library

#### 1.5.3

 * Update VK Admin Library

#### 1.5.2

 * Update VK Admin Library

#### 1.5.1

 * Update VK Admin Library

#### 1.2

 * Support link to the file.

#### 1.1

 * Support post type “page”.

#### 1.0

 * Publication on WordPress.org
 * Stable version.

## 额外信息

 *  版本 **1.10.0**
 *  最后更新：**20 小时前**
 *  活跃安装数量 **30,000+**
 *  WordPress 版本 ** 5.3 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/vk-link-target-controller/) 和 [Japanese](https://ja.wordpress.org/plugins/vk-link-target-controller/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/vk-link-target-controller)
 * 标签
 * [link](https://cn.wordpress.org/plugins/tags/link/)[list](https://cn.wordpress.org/plugins/tags/list/)
   [page](https://cn.wordpress.org/plugins/tags/page/)[recent posts](https://cn.wordpress.org/plugins/tags/recent-posts/)
   [redirection](https://cn.wordpress.org/plugins/tags/redirection/)
 *  [高级视图](https://cn.wordpress.org/plugins/vk-link-target-controller/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/vk-link-target-controller/reviews/)

## 贡献者

 *   [ Vektor,Inc. ](https://profiles.wordpress.org/vektor-inc/)
 *   [ Hidekazu Ishikawa ](https://profiles.wordpress.org/kurudrive/)
 *   [ dswebstudio ](https://profiles.wordpress.org/dswebstudio/)
 *   [ BizVektor ](https://profiles.wordpress.org/bizvektor/)
 *   [ nc30 ](https://profiles.wordpress.org/nc30/)
 *   [ catherine ](https://profiles.wordpress.org/catherine8007/)
 *   [ DRILL LANCER ](https://profiles.wordpress.org/rickaddison7634/)
 *   [ sysbird ](https://profiles.wordpress.org/sysbird/)
 *   [ una ](https://profiles.wordpress.org/una9/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/vk-link-target-controller/)