Different Content/Layout in List and Calendar View based on Category

Home Forums Welcome! Pre-Sales Questions Different Content/Layout in List and Calendar View based on Category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1098818
    Third Garcia
    Guest

    Hi,

    I have 2 questions regarding the Events Calendar.

    Question No 1
    I have a modified list view by having an override located in (my-theme/tribe-events/list/single-event.php)

    URL: http://www.kidsoft.com.au/events

    I have a 2 categories which are the “Webinars” and “Conference”

    What I want to accomplish is to change the contents of the entries in the list based on category.

    Let’s say in category “webinar”, I want to show the title, time, and a link for the webinar registration” (This is what I currently have)

    And in category “conference” I want to show the title, time the permalink to the event single page.

    I tried using <?php if (is_tax(‘tribe_events_cat’, ‘webinar’)) : ?> but i cant accomplish what we want.

    Question no. 2

    How can I remove the word “category” in the url? What i have now is events/category/webinar and i just want events/webinar without the word “category” on it.

    Thanks

    #1098861
    Brian
    Member

    Hi,

    Thanks for using the Events Calendar.

    Here on the pre-sales forum, I’m afraid we do not provide support. I would ask that you take any support questions across to our wordpress.org forum – our staff scan it periodically and other community members may also be able to help out.

    The Events Calendar

    If you have purchased a plugin from us, please login and post in the premium forums for that plugin and we can help you out there:

    https://theeventscalendar.com/support/forums/

    Thanks again!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Different Content/Layout in List and Calendar View based on Category’ is closed to new replies.