
內容簡介
安裝後,請按照以下步驟進行設置:
WP-Print 設置頁面位於 WP-Admin -> 設置 -> 列印
您需要重新生成永久鏈接(WP-Admin -> 設置 -> 永久鏈接 -> 儲存更改)
有進一步的使用說明,請參閱用法
用法
打開 wp-content/themes/<YOUR THEME NAME>/index.php。 如果已經存在 single.php,post.php,page.php 等文件,也應當在其中增加。< /li>
查找: <?php while (have_posts()) : the_post(); ?>
在其下方添加:<?php if(function_exists('wp_print')) { print_link(); } ?>
第一個值是文章列印文本。
第二個值是頁面列印文本。
默認值:print_link(",")
您也可以在 "WP-Admin -> 設置 -> 列印" 中設置文本。
如果您不想在每篇文章/頁面中顯示列印鏈接,請不要使用上面的代碼。只需在所選文章/頁面內容中輸入 [print_link] 即可將列印鏈接嵌入該篇文章/頁面中。
構建狀態
開發
https://github.com/lesterchan/wp-print
翻譯
http://dev.wp-plugins.org/browser/wp-print/i18n/
貢獻者
插件圖標由SimpleIcon提供,來自Flaticon
圖標由FamFamFam提供
捐贈
我大部分的空閒時間都花在創建、更新、維護和支持這些插件上,如果您真的喜歡我的插件,並且可以撥出一些錢作為我的學校費用,我會非常感激。如果不行,也歡迎免費使用。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Once installed take the following steps to set it up:
WP-Print settings page is located in WP-Admin -> Settings -> Print
You Need To Re-Generate The Permalink (WP-Admin -> Settings -> Permalinks -> Save Changes)
Refer To Usage For Further Instructions
Usage
Open wp-content/themes/
Find:
Add Anywhere Below It:
The first value is the text for printing post.
The second value is the text for printing page.
Default: print_link(”, ”)
Alternatively, you can set the text in ‘WP-Admin -> Settings -> Print’.
If you DO NOT want the print link to appear in every post/page, DO NOT use the code above. Just type in [print_link] into the selected post/page content and it will embed the print link into that post/page only.
Build Status
Development
https://github.com/lesterchan/wp-print
Translations
http://dev.wp-plugins.org/browser/wp-print/i18n/
Credits
Plugin icon by SimpleIcon from Flaticon
Icons courtesy of FamFamFam
Donations
I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks as my school allowance, I will really appreciate it. If not feel free to use it without any obligations.
