Add Post Footer Plugin

Add Post Footer was originally created by Chaiyot Kosuwanpipat at freetimefoto.com, but was abandoned in the WordPress repository.

Add Post Footer will automatically add a custom paragraph, html code, ad code, technorati tags list and related post links list to the end of every post. Customize what you want to place at the end of your posts in the dashboard under Settings -> Post Footer.

Global (all posts) choices include:

  • Add a custom paragraph which can include html
  • Add an adsense or similar ad code
  • Add a list of links to related posts (in the same categories as the current post)
  • Add a list of Technorati tags from post content

The global options can be overwritten by adding special custom fields to each post you want to individually customize. This will allow you to disable options for a particular post.

Ad Code

Copy and paste your ad code to the Ad code text area to define the default ad code. It’s also possible to add any other text paragraph, html code or java script to this section.

Ad Code: Options

Add Ad before Related Post List: The default value is “Yes”, the Ad code will show first after the post. If you select “No” the Related Posts List will appear first and then your ad code.

Add following Ad code to the end of post: The default is “Yes”, the Ad code will show in every post. Select “No” if you want to turn off the ad.

Options for this section can be overridden by adding custom field key: apf_ad_code

Values for apf_ad_code can be any of the following:

  • Value = 0: turns off the ad for that post.
  • Value = 1: turns on the ad for that page, even if the option is off in the config page.
  • Value = “Any Text or Code”: this will replace the ad code you entered in config page.

Related Post List

The Add Post Footer plugin can create a list of posts related by post category and display it under the header you define. You can also specify the maximum number of posts that will be shows in the list.

Related Post List: Options

Add related post list: Default is “Yes”. Change it to “No” if you do not want to show the related post list.

Maximum number of posts in the list: The maximum number of posts allowed to show in the list. The default value is 5.

The header text for post list: Enter a label for the related post list. The default label is (“Related Articles:”).

To override the related post list behavior on a particular post, add the custom field key: apf_relate_post

Values for apf_relate_post can be any of the following:

  • Value = 0: Disable the related post list for that particular post.
  • Value = 1: Forces the related post list to show even if it has been turned off in the config page.

Optional Text

This section allows you to add any text paragraph, html code or script (for example sponsor paragraph or credit). It functions similar to the ad code above.

Text in the editor which ends with two returns will create paragraphs. Single returns will create hard line breaks.

Caution: Poorly written html or scripts in this section will break your page.

Optional Text: Options

To override the behavior of  this box add the custom field key: apf_option_txt

Values for apf_option_txt are any of the following:

  • Value=””: The optional text entered in the config page will be replace with an empty string (this will hide the optional text)
  • Value = “Any text or script” will replace the text entered in the config page

Technorati Tags

This option will add a tag list at the end of the post. The tags is retrieve form the post by wrapping desired tags with the [ttag] and [/ttag] shortcodes.

Technorati Tags: Options

Show Technorati Tags to the end of post:  Default is “Yes”. Change to “No” if you do not want to show Technorati Tags list.

The label for the tag list: Enter a label for the tag list. The default value is “blank”. If you didn’t enter anything the list will appear without a label

Additional Global Option

Show Footer Everywhere: Default is “No”

The default behavior of Add Post Footer is to add all configured options to the end of single posts. Changing the Show Footer Everywhere option to “Yes” will display configured options on all pages including the front page.

Caution: Displaying Add Post Footer in the front page will probably not display correctly depending on your theme.

Installation Instructions

Download the plugin from this page to your desktop.

In your WP dashboard, choose plugins -> add new, then choose Upload.

Upload the plugin and activate it in the usual manner.

View Comments

2 Responses to Add Post Footer Plugin

  • Hi Kevan,

    Thanks for this great plugin. It displays post footer message beautifully just like I wanted. You’re doing a great service for WordPress lovers.

Leave a Reply