At this time it is not possible to add a URL in that way to MaxButtons, however, you could use the same button output and instead of using the MaxButton shortcode, just handcode the same container, a, etc and then “View CSS” from the button edit page and throw that in your CSS file.
Basically MaxButtons would do the heavy lifting for you, but then you’d take the result and use it separate from the plugin itself.
I realize that’s not the optimal solution, but it is a solution nonetheless.
Thread Starter
Rami
(@ramirocastro)
Hello John, thank you for your tip.
It seems that the following code I used (i used firebug to take a look at it)…
<div align="center">
<div id="maxbutton-23-container">
<a href="[shortcode....]">
<div class="maxbutton">
<div class="text">Test message</div>
</div>
</a>
</div>
</div>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
… only works great if I put before a [maxbutton id=”23″]. Without the [maxbutton id=”23″] before, it only shows the plain text ‘Text message’ but not the button *** it seems the php calling the shortcode is loading something else that my code above can’t load by itself ***
Thread Starter
Rami
(@ramirocastro)
I apologise, the code above was broken after saving the reply, please check the code in pastebin:
http://pastebin.com/tgiHa4aT
Thanks
Ramiro
This is really all you should need:
<div class="maxbutton-1-container">
<a class="maxbutton-1" href="[shorcode]" >Kickstart Us</a>
</div>
Although putting the shortcode in the href= may not be how that shortcode was designed to be used. You would have to check on that with whoever created the URL shortcode.
Thread Starter
Rami
(@ramirocastro)
The shortcode is working ok, also without the shortcode and using a normal url just to test, but the button is not appearing, only ‘Kickstart us’ as plain text With a link to the href=…
it sounds like it’s not loading the button, i will try to explore why and let you know
thanks!
Ramiro
Thread Starter
Rami
(@ramirocastro)
Hello John, just to let you know how I made it work:
http://pastebin.com/eUu01E1A
i idented the exampled to make it a little bit more readable, however I actually had to put everything in one line to make the button aligned with the other ones on the side.
Thanks 🙂
Ramiro
Glad it ended up working. Marking as resolved, but happy to answer any other questions if you have them.