Supporting nested shortcodes in WordPress

Posted by: Run Tings Proper, on 30 Mar 2015 | View original | Bookmarked: 0 time(s)

If youre writing your own [shortcodes] or have done in the past then its important that you follow this little tip. It will only take a couple of minutes to implement and it will save your end-users from problems. The way that WordPress extracts the shortcode tags from a post to process them is done using a regular expression. There is some debate as to whether or not this is the best approach but thats a topic for theI actually love regular expressions (as you can tell from the extensive library...

Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 535 | Hits: 5

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD