Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1333485
    wbgTHEMECO
    Participant

    Is there any way to pass the data-rel parameter in the button shortcode.

    I need to use a different plugin for rendering my youtube videos in a lightbox. The plugin allows me to specify a max size (800px). However, in order for it to work, I need to pass the data-rel=”my-selector” parameter to the href that is built by the shortcode.

    thanks

    #1333567
    Thai
    Moderator

    Hi There,

    Instead of using shortcode, you can try with this HTML:

    <a class="x-btn x-btn-green x-btn-real x-btn-square x-btn-large" data-rel="my-selector" href="#example" title="Example" data-options="thumbnail: ''">My Button</a>

    Hope it helps 🙂

  • <script> jQuery(function($){ $("#no-reply-1333485 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>