Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How do I duplicate WP Buttons?

by

Tips and Tricks HQ Support Portal › Forums › General Stuff › How do I duplicate WP Buttons?

Tagged: duplicate wp buttons, wp buttons

  • This topic has 12 replies, 3 voices, and was last updated 11 years, 8 months ago by Robert.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • February 4, 2013 at 9:21 pm #8490
    mikie
    Member

    Is there a way to duplicate a WP Button I’ve made in the WP Buttons plugin on WordPress, similar to how we copy product details in the eStore? I am making buttons that will take users to a playlist of music that is different for each episode of my radio program. The button needs to be consistent looking with a different destination url in each instance. I’ve customized colors, padding, etc and would like not to have to reenter that info for each occurrence. Thanks.

    February 5, 2013 at 5:39 am #53581
    admin
    Keymaster

    Hi, The WP Button creator plugin doesn’t have a feature to copy/clone an existing button. I will try to add this feature to the WP button creator plugin.

    February 9, 2013 at 6:59 pm #53582
    mikie
    Member

    Thanks so much, I’ve got 59 buttons to create!

    August 21, 2013 at 12:32 am #53583
    Robert
    Participant

    Two questions…any progress on the copy function?

    Secondly, is there anyway to override the target url by sending a value in the shortcode? Really, what I’m looking for is to be able to open content in a lightbox from an external source that can be overridden from the shortcode line.

    Like:

    [wpbuttons ids=”1_1″ url=”http:abc.com/file”]

    where the url would be opened in a lightbox.

    Obviously I can put the url in the “Target URL” section on the edit button page, but I’d like to be able to override what is there on some buttons.

    Hopefully that makes sense.

    August 23, 2013 at 3:12 am #53584
    Robert
    Participant

    If you happen to be looking at this, I was wondering if there could be one additional tweak?

    Allow for the option of using either an anchor tag or an input tag for the button. This could be just a simple option on the button edit page.

    August 23, 2013 at 6:30 am #53585
    admin
    Keymaster

    When you say “anchor”, you mean like a textual link?

    August 23, 2013 at 5:56 pm #53586
    Robert
    Participant

    I noticed that the way you have it coded it can only be used on anchor tags.

    I believe this is due to the code using a.wpbtn, if there was a shortcode option to override this, say [wpbuttons ids=1 type=’submit’] that would then output input.wpbtn instead of a.wpbtn, I think that would allow usage on input buttons as well.

    Also, as I mentioned above, the option for [wpbutotns ids=1 url=”http://abc.com”%5D could be a great way to solve the button copy issue. If I’m thinking about it correctly, wouldn’t that override allow you to use the same button for many products?

    Hope that explains it better.

    Thanks.

    August 24, 2013 at 7:22 am #53587
    admin
    Keymaster

    To make it a “submit” button, it will also need a form (not just the input type). Can you give me an example of the application where you are trying to use it so I understand why an input type submit is needed?

    August 24, 2013 at 8:54 am #53588
    Robert
    Participant

    I have both anchor tags and form submits on my site and would like to easily style them the same. The plugin is great for quickly creating buttons to use, but having to use one button per link (or form submit), gets to be quite a lot of extra work. That’s the reason for the ‘url’ and ‘type’ additions to the shortcode.

    Lastly, an option on the button create page to add additional classes to the anchor tag would help in overall theme styling.

    Thanks.

    August 25, 2013 at 6:14 am #53589
    admin
    Keymaster

    Okay I have updated the button creator plugin. You can now specify a different URL using the “target_url” shortcode parameter. Download the new version from here:

    http://www.tipsandtricks-hq.com/wp-button-creator-plugin-easily-create-beautiful-call-to-action-buttons-4829

    August 26, 2013 at 1:19 am #53590
    Robert
    Participant

    Thanks, that works great!

    Any thoughts on the submit and additional classes ideas?

    August 27, 2013 at 4:28 am #53591
    admin
    Keymaster

    I added another parameter called “classes” in the button shortcode that you can use to specify a custom class. Please check example here:

    http://www.tipsandtricks-hq.com/wp-button-creator-plugin-easily-create-beautiful-call-to-action-buttons-4829

    Can’t do a “submit” form at this stage.

    August 27, 2013 at 6:31 am #53592
    Robert
    Participant

    Ok, thanks for the updates. I really enjoy the flexibility the plugin provides me on my site.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