Timeline for Implement If-ElseIf-Else-EndIf with short codes
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2011 at 14:50 | comment | added | Snekse |
The custom parser was the original route I started on, but that quickly got messy as we needed to handle nested tags, tags with optional end tags, etc. The short codes has worked fairly well with two exceptions: if/else blocks and setting variables. That will be my next question posted: can you set a PHP variable within WordPress content?
|
|
Dec 6, 2011 at 8:20 | history | answered | Otto | CC BY-SA 3.0 |