WP-PostURL
[ Description ]
This plugin allows you to insert a user specific text at the beginning and/or ending of all your post. The text can be a copyright declaration, advertisement codes, etc. HTML codes are allowed. You can select which pages to display the specific text.
It accepts following macros in user specific text:
- %site_url% – the URI of your site
- %site_name% – the name of your site
- %post_url% – the URI of the post where the text is displayed
- %post_title% – the title of the post where the text is displayed
If the header text is not empty, it will be inserted to the head of your post; otherwise no head text will be inserted.
If the footer text is not empty, it will be inserted to the foot of your post; otherwise no footer text will be inserted.
You can choose which pages to display the header text and/or footer text. It includes:
- Blog Home – the header/footer text will be displayed on blog home
- Page – the header/footer text will be displayed on pages
- Category – the header/footer text will be displayed on category
- Tag – the header/footer text will be displayed on tags
- Archive – the header/footer text will be displayed on archives
- Single – the header/footer text will be displayed on single
- Feed – the header/footer text will be displayed in feed
If you don’t want to help promote WP-PostURL plugin, you can uncheck this checkbox. The credit of WP-PostURL will not be displayed.
I also want to thinks Lester “GaMerZ” Chan, the author of WP-PageNavi. Most
codes of this plugin are derived from his WP-PageNavi plugin.
[ Installation ]
Goto WordPress.org to download WP-PostURL.
- Upload whole
wp-posturldirectory to the/wp-content/plugins/directory; - Activate the plugin through the ‘Plugins’ menu in WordPress;
- Goto “Setting –> Add Post URL” page to define your user specific text;
You can completely uninstall WP-PostURL plugin. It will remove all the option settings created by this plugin, and deactive this plugin at the same time.
[ Screenshot ]
[ 插件描述 ]
本插件允许你在所有文章的开头和结尾处插入一段自定义的文字。这段文字可以是你的版权声明,也可以是广告,或者其它文字。
安装完插件后,你可以自由编辑你的用户自定义字符串。自定义字符串允许使用HTML语句,请参考插件提供的缺省字符串。另外,你还可以在自定义字符串中使用下面的变量:
- %site_url% – 站点的URL链接
- %site_name% – 站点的名字
- %post_url% – 显示这段内容的文章的URL链接
- %post_title% – 显示这段内容的文章的标题
如果”header文本”不为空,那么这段文字将被插入到文章的开头;否则不在文章开头处插入。
如果”Footer文本”不为空,那么这段文字将被插入到文章的结尾;否则不在文章结尾处插入文字。
你可以选择在哪些页面中显示你自己定义的文字,这些页面可以是:
- 博客首页 – 你的自定义文字会在博客首页中显示
- Page页面 – 你的自定义文字会在类型为”Page”的文章中显示
- 分类页面 – 你的自定义文字会在分类页面中显示
- 标签页面 – 你的自定义文字会在标签页面中显示
- 归档页面 – 你的自定义文字会在归档页面中显示
- 单篇文章 – 你的自定义文字会在单篇文章中显示
- Feed – 你的自定义文字会在所输出的Feed中显示
如果你不想帮助推广WP-PostURL插件,你可以不选择这一项,这样就不会显示WP-PostURL插件的信息了。
使用中还有什么疑问,请在此页留言。
在此,我要感谢Lester “GaMerZ” Chan, WP-PageNavi的作者。本插件的大部分代码都源自于他的WP-PageNavi。这就是开源的好处,你不用从头开始实现你的作品。
[ 安装方法 ]
到Wordpress.org上下载WP-PostURL插件。
- 上传整个
wp-posturl目录到/wp-content/plugins/目录 - 到WordPress后台管理页面中激活插件,插件的名字是Add Post URL
- 到
设置-->添加文章链接页对插件进行配置。
如果你想完全卸载本插件,也需要在设置-->添加文章链接选择卸载,这会完全删除WP-PostURL插件所添加的配置选项,并自动停用此插件。
[ 屏幕抓图 ]




