-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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
- [ start of tag
- footag tag name
- foo="bar" tag attributes 4 ] end or close tag
Using shortcode in controller