Event categories stylized with Revista Yootheme

Home Forums Calendar Products Events Calendar PRO Event categories stylized with Revista Yootheme

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #19005
    javier
    Participant

    Hi!

    I´m working with Revista Theme from Yootheme. How can I select the Events categories in the theme on Theme Options > Profiles > Assign Profiles?

    By now, I just assign default wordpress pages and categories…

    I´m looking solution in the web, but I don´t find it. Any idea to fix it? But remember… (ha, ha, ha!) I´m the user with the php and programming knowledge of a designer 🙁

    Thanks!

    #19021
    Jonah
    Participant

    Hi Javier,

    No idea, this would be specific to your theme and how it’s coded. You might try contacting the theme author to see if they can help you with this.

    Good luck!

    – Jonah

    #19083
    javier
    Participant

    There is help in this link about it: http://www.yootheme.com/support/question/10644
    But… the problem is… I don´t need to create a new custom content type because the new content type is also created by the plugin ECP. I don´t know where the ECP related php files are to do the same process of the help tutorial.
    I suppose that the “single-treatments.php”, “archive-treatments.php” and “taxonomy conditions” of the help process link belongs to the same ECP PHP files that doing these functions… If you show me which folder allows these files yhen I will be able to do the help process of the link.
    Thanks!

    #19130
    Jonah
    Participant

    Hi Javier,

    What exactly are you trying to accomplish? Are you needing to apply specific styling to event categories within your website?

    Cheers,
    Jonah

    #19146
    javier
    Participant

    Yes, that is exactly what I need. Styling with the styles of my theme the event categories. (I´m working in localhost…)

    #19152
    Jonah
    Participant

    Hey Javier,

    There are a few ways you can style specific events categories. When you are on a particular category viewing the calendar you can tap into the .events-category-{your-category-slug} body class (replace your-category-slug with the slug of your category) or for individual events you can also use .cat_{your-category-slug} to specifically target events in certain categories in the calendar itself…

    Does that help?

    #19405
    javier
    Participant

    Honestly… I don´t know where to find those parameters in the php.files… this is another world for me :S …

    But there can be something that can help me:

    There is a folder called “views” in the plugin folder.

    1. Which of those php files of the events calendar should I include and change to my theme template’s file? Is there one that contains all of them or something like that?

    2. Actually there isn´t any “events” folder created in my theme folder so… Do I have to create it?

    3. What is the name of the “events custom content type” and “taxonomy” to include them in the templates, loops and php files of my theme to recognize the events calendar in the layouts folder?

    I have just asked in the Yootheme support forum but… I don´t know if I will receive any answer, there are more users with the same problem but the support appears to be slow and without interest (perhaps they don´t pay them… 🙁 ) This is driving me crazy… Thanks again for your support!

    #19443
    Jonah
    Participant

    Hey Javier,

    In my previous post you would just need to modify the CSS. When on a particular event category page you should have .events-category-{your-category-slug} as one of the body tag classes which will allow you to create declaration in your CSS like:

    .events-category-{your-category-slug} .event-title {
    color: #ccc;
    }

    … or for individual events each one is appended with a .cat_{your-category-slug} class that you can create CSS declarations for to style them individually.

    Any CSS could either go in your themes style.css file or the /wp-content/plugins/the-events-calendar/resources/events.css (make a copy and place in an ‘events’ folder in your theme first).

    So, you don’t necessarily have to modify any PHP to get category specific styling.

    To answer your other questions in more detail:

    1. There is no specific PHP file for categories in the views folder. These files are more general templates used for the main event views on the website.

    2. You only need to create an ‘events’ folder in your theme if you’re changing any of the /wp-content/plugins/the-events-calendar/views or /wp-content/plugins/events-calendar-pro/views files or the /wp-content/plugins/the-events-calendar/resources/events.css file.

    3. The events post type is ‘tribe_events’ and the taxonomies used are ‘tribe_events_cat’, ‘tribe_venue’ and ‘tribe_organizer’.

    I hope that helps!

    Cheers,
    Jonah

    #976882
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Event categories stylized with Revista Yootheme’ is closed to new replies.