{"id":5004,"date":"2009-03-13T01:54:24","date_gmt":"2009-03-13T01:54:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-posturl\/"},"modified":"2012-01-30T16:08:18","modified_gmt":"2012-01-30T16:08:18","slug":"wp-posturl","status":"closed","type":"plugin","link":"https:\/\/ka.wordpress.org\/plugins\/wp-posturl\/","author":2100356,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.0","stable_tag":"2.1.0","tested":"3.3.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Add Post URL","header_author":"Easwy Yang","header_description":"","assets_banners_color":"","last_updated":"2012-01-30 16:08:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/easwy.com\/blog\/wordpress\/wp-posturl\/","header_author_uri":"http:\/\/easwy.com\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":34998,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>Your original configuration will be totally kept during upgrading. But please backup before upgrading to avoid configuration lost.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","2.0","2.0.1","2.0.2","2.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[321,2972,86,166,538],"plugin_category":[35],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-5004","plugin","type-plugin","status-closed","hentry","plugin_tags-ads","plugin_tags-copyright","plugin_tags-post","plugin_tags-posts","plugin_tags-url","plugin_category-advertising","plugin_committers-easwy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-posturl.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to insert a user specific text at the beginning and\/or\nending of all your posts.  The text can be a copyright declaration,\nadvertisement codes, etc. HTML codes are allowed.\nYou can select which pages (home\/single\/feed\/category\/tag\/archive page) to\ndisplay the specific text. You also can decide which posts display the text.<\/p>\n\n<p>It accepts following macros in user specific text:<\/p>\n\n<ul>\n<li>%site_url% - the URI of your site<\/li>\n<li>%site_name% - the name of your site<\/li>\n<li>%post_url% - the URI of the post where the text is displayed<\/li>\n<li>%post_title% - the title of the post where the text is displayed<\/li>\n<\/ul>\n\n<p>If the header text is not empty, it will be inserted to the head of your posts;\notherwise no head text will be inserted.<\/p>\n\n<p>If the footer text is not empty, it will be inserted to the foot of your posts;\notherwise no footer text will be inserted.<\/p>\n\n<p>You can choose which pages to display the header text and\/or footer text.\nIt includes:<\/p>\n\n<ul>\n<li>Blog Home - the header\/footer text will be displayed on blog home<\/li>\n<li>Page      - the header\/footer text will be displayed on pages<\/li>\n<li>Category  - the header\/footer text will be displayed on category<\/li>\n<li>Tag       - the header\/footer text will be displayed on tags<\/li>\n<li>Archive   - the header\/footer text will be displayed on archives<\/li>\n<li>Single    - the header\/footer text will be displayed on single<\/li>\n<li>Feed      - the header\/footer text will be displayed in feed<\/li>\n<\/ul>\n\n<p>When you add new post or edit post, you can decide whether or not to add the\nheader text and\/or footer text to this post. You do this by selecting \"Add Post\nURL?\" option in the editor page.  This option is saved as a Custom Field, named\n\"posturl_add_url\".<\/p>\n\n<p>For posts without this Custom Field (i.e., the existed posts before you use\nWP-PostURL plugin), you can define the default behavior. If you select \"Add\nHeader and\/or Footer Text For Old Posts\", then all posts without this Custom\nField will be added the header text and\/or footer text; otherwise those posts\nwill not be added the header text and\/or footer text. If some of those posts\nare against with the default behavior, you need to re-edit this post to set\n\"Add Post URL?\" option for those posts.<\/p>\n\n<p>If you don't want to help promote WP-PostURL plugin, you can uncheck this\ncheckbox. The credit of WP-PostURL will not be displayed.<\/p>\n\n<p>Links: <a href=\"http:\/\/easwy.com\/blog\/wordpress\/wp-posturl\/\" title=\"WP-PostURL Plugin\">WP-PostURL Plugin Page<\/a> | <a href=\"http:\/\/easwy.com\/blog\/\">Easwy's Blog (zh_CN)<\/a><\/p>\n\n<h3>TODO List<\/h3>\n\n<p>If you have any requirement about this plugin, please leave a comment on <a href=\"http:\/\/easwy.com\/blog\/wordpress\/wp-posturl\/\">WP-PostURL Plugin Page<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload whole <code>wp-posturl<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory;<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress;<\/li>\n<li>Goto \"Setting --&gt; Add Post URL\" page to define your user specific text and other options. The default setting is suitable for most of usage;<\/li>\n<li>When you new a post or edit a post, you can change \"Add Post URL?\" option in the editor to decide whehter or not adding the header\/footer text for this post.<\/li>\n<\/ol>\n\n<p>Your original configuration will be totally kept during upgrading. But please\nbackup before upgrading to avoid configuration lost.<\/p>\n\n<p>You can completely uninstall WP-PostURL plugin.\nIt will remove all the option settings created by this plugin, and deactive\nthis plugin at the same time.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why my setting changes when I re-install\/re-activate the plugin<\/dt>\n<dd><p>In release 2.1.0, the \"Add Header and\/or Footer Text For Old Posts\" option\nwill always be enabled when you re-install\/re-activate the plugin. The reason\nis to fix the issue in release 2.0.x series. In release 2.0.x, this option is\nnot defined because of WordPress behavior changes for plugin updating.<\/p><\/dd>\n<dt>Why WP-PostURL Does Not Add Text To My Posts<\/dt>\n<dd><ul>\n<li>In a word, please check if you select \"Add Header and\/or Footer Text For\nOld Posts\" option. If not, select it then have a look.<\/li>\n<li>Please check \"Add Post URL?\" option for posts you want the text to be added.<\/li>\n<li>If it still not work, make sure regenerate the cache if you use a WordPress\nCache Plugin (such as WP Super Cache), then have a look.<\/li>\n<\/ul>\n\n<p>Here are some detail information for \"Add Header and\/or Footer Text For Old\nPosts\" option:<\/p>\n\n<p>In release 2.0 and above, I add a new feature: allow user decide which posts\ndisplay the header and\/or footer text. This will add a Custom Field, named\n\"posturl_add_url\", for each new created post.\nBut for the posts you published before use WP-PostURL 2.0+, they do not have\nCustom Field \"posturl_add_url\". For those posts, you need configure  \"Add\nHeader and\/or Footer Text For Old Posts\" option. If you check this option,\nall existed posts will be added the header and\/or footer text; otherwise those\nposts will not be added the header text and\/or footer text. If some of those\nposts are against with this default behavior, you need to re-edit this post to\nset \"Add Post URL?\" option for those special posts.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<p>The following change list is against version 1.1:<\/p>\n\n<ul>\n<li>Fix: Set \"Add Header and\/or Footer For Old Posts\" to true by default, to fix no header\/footer in release 2.0.x. If you uncheck this option but re-install or re-activate this plugin, you need configure it again. The problem in 2.0.x is because of a WordPress behavior changes. Link: <a href=\"http:\/\/wpdevel.wordpress.com\/2010\/10\/27\/plugin-activation-hooks-no-longer-fire-for-updates\/\">Plugin activation hooks no longer fire for updates<\/a><\/li>\n<li>New: Add single post control function, allow user control which posts display the user specific text.<\/li>\n<li>New: Add default post control behavior for old posts.<\/li>\n<li>New: Keep compatible with QingFeng's origin change of post control function.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>(This version is obsolete)<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>(This version is obsolete)<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>(This version is obsolete)<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>New: Allow user select which pages display the user specific texts.<\/li>\n<li>New: Allow user define the header text or footer text, or both.<\/li>\n<li>Fix: Fix configuration data lost when deactivated then activated again<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>New: The basic function<\/li>\n<\/ul>\n\n<h4>Thanks<\/h4>\n\n<ul>\n<li>I want to thanks <a href=\"http:\/\/lesterchan.net\">Lester \"GaMerZ\" Chan<\/a>, the author of <a href=\"http:\/\/lesterchan.net\/portfolio\/programming\/php\/\">WP-PageNavi<\/a>. Most\ncodes of this plugin are derived from his WP-PageNavi plugin.<\/li>\n<li>I also want to thanks <a href=\"http:\/\/http:\/\/witmax.cn\">QingFeng<\/a>, he implement an essier version of post url control in <a href=\"http:\/\/witmax.cn\/wordpress-add-post-url.html\">his post (zh_CN)<\/a>.<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to insert a user specific text (such as copyright,\ncredit, advertisement, etc.) at the beginning\/ending of your posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5004"}],"author":[{"embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/easwy"}],"wp:attachment":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5004"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5004"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5004"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5004"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5004"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}