WordPress.org

Ready to get started?Download WordPress

Forums

ArtistDataPress
[resolved] shortcode variable? (8 posts)

  1. jonkostal
    Member
    Posted 1 year ago #

    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/

  2. slushman
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. jonkostal
    Member
    Posted 1 year ago #

    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.

  4. slushman
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. jonkostal
    Member
    Posted 1 year ago #

    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

  6. slushman
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  7. mgwaters
    Member
    Posted 1 year ago #

    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?

  8. slushman
    Member
    Plugin Author

    Posted 1 year ago #

    These changes only apply to the latest version 0.52, not version 0.412. You'll need to update first. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.