Support » Plugin: ArtistDataPress » [Plugin: ArtistDataPress] shortcode variable?

  • Resolved jonkostal

    (@jonkostal)


    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author slushman

    (@slushman)

    Hey Jon,
    Check out the latest update 0.5, it does exactly what you’re wanting.
    Slushman

    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

    (@slushman)

    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.

    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

    (@slushman)

    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.

    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

    (@slushman)

    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.