News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

TutToaster.com:
How To Use, Style and Implement Wordpress Shortcodes
June 24, 2010 @ 12:50:09

On the TutToaster.com site there's a recent post looking at using WordPress shortcodes, including how o style and implement them in your own site installation.

Wordpress shortcode API is a powerful function which was introduced from version 2.5, it's just a simple set of functions for creating macro codes in post content. If you've developed a Vbulletin forum before, you would have been familiar with the shortcode (something called BBCode) but the Wordpress users maybe not. In this article, I would like to show you how to create and use shortcodes, in addition, I will show you some creative examples of using shortcode in Wordpress blog.

They give a simple example of how to add a custom shortcode instance - a text call that displays "good morning" using the string "[gm]" in your content. From there they talk about adding attributed to the custom shortcodes and creating other special cases like custom lists, box styles, dropcaps, buttons, jQuery integration and a few more. All examples come complete with code samples.

0 comments voice your opinion now!
shortcodes wordpress custom tutorial


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo

Rob Allen: Injecting dependencies into your ZF2 controllers

Christoph Dorn's Blog: Profiling queries with Zend_Db_Profiler_Firebug

NetTuts.com: Learn to Create Interactive Drill-Down Dashboards with PHP and FusionCharts

Matthew Weier O'Phinney: Apigility: Using RPC with HAL


Community Events





Don't see your event here?
Let us know!


list laravel configure developer unittest symfony2 threedevsandamaybe code refactor community language framework series testing interview introduction install release opinion podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework