Title: Shortcode with attribute not working
Last modified: August 19, 2016

---

# Shortcode with attribute not working

 *  [peterve](https://wordpress.org/support/users/peterve/)
 * (@peterve)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-attribute-not-working/)
 * Hi,
 * I am running WordPress 3.0.1, PHP 5.2.9
    I noticed that all shortcodes that use
   an attribute are not working on my system. How can I fix this ?
 * The shortcode handlers gets properly called, but $atts is empty
 * Shortcodes without attributes work fine.
 * tx

The topic ‘Shortcode with attribute not working’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [peterve](https://wordpress.org/support/users/peterve/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/shortcode-with-attribute-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
