WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Event List Limit Not Working

[Resolved] Event List Limit Not Working

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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

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

    Plugin Author Marcus

    @netweblogic

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

    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?

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

    @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)

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

    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.

    angelo_nwl

    @angelo_nwl

    NetWebLogic Support

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Event List Limit Not Working’ is closed to new replies.
Skip to toolbar