WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Event List Limit Not Working (10 posts)

  1. shawn00m
    Member
    Posted 1 year ago #

    I've set the limit of events to be listed to 10, but it isn't working. All events are being shown. Any suggestions? http://dev.stellamarisretreatcenter.com/events/categories/retreats

    http://wordpress.org/extend/plugins/events-manager/

  2. abeasley54
    Member
    Posted 1 year ago #

    I had this problem and seen that I didn't close my shortcode....it may not be your issue but make sure all or your syntax are correct and verything opens and closes correct

  3. agelonwl
    Member
    Posted 1 year ago #

    try this snippet http://pastebin.com/MhkCLJkE changing location with category

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    where are you imposing that limit? settings, shortcode, code?

  5. shawn00m
    Member
    Posted 1 year ago #

    I put the limit in the settings. I went to Events Manager > Settings > Pages > Event List/Archives. Then, next to "Event List Limits" I put in "10".

    Is there another way to do that?

  6. shawn00m
    Member
    Posted 1 year ago #

    And to clarify, this problem is occurring when viewing event categories, not the main events list page. The limit is working there.

  7. agelonwl
    Member
    Posted 1 year ago #

    @shawn00m

    have you tried my suggestion above?

    e.g.

    1. instead of em_location_output_placeholder changed it to em_category_output_placeholder

    2. #_LOCATIONNEXTEVENTS used #_CATEGORYNEXTEVENTS

    3.

    $events = EM_Events::get( array('location'=>$EM_Location->location_id, 'scope'=>'future', 'limit'=>3) );

    to

    $events = EM_Events::get( array('category'=>$EM_Category->term_id, 'scope'=>'future', 'limit'=>3) );

    4.

    my_em_placeholder_mod($replace, $EM_Location, $result)

    to

    my_em_placeholder_mod($replace, $EM_Category, $result)
  8. shawn00m
    Member
    Posted 1 year ago #

    I was able to fix the issue using shortcodes on pages. Thank you for your help.

  9. campbell.elsie@gmail.com
    Member
    Posted 10 months ago #

    I am having this problem, all my events being listed even though I have set the limit to 16 in the settings. I am very average and have no experience with coding. I think your plugin will do everything i need if I can just get the limit to work as I only want to show 16 events in my list but want to create them as recurring. I would appreciate any help with this, however with my limited experience I am not sure if I am going to be able to fix this.

  10. angelo
    NetWebLogic Support
    Posted 10 months ago #

    maybe you can re-post this issue in a new thread since this thread is quite old now. also, please provide additional links to your site for us to see and analyze.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic