Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Calendar Table Add-On - Hiding event description | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Calendar Table Add-On – Hiding event description

Calendar Table Add-On – Hiding event description

Posted: February 17, 2014 at 1:51 pm

Viewing 4 reply threads


Jake Vizner

February 17, 2014 at 1:51 pm

Is there a way to hide the event description when using Calendar Table Add-On? I’m filtering different types of events on various pages and have no need to display the full event description under each event. I reviewed the short codes and did not find one to hide the event description. Here is an example of page using the calendar Table Add-On: http://d37toastmasters.org/

Thank you,

Jake


Lorenzo Orlando Caum

  • Support Staff

February 17, 2014 at 2:55 pm

Hello again Jake,

Unfortunately, the event description can’t easily be hidden with CSS. It uses the td-event-info class. Here is a screenshot so you can see it:

http://cl.ly/image/1v0I0r250a3v

The problem is that the class has additional information within it such as the title and when the event takes place, etc. If you try to hide that element, then you would end up with something like this:

http://cl.ly/image/2Z1W1w1O3H0a


Lorenzo


Jake Vizner

February 18, 2014 at 3:19 am

Lorenzo,

That is disappointing.

Thank you for your help.

Jake


Anonymous

February 18, 2014 at 7:00 am

Hi Jake,

As you’ve already modified the template, I’m guessing you wont mind modifying it a little more? If so you can remove the event description from the template completely rather easily. You can either delete the code, or comment it out, I would comment it out:

espresso-template-calendar-table/index.php Line 137

<?php echo espresso_format_content(array_shift(explode('<!--more-->', $event->event_desc))); //Includes <p> tags ?></td>

Change that to

<?php // echo espresso_format_content(array_shift(explode('<!--more-->', $event->event_desc))); //Includes <p> tags ?></td>

Only problem is this is all or nothing, it removes the description from the Calendar table template. (If that is a problem)

Hope that helps.


Jake Vizner

February 18, 2014 at 6:51 pm

Hi Tony,

I can’t tell a difference between the current and new code snippet you gave me. Maybe I’m missing something.

Thank you,

Jake

Viewing 4 reply threads

The support post ‘Calendar Table Add-On – Hiding event description’ 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 - Staging Server