Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

shortcodes question
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: shortcodes question

shortcodes question 10 years, 5 months ago #14027

Hi, I've been trying to use the shortcodes button to open a new link but I can't seem to figure the syntax. It keeps opening the current page when I click on the button. Can you please help?

[button type="primary"] Click Here [/button]

How can I add the link www.abc.com to the above?
The topic has been locked.

Re: shortcodes question 10 years, 5 months ago #14069

Dear Kim Suna,

You can use the code:
[button type="primary" target="_blank" state="enabled/disabled" link="http://www.abc.com" icon="comment"]Click here[/button]


Thanks!
The topic has been locked.

Re: shortcodes question 10 years, 5 months ago #14135

Thanks Anh. I need to open in a modal popup. I've the class modal. How can I put them together?
The topic has been locked.

Re: shortcodes question 10 years, 5 months ago #14180

Dear Kim Suna,

sorry, i think i can't put them together. you refer to getbootstrap.com/javascript/#modals-examples

<!-- Button trigger modal -->
<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
  Launch demo modal
</button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
      </div>
      <div class="modal-body">
        ...
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->



Thanks!
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes