Support

Home Forums Event Espresso Premium EVENT_CUSTOM_VIEW template_name="date-range" possible to remove venue column?

EVENT_CUSTOM_VIEW template_name="date-range" possible to remove venue column?

Posted: July 12, 2014 at 3:06 pm

Viewing 3 reply threads


erik roland

July 12, 2014 at 3:06 pm

Hello!
I have used this command
[EVENT_CUSTOM_VIEW template_name=”date-range” end_date=”2014-08-31″]
to produce a list of events. (http://impulso.no/gratis-proveuke-hosten-2014/)
My problem is that it’s hard to see the list on a phone. Is it possible to
1) not display location at all?
or
2) Change the word of location into a shorter word such as loc?

Also, Is it possible to do the same as I did with date, but only using category?cheers!


Lorenzo Orlando Caum

  • Support Staff

July 12, 2014 at 7:27 pm

Hi Erik!

Please give this a try:

.espresso-table .th-group:nth-of-type(2), .espresso-table .venue_title {
display:none;
}

You can add the CSS to your child theme’s stylesheet or a plugin like My Custom CSS or Reaktiv CSS Builder.

It should look similar to this:

http://cl.ly/image/3b1l3W2t3E1x


Lorenzo


erik roland

July 13, 2014 at 3:17 pm

PERFECT!
Thank you so much Lorenzo! 😀

Two more questions:

-is there – for this command/code – an option to exclude a certain category from that list?
I would love to be able to do that for this code [EVENT_CUSTOM_VIEW] so that it would not contain the long list of free trial classes.

-is it possible to only give customer the option “sign in” (meld deg på), excluding “add to cart”?

Cheers!
Erik


Tony

  • Support Staff

July 14, 2014 at 5:38 am

Hi erik,

-is there – for this command/code – an option to exclude a certain category from that list?

There is no ‘exclude’ attribute for the above shortcode, however as you can add multiple categories to events you could create a new category for the events that you do wish to display, and using the category_identifier attribute within the shortcode, so something like:

[EVENT_CUSTOM_VIEW template_name=”date-range” category_identifier=your_category_identifier]

-is it possible to only give customer the option “sign in” (meld deg på), excluding “add to cart”?

It is possible but would require some custom coding, it will also depend on where you would like the user to go once logged in. For example once they login should they be directed back to the table view or the event itself.

Viewing 3 reply threads

The support post ‘EVENT_CUSTOM_VIEW template_name="date-range" possible to remove venue column?’ 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