Shortcodes - html modules |
[eluser]Lykos22[/eluser]
I'd like some help please. I'm using this library that creates wordpress-like shortcodes. What I want to do is to create some html modules (htmlmodule is the name of my shortcode model) such us accordions, tab panels etc that may appear within the other content. I'm not quite sure though if something like this can be done, but the main idea (at least how I 've planned to do it ) is something like this type the shortcode e.g. [ci:htmlmodule id=accordion] that will produce this accordion. So far so good, but here comes the headache. The content (panel-headings and panel-bodies in the accordion example) of the accordion should be dynamic. So how can I do this??? I googled to see something about the wordpress shortcodes and found out that a good idea to put the content inside the accordion-shortcode is to make something like this Code: [ci:htmlmodules id=accordion] Any ideas or help would be appreciated.
|
Welcome Guest, Not a member yet? Register Sign In |