Skip to content
umefarooq edited this page Oct 9, 2011 · 5 revisions

Wordpress is amazing CMS, shortcodes is an interesting API which make wordpress more amazing just put tags in you content will be parsed by shortcodes and gives you formatted output of your content, now this shortcode api is now ported to FuelPHP framework a really good framework to develop and deploy application really fast. here how shortcodes work in FuelPHP.

short tags in view or content from admin here is simple example of short tag with foo bar

[footag foo="bar"]

above short tag has the following points just like normal HTML tags

  1. [ start of tag
  2. footag tag name
  3. foo="bar" tag attributes 4 ] end or close tag

Using shortcode in controller

Clone this wiki locally