Support

Home Forums Event Espresso Premium Only 10 items

Only 10 items

Posted: January 16, 2017 at 2:38 pm


ElyFolkSchool

January 16, 2017 at 2:38 pm

I got the table display to work showing more than 10 items, but the grid doesn’t show at all with [ESPRESSO_GRID_TEMPLATE month=02-2017] and the only way I can get it to show is with [ESPRESSO_GRID_TEMPLATE limit=14]. Regular espresso display only shows 10. If I add the limit, it doesn’t show at all.


Josh

  • Support Staff

January 16, 2017 at 4:08 pm

You can try this instead:

[ESPRESSO_GRID_TEMPLATE month=february limit=50]


ElyFolkSchool

January 16, 2017 at 5:39 pm

Thank you. I’m a little cranky because I wish there were just settings that could be chosen instead of having to edit php files and figuring out shortcodes. And somewhere to pick the size of our “thumbnails.”


Tony

  • Support Staff

January 18, 2017 at 7:14 am

Unfortunately if we added options for even half of the options available within Event Espresso you would end up with multiple ‘walls’ of setting pages to go through which in turn ends up being more frustrating. So whilst we do understand your frustration it’s a fine balance to prevent it become harder to manage in other ways.

Editing PHP files depends on what it is you want to change, we have hooks throughout EE to allow you to modify a lot of the behavior and are open to adding new hooks if needed but again, it just depends what your trying to change.

And somewhere to pick the size of our “thumbnails.”

That is something we do don’t currently have a setting or hook available for although you can load a custom version of the grid template and change the size within that.

The default size uses the ‘thumbnail’ size which is usually set by your theme, by default its 150px by 150px, but your theme may change this.

To change it you’ll need a copy of the espresso-grid-template.template.php from within the grid plugin.

Add the copy to /wp-content/uploads/espresso/templates/ or the root directory of your theme.

Within that file around line 26 you’ll find:

$feature_image_url = $post->EE_Event->feature_image_url();

Pass your image size to that method, for example:

$feature_image_url = $post->EE_Event->feature_image_url( 'medium' );

Or you can pass an array for a specific size:

$feature_image_url = $post->EE_Event->feature_image_url( array(32,32) );

The support post ‘Only 10 items’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 years, 10 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!