Title: URL=[shortcode]
Last modified: August 21, 2016

---

# URL=[shortcode]

 *  Resolved [Rami](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/)
 * Hello guys,
 * URL input is a shortcode (or php)
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 * I have a button which will link to the user profile url. I have a shortcode for
   that but I was not lucky assigning the shortcode to the URL (it takes it as text)
 * I try some nonsense php and url=’…lalala combinations…’ but I can’t make it work.
 * Or maybe based on your experience there’s another way to input the USER PROFILE
   URL PATH to the url=
 * Many thanks!
    Ramiro.
 * [http://wordpress.org/extend/plugins/maxbuttons/](http://wordpress.org/extend/plugins/maxbuttons/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932268)
 * 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](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932342)
 * 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](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932343)
 * I apologise, the code above was broken after saving the reply, please check the
   code in pastebin:
 * [http://pastebin.com/tgiHa4aT](http://pastebin.com/tgiHa4aT)
 * Thanks
    Ramiro
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932344)
 * 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](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932345)
 * 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](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932346)
 * Hello John, just to let you know how I made it work:
 * [http://pastebin.com/eUu01E1A](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
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932456)
 * Glad it ended up working. Marking as resolved, but happy to answer any other 
   questions if you have them.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘URL=[shortcode]’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

## Tags

 * [url](https://wordpress.org/support/topic-tag/url/)

 * 7 replies
 * 2 participants
 * Last reply from: [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/urlshortcode/#post-3932456)
 * Status: resolved