February 4, 2013 at 9:21 pm #8490mikieMember
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
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 #53582mikieMember
Thanks so much, I’ve got 59 buttons to create!August 21, 2013 at 12:32 am #53583
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.
[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
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
When you say “anchor”, you mean like a textual link?August 23, 2013 at 5:56 pm #53586
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
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
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
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:August 26, 2013 at 1:19 am #53590
Thanks, that works great!
Any thoughts on the submit and additional classes ideas?August 27, 2013 at 4:28 am #53591
I added another parameter called “classes” in the button shortcode that you can use to specify a custom class. Please check example here:
Can’t do a “submit” form at this stage.August 27, 2013 at 6:31 am #53592
Ok, thanks for the updates. I really enjoy the flexibility the plugin provides me on my site.
- You must be logged in to reply to this topic.