Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Nosaka
    Participant

    I’m trying to make my custom shortcode with this

    <div class="linum" id="%%num%%">%%num%%</div>
    <div class="liname">%%name%%</div>
      <div class="lithumb-%%type%%">
          <img src="%%image%%">
      </div>
    
    <div class="lidesc">
    %%desc%%
    </div>

    ===============

    And I use this shortcode in my post but doesnt work.

    [sc name="listPost" num="01" name="Naruto" type="pixiv" image="https://images-na.ssl-images-amazon.com/images/I/91Ib70x5cUL._SL1500_.jpg" desc="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod" ]

    I already checking the css but theres nothing wrong with it.

    Hi Nosaka,

    The issue is there are two “name” parameters

    [sc name=”listPost” num=”01″ name=”Naruto”

    The name parameter is used to identify the shortcode, so can you please use a different “custom parameter” other than “name” ?

    Thanks,
    Aakash

    Nosaka
    Participant

    Oh yah.. That’s my bad. Thanks for your help is working now.

Viewing 3 posts - 1 through 3 (of 3 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