40条评论 添加评论
Works great, thank you
[...] plugin allows you to insert a user specific text at the beginning/ending of all your post… …..read more Download Plugin! Plugin Owner: Easwy Yang Homepage: Visit Plugin’s Website Version 1.0 | [...]
[...] 作者的Add Post URL插件页面 [...]
好软件
如果能研究下,让其能够插入到文章中间就更牛x,更好对付无良转载了
@流星
一般情况下,不建议在文章中间插入版权信息,因为会使用户体验不好。
另外,如何在文章中间插入也是个问题。
如果完全由插件自动插入,有可能插入到语句中间,文章变得难读。
如果由作者在文章中使用特殊字符来插入版权信息倒是可以,比如,在准备插入版权信息的地方,加上%wp-posturl-copyright%。不过在输出feed时,也需要处理这个特殊标记。
我先调查一下有这种需求的人多不多,如果很多人需要,就把它加进来。
[...] 作者的Add Post URL插件页面 [...]
不错谢谢,不过我觉得要实现这个功能,这个插件大小150KB是不是有点大了?
@小人物大坏蛋
包里包括了屏幕抓图,这个比较大,实际的插件很小的
不错,加油!
[...] 3.Add Post URL 添加链接与版权声明插件. [...]
Hi this plug-in is great. Thank you very much for making it available to all bloggers.
One suggestion, it would be most useful to have two blocks of text to be inserted. Use case is that the first block being inserted in the beginning, e.g. bio of author; and the copyright and contact at the end.
这个插件很实用,谢谢你,这样主题就不用改来改去了
感谢你的插件,呵呵。。
不过你的英语部分一个词错了,你说感谢的时候用了”Thinks”,应该是“Thanks”。。。呵呵。。
nice plug-in ,thanks
[...] Add Post URL 是一款Easwy Yang开发的软件,允许你在文章的最开始或者最后加入一些自定义信息,最主要是一些日志的版权信息。 [...]
[...] 1.0 | 作者为 Easwy Yang | 访问插件主页 在文章底部添加一个 [...]
Great plug-in! It would be helpful to include the same url in the “main index” template of WP, not just in the “single post.” Is there an easy way to do this with your plug-in?
Thanks,
Chuck
@Chuck G
Hi Chuck,
You can modify file wp-posturl.php, in “function wp-posturl”, change the line:
if (is_single()) {
to
if (is_single() || is_home() || is_feed()) {
Then the URL will be output on main index page and feed. Please don’t hesitate to tell me if you have any problem.
[...] 作者的Add Post URL插件页面 [...]
[...] 2.Add Post URL:这个插件允许你在文章的顶部或底部插入一段文本,例如:文章的版权声明。 [...]
不错的插件,我一直在用
Hi,
i,am mostafa soufi and my language as persian, Converted your plugin in language persian at sort use (po,mo) file.
http://www.4shared.com/file/125639184/f1046ee8/wp-posturl-fa_IR.html
http://www.4shared.com/file/125639189/8fb51255/wp-posturl-fa_IR.html
@Mostafa Soufi
Hi Mostafa Soufi,
Thanks your effort. I’ll add your update into the plugin soon.
[...] 作者的Add Post URL插件页面欢迎转载,转载请注明: 转载自 WebBeta本文链接地址: WP-PostURL – 添加链接与版权声明插件 [...]
[...] 原作者的插件主页在这里 [...]
谢谢,非常不错的插件!
能在文章中间加入版权也真的非常不错的.希望能开发出来.
[...] 此文转载于 http://easwy.com/blog/wordpress/wp-posturl/ [...]
很好的插件!,正在使用,,,,,支持一下~~
怎么用不了??
下载,启用了。但是在后台设置
第3步的时候。到设置–>添加文章链接页对插件进行配置。
就该页无法显示~~~晕~~~~
@安逸哇
还是第一次收到这样的报告,不知道是不是和其它插件冲突了。或者你删掉再重装一次试试
[...] This plugin allows you to insert a user specific text at the beginning/ending of all your post.版本 1.0 | 作者为 Easwy Yang | 访问插件主页 [...]
支持下~不错~
不错,支持
很不错的插件,加载速度理想。
[...] WP-PostURL Plugin是国人Easwy开发的一款可以在文章的开始或结尾处加入文本、广告、版权等HTML信息的轻量级的插件。当初左手烟@选择它的原因就是能在文章末尾加入版权信息,实际使用下来也确实不错。但是我今天把它停掉了,因为能用代码实现的功能我还是尽量不用插件。本篇文章结尾处知识共享协议即为代码实现:<p><strong>转载本篇文章必须遵循 <a style="color:#F00" href="http://creativecommons.org/licenses/by/2.5/cn/" title="知识共享协议" target="_blank">知识共享署名 2.5 中国大陆许可协议</a> ! </strong></p><p><strong>原文作者:<a href="<?php echo get_option('home'); ?>/"><?php the_author() ?></a> 原文链接:<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong></p>如果要以网址的形式显示,用下面的代码:原文链接:<a href="<?php the_permalink() ?>"><?php the_permalink() ?></a> 转载本篇文章必须遵循 知识共享署名 2.5 中国大陆许可协议 ! 原文作者:左手烟 原文链接:本站正式弃用WP-PostURL Plugin 如果你喜欢本站文章,请用鼠标猛点这里进行订阅 [...]
[...] Add Post URL——这个是在文章的前面或尾部插关于版权问题和固定链接的插件(类似Blogbus貌似是自带的一段话)。插件主页点这里 [...]
[...] Footer automatically generated by wp-posturl plugin for [...]
[...] Add Post URL [...]
[...] Add Post URL 添加链接与版权声明 本插件允许你在所有文章的开头或结尾处插入一段自定义的文字。这段文字可以是你的版权写明,也可以是广告,或者其它文字。 安装完插件后,你可以自由编辑你的用户自定义字符串。自定义字符串允许使用HTML语句,请参考插件提供的缺省字符串。另外,你还可以在自定义字符串中使用下面的变量:%site_url% – 站点的URL链接 %site_name% – 站点的名字 %post_url% – 显示这段内容 [...]
[...] WordPress添加链接与版权声明插件Add Post URL WordPress Add comments Add Post URL This plugin allows you to insert a user specific text (such as copyright, credit, etc.) at the beginning/ending of all your posts. 当前版本 1.1 | 作者为 Easwy Yang | 访问插件主页 [...]