WordPress.org

Ready to get started?Download WordPress

Forums

Gigs Calendar
Display 20 past shows at a time? (2 posts)

  1. lala_valse
    Member
    Posted 3 years ago #

    Hi all,

    Gigs are accumulating quite quickly; is there an easy way to display only twenty gigs in the past show archive table at a time?

    I was thinking of something along the lines of an AnythingSlider, although I don't know how practical or doable it is. Any thoughts?

    Thank you for your time!

    http://wordpress.org/extend/plugins/gigs-calendar/

  2. lala_valse
    Member
    Posted 3 years ago #

    Must have read this post about five times before I understood what was going on: http://wordpress.org/support/topic/plugin-gigs-calendar-shortcodes-php-templates-commands-documentation-please?replies=6

    So I thought I would share the temporary answer to my question.

    I disabled the display of my 30+ archives by setting

    Gigs Calendar > Settings > Select a page to house your gigs archive: to --None--

    Then I displayed the latest 20 entries of the gigs archive by adding the code below to the page where i wanted the gigs archive to show up:

    [gigs-cal archive limit=20]

    Done! Pretty sweet, though I'd like to find a way to view the entire gigs archive eventually, 20 entries at a time...

    Also, how in the world does gigs-list.php know to loop through if you want to display both upcoming and past shows archive? Is it in this piece of code on gigs-list.php (wp-content/gigs-templates/my-own-template folder),

    <table class="gigs calendar <?php $upcoming ? 'upcoming' : 'archive' ?>">

    or is it in gigs-calendar.php (wp-content/plugins/gigs-calendar folder)? Sorry if the answer to this question is super obvious.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic