• Resolved Ryan Gannon

    (@ryangannon)


    I’m using the following;

    [eo_events numberposts="2"]%event_thumbnail%
    <h3>%event_title%</h3>
    <span class="time">%start{l jS F}{ - ga}%</span>
    
    %event_excerpt%
    
    <a href="%event_url%">More Info</a>
    
    [/eo_events]

    however only the next event is being shown not the next two. If I set the next event to draft then only the one after it is been shown.

    https://www.ads-software.com/extend/plugins/event-organiser/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Sorry Ryan – I thought I had replied to this post…

    Have you tried disabling all other plug-ins – my guess is that somethings intercepting the query setting the number of posts to 1. Or else have you tried changing the number to see what effect it has (setting it to -1 should show all events).

    Thread Starter Ryan Gannon

    (@ryangannon)

    Is there any reason that do_shortcode() would be causing this? Because I’m outputting the page as a string before it’s echoed, hence do_shortcode.

    Thread Starter Ryan Gannon

    (@ryangannon)

    *self-facepalm* Nevermind, I have a post_limits filter on. I am not pleased with myself.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only the next event is being listed by the shortcode.’ is closed to new replies.