
內容簡介
使用 jQuery 掩蔽連結腳本 ( 有關該方法的更多資訊 ),將外部連結從搜尋引擎索引中隱藏。
功能:
點擊編輯器按鈕可一鍵隱藏外部連結以避免被搜尋引擎索引。
自動禁止索引所有評論者的連結。
簡單的短代碼 [link][/link] 可輕鬆隱藏掉任何小工具或評論文本中的連結。
使用方法:
在文字編輯器內將光標放在連結上
點擊 HideLinks 按鈕,將短代碼添加到連結前後。範例: [link]外部連結[/link]
測試:
安裝並啟用插件後,隱藏的連結看起來像普通的連結。這一時刻有可能會誤導插件的工作,您可以通過以下兩種方法檢查插件是否正常運作。
在包含隱藏連結或使用者評論的頁面上,按 Ctrl+U 鍵 — 將打開源代碼的新分頁。
現在按鍵盤上的 Ctrl+F 鍵 — 會出現一個用於搜尋文字的字段。在其中輸入「data-link」片語,然後按鍵盤上的 Enter 鍵。
瀏覽器在源代碼中找到所有與所需片語(它出現在隱藏式連結中)相匹配的內容。在輸入片語的右側搜尋框中,會出現含有找到的匹配項(即隱藏連結)的數量,以及附近的箭頭來轉移到上一個和下一個找到的片段。
如果在找到的片段後,片語「data-link」的後面是您隱藏的連結 (或評論者的網站地址),這意味著插件已經隱藏連結。
範例: <span data-link="http://mylink.com" data-target="_blank" title="Title" class="link">anchor</span> 不是這樣 <a href="http://mylink.com" target="_blank" title="Title" class="">anchor</a>
專業版特點
HideLinks Pro 具有以下特點:
自動隱藏文章內容中的所有外部連結
可控制腳本 (內部或檔案)
額外資訊
文件
GitHub 存儲庫,可用於問題和合併請求
外掛標籤
開發者團隊
原文外掛簡介
Hides external links from indexing by search engines using a jQuery masking links script ( more about the method in )
FEATURES:
One click on editor button help to hide external links in search engine index
Automatically disallows indexing of all commenter’s links.
Simple shortcode [link][/link] easily hides any links in widgets or comments texts.
USAGE
In text editor place cursor on link
Click on HideLinks button to add shortcode before and after link. Sample: [link]external link[/link]
TESTING
After installing and activating plugin, hidden links look like ordinary ones. This moment can mislead and complicate work of plugin.
You can check whether plugin works correctly in two ways.
On page, where there are hidden link or user comments, press keyboard shortcuts Ctrl+U — new tab with source code opens.
Now press Ctrl+F on keyboard — field for text searching appears. Enter phrase in it data-link and press Enter on your keyboard.
Browser found in source code all matches with necessary phrase (it is present in hidden link). In search box to the right of entered phrase, inscription with number of found matches appears (i.e. hidden links), and near — arrows for transition to previous and next found fragment.
If in found fragment after phrase data-link goes link address you have hidden (or site address commentator) — it means that plugin hides link.
Sample: anchor not like this: anchor
PRO Features
HideLinks Pro allow:
Automatically hide all external links in post content
Control script including (inline or file)
Extra
Documentation
GitHub repository for issues and merge request
