Support

Home Forums Event Espresso Premium ee4 grid view limit shortcode not working

ee4 grid view limit shortcode not working

Posted: November 9, 2015 at 3:57 pm

Viewing 18 reply threads


Cathy Herbert

November 9, 2015 at 3:57 pm

i added the limit=50 to short code for EE4 grid view and it still does not show them all.


Tony

  • Support Staff

November 10, 2015 at 5:33 am

Hi Cathy,

Can you post up the full shortcode you are using please?

How many events does it show?


Cathy Herbert

November 10, 2015 at 10:10 am

it only shows 10. ESPRESSO_GRID_TEMPLATE sort=”ASC”, limit=”60″,title=”Class Calendar”][/vc_column_text][/vc_column][vc_column][/vc_column][vc_column][/vc_column][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row][vc_row row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern” css_animation=””][vc_column][/vc_column][/vc_row]


Lorenzo Orlando Caum

  • Support Staff

November 10, 2015 at 10:49 am

Hi Cathy,

I’ve tested the limit option on one of our testing sites and it is working. Could you try this shortcode?

[ESPRESSO_GRID_TEMPLATE limit=”60″ sort=”ASC” title=”Class Calendar”]

Active and upcoming events should be shown.


Lorenzo


Cathy Herbert

November 10, 2015 at 11:38 am

now only 1 shows!!!?


Cathy Herbert

November 10, 2015 at 11:40 am

CHANGED IT TO 50 AND NOW IT SHOWS 10 AGAIN
WEIRD


Cathy Herbert

November 10, 2015 at 11:41 am

1 might have been a fluke, 60 still shows only 10


Lorenzo Orlando Caum

  • Support Staff

November 10, 2015 at 11:52 am

Hi Cathy,

Could you provide a link to your event listings page?

This is usually:

example.com/events/

Thanks


Lorenzo


Cathy Herbert

November 10, 2015 at 1:09 pm

http://184.154.247.93/~cyanarts/index.php/calendar/


Lorenzo Orlando Caum

  • Support Staff

November 10, 2015 at 1:13 pm

Hi Cathy, could you temporarily lift the maintenance mode so we can see the page?

Also, just a heads up that Windows-based servers are not supported as we develop and test on Apache and Nginx servers.


Lorenzo


Cathy Herbert

November 10, 2015 at 1:25 pm

sorry..turned the maint off so you can see it…


Josh

  • Support Staff

November 10, 2015 at 3:05 pm

Hi Cathy,

You’ll need to remove those commas that are between the parameters, eg:

[ESPRESSO_GRID_TEMPLATE sort="ASC", limit="60",title="Class Calendar"]

needs to be:

[ESPRESSO_GRID_TEMPLATE sort=ASC limit=60 title="Class Calendar"]


Cathy Herbert

November 10, 2015 at 3:18 pm

comments have been removed several times ago [ESPRESSO_GRID_TEMPLATE limit=”60″ sort=”ASC” title=”Class Calendar”]


Cathy Herbert

November 10, 2015 at 3:18 pm

..commas I meant..oops still only displays 10


Lorenzo Orlando Caum

  • Support Staff

November 10, 2015 at 3:30 pm

Hi Cathy, you are using the shortcode correctly and I see on your events listings page that there are more than 10 events.

Could you follow up with us here?

https://eventespresso.com/send-login-details/


Lorenzo


Cathy Herbert

November 10, 2015 at 4:01 pm

?? There are only 10 events listed on my calendar page where the event expresso grid template view is being used??? http://184.154.247.93/~cyanarts/index.php/calendar/


Tony

  • Support Staff

November 11, 2015 at 1:35 am

Hi Cathy,

When Josh mentioned the shortcode was incorrect here it wasn’t just the commas that he changed but also removed the quotes around the attribute values, for example:

limit=”60″

Here is the shortcode you have been using – http://take.ms/lTHcD

[ESPRESSO_GRID_TEMPLATE limit="60″ sort=”ASC” title=”Class Calendar”]

Note there is actually 3 different double quotation marks in use (",″,”) within that shortcode and that was causing the problem. I went ahead and changed the shortcode to:

[ESPRESSO_GRID_TEMPLATE limit=60 sort=ASC title=”Class Calendar”]

Which now displays 13 events.

Please let us know if you have further problems.


Cathy Herbert

November 17, 2015 at 9:26 am

Thank you that worked!


Tony

  • Support Staff

November 17, 2015 at 2:02 pm

You’re most welcome, Cathy 🙂

Viewing 18 reply threads

The support post ‘ee4 grid view limit shortcode not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso