Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Aha, ??

    How many items do you have and how many would you want as a maximum?

    Thread Starter Steve Mosby

    (@malgra)

    I was playing with array_slice as we are using the shortcode as part of the main dashboard for users (so 3 in this case, i.e. upcoming events) and then the full listing on a different page which shows the rest of the year.

    Thinking about it, would be good to (at a later option) filter for anything in the next 6 months or so!

    Plugin Author Marcel Pol

    (@mpol)

    Hi Steve,
    The shortcode now has a parameter for posts_per_page.
    Version 1.4.1 was just released with this.

    Regards,
    Marcel

    Thread Starter Steve Mosby

    (@malgra)

    Thats brill! Thanks for letting me know ??
    Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Limit number of items returned in shortcode’ is closed to new replies.