Title: [Plugin: ArtistDataPress] shortcode variable?
Last modified: August 20, 2016

---

# [Plugin: ArtistDataPress] shortcode variable?

 *  Resolved [jonkostal](https://wordpress.org/support/users/jonkostal/)
 * (@jonkostal)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/)
 * Hi,
    What I would like to do is show all the shows on the shows page but be able
   to create a post that limits the number of shows. Is this possible? I know that
   you can change the number of shows universally but but is there a way to do what
   I am describing? Thank you.
 * Jon
 * [http://wordpress.org/extend/plugins/artistdatapress/](http://wordpress.org/extend/plugins/artistdatapress/)

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

 *  Plugin Author [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052309)
 * Hey Jon,
    Check out the latest update 0.5, it does exactly what you’re wanting.
   Slushman
 *  Thread Starter [jonkostal](https://wordpress.org/support/users/jonkostal/)
 * (@jonkostal)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052310)
 * Wow! Thank you. I am having difficulty upgrading. In the dashboard it says it
   is up to date but it it not. What is the procedure to upgrade? I tried just replacing
   the files in the directory but that did not seem to work.
 *  Plugin Author [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052311)
 * Hey Jon,
    I’ve just added another update to remove some gibberish that was added
   when I tried to update the plugin. The latest version is 0.52. If you’re having
   issues, try deleting the plugin and download and install it again. Slushman.
 *  Thread Starter [jonkostal](https://wordpress.org/support/users/jonkostal/)
 * (@jonkostal)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052312)
 * OK, I have updated but how do you override the number of shows in the post shortcode?
   
   Forgive me but I can’t seem to find the instructions.
 * Display your ArtistData calendar on a page or post using the [artistdatapress]
   shortcode
    Override plugin settings in the shortcode to change how many shows
   are displayed
 *  Plugin Author [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052313)
 * It’s in the readme, but here’s how:
    In the shortcode, put maxhows= followed 
   by the amount you’d like to limit by. For example:
 * `[artistdatapress maxshows=7]`
 * On that page/post, it will only show 7 of the shows from the feed in your plugin
   settings. You can also specify another feed (like past shows, or your band’s 
   feed on your website, etc).
 * `[artistdatapress maxshows=7 feedurl=http://whateverfeedurl.com]`
 * This will display 7 shows from this alternate feed.
 *  [mgwaters](https://wordpress.org/support/users/mgwaters/)
 * (@mgwaters)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052314)
 * I can’t seem to limit the number of shows per your shortcode above. The result
   of the shortcode shows ALL of the shows. I have tried 3 different ways:
 * [artistdatapress maxshows=4]
 * [artistdatapress maxshows=4 feedurl=http://feeds.artistdata.com/xml.shows/artist/
   AR-904CC0A5BD938C99/xml/future]
 * [artistdatapress maxshows=4 feedurl=http://artistdata.sonicbids.com/mjs-brass-
   boppers/shows]
 * I have set the number of shows in the plugin settings to All, but I am using 
   the shortcode on the homepage and want to limit the number of shows to 4. I am
   using the iCal Style layout option. Version 0.412
 * Any ideas?
 *  Plugin Author [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052315)
 * These changes only apply to the latest version 0.52, not version 0.412. You’ll
   need to update first. 🙂

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

The topic ‘[Plugin: ArtistDataPress] shortcode variable?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/artistdatapress_a72b29.svg)
 * [ArtistDataPress](https://wordpress.org/plugins/artistdatapress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/artistdatapress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/artistdatapress/)
 * [Active Topics](https://wordpress.org/support/plugin/artistdatapress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/artistdatapress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/artistdatapress/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [slushman](https://wordpress.org/support/users/slushman/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-shortcode-variable/#post-3052315)
 * Status: resolved