I’m trying to create shortcode with a variable input that will call an html div.
I’d like for my blog users to be able to type the following
[card]variablename[/card]
and have this convert to the html code
<div class=”card”>variablename</div>
The end result would be what’s seen on this page
Hi Bryan,
Thanks for using Shortcoder. Currently this feature is not supported yet. This feature may come in future version but I don’t have a plan yet.
For now can you please follow the below link to create your own shortcode ?
The Beginner’s Guide to Writing Your Own Custom Shortcode
Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter
By using this website, you agree to our Terms Ok