Title: Make Button clickable
Last modified: August 22, 2016

---

# Make Button clickable

 *  Resolved [adammaciasz](https://wordpress.org/support/users/adammaciasz/)
 * (@adammaciasz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/make-button-clickable/)
 * I am using your theme and trying to make the call to action button clickable.
 * I’ve tried adding a “a href” and using onclick, but have not had any click having
   it click through to another page.
 * Here’s the portion of the code
    . ‘</p>’ .'<p><button type=”button” class=”btn
   btn-hollow btn-lg”>’ ._x( ‘Button Name’, null, ‘flat-bootstrap’ ).</button>'</
   p>’

Viewing 1 replies (of 1 total)

 *  Theme Author [Tim Nicholson](https://wordpress.org/support/users/timnicholson/)
 * (@timnicholson)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/make-button-clickable/#post-5811796)
 * I’d just do it like this:
    `<p><a href="http://whatever.com/" class="btn btn-
   hollow btn-lg">Button Name</a></p>'`
 * The only reason the above code is more complex than that is to allow for foreign
   language translation of the theme.

Viewing 1 replies (of 1 total)

The topic ‘Make Button clickable’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spot/1.5/screenshot.png)
 * Spot
 * [Support Threads](https://wordpress.org/support/theme/spot/)
 * [Active Topics](https://wordpress.org/support/theme/spot/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spot/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spot/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [href](https://wordpress.org/support/topic-tag/href/)
 * [onclick](https://wordpress.org/support/topic-tag/onclick/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim Nicholson](https://wordpress.org/support/users/timnicholson/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/make-button-clickable/#post-5811796)
 * Status: resolved