Indicate External 相关链接

描述

A simple and lightweight plugin to indicate external http and https links in posts, pages and custom content by appending a small diagonal arrow icon to the link.

No configuration is required just install and activate.

屏幕截图

  • 相关链接

安装

  1. Upload the plugin folder to the ‘/wp-content/plugins/’ directory
  2. 通过WordPress的的“Plugins”菜单激活插件

常见问题

Where is the admin page?

This plugin does not have any options, so there is no admin page.

Does this work for http and https links?

是的

Can I customise how the link is displayed?

Yes you can add some CSS to your child theme

例子

.nav-menu .extlink sup {
color:’#bada55′;
}

For maximum flexibility you can copy the plugins styles to you child theme’s stylesheet and make changes to that if you also prevent the default styles from loading.

You can add CSS rules to enable you to use a glyph from a custom icon font.

To deactivate the default CSS, add the following line to your child theme’s functions.php file:

<?php remove_action('wp_head', 'cc_extlink_style'); ?>

What external links will not have the arrow added?

Linked images will not have the arrows added.

Text links inside image captions will not have the arrows added, but custom CSS can be used to override this.

External links inside WordPress custom menus will not have the arrow added by default. Again, custom CSS can be used to override this.

Can I add other exceptions so that some types of links to prevent the arrow being added?

Yes, add a CSS rule to your child theme.
Target the links you don’t want affected with greater specificity to override the default CSS of the plugin.
例子

    .myclass .extlink sup:after {
        content:'';
    }

Why doesn’t it work on my site?

This plugin works as intended on the sites it was tested it on whilst it was being developed. If you have a problem getting it to work on your site, first read the documentation and check the plugin’s support forum to see whether your issue has been previously resolved. If you do not find an answer, please ask for help on the forum giving as much information as possible so I can try to guide you through some troubleshooting steps to help you to fix your issue. If you have a problem, please do not post a review before asking for help.

I am using the plugin and love it, how can I show my appreciation?

You can donate via my donation page. If you find the plugin useful I would also appreciate a review (five stars would be nice) on the [plugin review page](https://wordpress.org/support/view/plugin-reviews/indicate-external-links “Indicate External Links plugin review page”

评价

2022 年 4 月 24 日
As I’m of those who, despite what you’ll read everywhere, firmly believes that external links should always open in a new window, I found this plugin quite useful and easy to implement. Great idea!
2017 年 1 月 8 日
Simple and quick. No settings needed. Works fine.
2016 年 9 月 3 日
Elegant, intuitive… really beautiful pl to show external links in professional mode. Marco
阅读所有8条评价

贡献者及开发者

“Indicate External 相关链接” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.0

  • Code tidy
  • Remove version detect function

1.0.1

  • Improved CSS for iPad compatibility

1.0.0

  • Initial Version