Title: shortcode with different url does not work
Last modified: October 1, 2021

---

# shortcode with different url does not work

 *  Resolved [petersterke](https://wordpress.org/support/users/petersterke/)
 * (@petersterke)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-different-url-does-not-work/)
 * hi,
 * i’m using plugin as a work around. I setting op the button and i want to add 
   a url manually.
    So i did that using the example, but the button with the link
   created in the plugin works, but with the manually setting not.
 * in the pagelink you see three buttons. first one generated in plugin
    second 
   and third are like this: [maxbutton id=”1″ url=”[https://groep8musicals.nl/wp-content/uploads/2021/10/script-camp-disaster.pdf”%5D](https://groep8musicals.nl/wp-content/uploads/2021/10/script-camp-disaster.pdf”%5D)
 * [maxbutton id=”1″ url=”[http://groep8musicals.nl/wp-content/uploads/2021/10/script-camp-disaster.pdf”%5D](http://groep8musicals.nl/wp-content/uploads/2021/10/script-camp-disaster.pdf”%5D)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-with-different-url-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-different-url-does-not-work/#post-14930567)
 * I can see the problem on the site. The last two buttons have no URL and thus 
   default to void(0). It seems the URL option is not recognized, and not there.
 * Make sure you use only use the ” character for shortcode options, and not any
   others ( the cursive ones you use here are different and can give issues )
 * [maxbutton id=”1″ url=”/wp-content/uploads/2021/10/script-camp-disaster.pdf”]
 * For Gutenberg / Classic and other page builders we have a button option to add
   buttons to the page and fill out the URL and other values, that might be easier.
 * Also refresh the page cache if you change anything! It might be showing an old
   version still.
 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-different-url-does-not-work/#post-14951639)
 * There are no follow ups to this topic, so I’m assuming it’s resolved and marking
   it so.

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

The topic ‘shortcode with different url does not work’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-different-url-does-not-work/#post-14951639)
 * Status: resolved