Advertisements

A few examples of advertisement shortcodes that you can use within any WordPress Page or Post with following shortcodes:

[advert] Valid HTML/JS Code for the advert [/advert]

Time specific advertisements:

You can specify "start_date" and "end_date" to display the advertisement for specific time interval. 

Options:

  • start_date: (default: current_date) | Optional
    » Valid Date e.g. 22 Apr, 2011
  • end_date: (default: current_date + 1 month) | Optional
    » Valid Date e.g. 22 May, 2011
  • width: (default: none) | Optional
    » Specify width in pixels
  • height: (default: none) | Optional
    » Specify height in pixels
  • id: (default: none) | Optional
  • class: (default: custom-advert) | Optional
Ad Sample
[advert] Valid HTML/JS Code for the advert [/advert]
Ad Sample
[advert start_date="6 May, 2011" end_date="6 Dec, 2011"] Valid HTML/JS Code for the advert [/advert]

Comments are closed.