Title: Button code on page post
Last modified: August 21, 2016

---

# Button code on page post

 *  Resolved [rhbrody](https://wordpress.org/support/users/rhbrody/)
 * (@rhbrody)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/button-code-on-page-post/)
 * How do I remove the button code that is visible on my page.
 * See [http://www.taxsamaritan.com/test-page/](http://www.taxsamaritan.com/test-page/)
 * I have just the following shortcode on the page post:
 * <?php echo do_shortcode(‘[maxbutton id=”2″]’); ?>
 * Thank you.
 * [http://wordpress.org/plugins/maxbuttons/](http://wordpress.org/plugins/maxbuttons/)

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

 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111526)
 * You only need the shortcode [maxbutton id=”2″] if it is a post or page.
 * The only time you would use do_shortcode() is if you were adding it to a template.
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111632)
 * Marking as resolved, but can re-open if you still have questions.
 *  [ah41572](https://wordpress.org/support/users/ah41572/)
 * (@ah41572)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111705)
 * Hello – how do I get rid of ‘maxbutton’ code on my wordpress site, please? It
   appears on approx 5 of my pages. [http://www.malarikfs.com/who-we-are/](http://www.malarikfs.com/who-we-are/)
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111706)
 * Is it only in widgets that you are having the issue?
 *  [ah41572](https://wordpress.org/support/users/ah41572/)
 * (@ah41572)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111707)
 * It seems to be, yes.
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111708)
 * Try taking a look at this [http://www.carriedils.com/extend-wordpress-widgets-without-plugin/](http://www.carriedils.com/extend-wordpress-widgets-without-plugin/)
   to get shortcodes working inside your widgets.

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

The topic ‘Button code on page post’ 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/)

 * 6 replies
 * 3 participants
 * Last reply from: [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/button-code-on-page-post/#post-4111708)
 * Status: resolved