Indicate External Links

描述

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.

螢幕截圖

  • Links

安裝

  1. Upload the plugin folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

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?

Yes

Can I customise how the link is displayed?

Yes you can add some CSS to your child theme

Example

.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.
Example

    .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!
2016年9月3日
Elegant, intuitive... really beautiful pl to show external links in professional mode. Marco
閱讀全部8個評價

貢獻者及開發者

“Indicate External Links” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Indicate External Links 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0

  • Code tidy
  • Remove version detect function

1.0.1

  • Improved CSS for iPad compatibility

1.0.0

  • Initial Version