چۈشەندۈرۈش
This plugin enqueues a simple jQuery script that looks for any anchor tag that has an href property to something with a file extension of 1-5 characters and makes it open in a new window or tab.
This means any link to a .pdf, .txt, .ppt, .doc, .xls, .xlst, etc will automatically have the property ›target=»_blank»› added to it so it opens in a new window or browser tab.
ئورنىتىش
Upload the plugin files or install from the WordPress.org plugin repository.
e.g.
- Upload
wp-open-files-new-window.php
to the/wp-content/plugins/
directory - Activate the plugin through the ›Plugins‹ menu in WordPress
FAQ
- What kind of links will this alter?
-
Any link that goes to a file
- What does it do
-
Ex: This plugin would transform
<a href="link-to-pdf.pdf">Open PDF</a>
to<a href="link-to-pdf.pdf" target="_blank">Open PDF</a>
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«Open Files In New Window or Tab» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«Open Files In New Window or Tab» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.
ئۆزگىرىش خاتىرىسى
1.0
- First version released