Title: Using short code to render a button not working.
Last modified: August 21, 2016

---

# Using short code to render a button not working.

 *  [John](https://wordpress.org/support/users/johnstevenspendleton/)
 * (@johnstevenspendleton)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-short-code-to-render-a-button-not-working/)
 * My question,
 * I am trying to add a custom button to a simple lightbox link
 * If you look at the link below and switch to LIST VIEW(look at the second listing
   called “Drag and Drop”) you can see the button is rendering but the words that
   are supposed to be on the button are next to it and not on the button.
 * [http://www.johnpendleton.com/jpportfolio/portfolio/#prettyPhoto](http://www.johnpendleton.com/jpportfolio/portfolio/#prettyPhoto)
   
   the username and password to my site are both: johnpendleton
 * Code that I am using for the button:
 * a href=”[http://www.johnpendleton.com/jpportfolio/wp-content/uploads/2013/10/parallax-background-quasar.jpg&#8221](http://www.johnpendleton.com/jpportfolio/wp-content/uploads/2013/10/parallax-background-quasar.jpg&#8221);
   rel=”prettyPhoto” title=”This is the description”><img src=”[rockthemes_button
   icon_align=”left” icon_title=”View Larger Image” button_size=”” button_color=”
   primary” button_flat=”no” button_shape=”button-rounded” button_wrap=”no” link_url
   =”” icon_class=”icon-check” icon_url=””]View Larger Image[/rockthemes_button]”/
   >
 * Any help on what I need to change to get this to work would be great!
 * Thanks,

The topic ‘Using short code to render a button not working.’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [John](https://wordpress.org/support/users/johnstevenspendleton/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/using-short-code-to-render-a-button-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
