Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Bryan Spellman
    Participant

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter