Home › Forums › Calendar Products › Events Calendar PRO › Event categories stylized with Revista Yootheme
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
May 10, 2012 at 11:26 am #19005
javier
ParticipantHi!
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!
May 10, 2012 at 9:26 pm #19021Jonah
ParticipantHi 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
May 12, 2012 at 5:02 pm #19083javier
ParticipantThere 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!May 14, 2012 at 7:56 am #19130Jonah
ParticipantHi Javier,
What exactly are you trying to accomplish? Are you needing to apply specific styling to event categories within your website?
Cheers,
JonahMay 14, 2012 at 8:48 am #19146javier
ParticipantYes, that is exactly what I need. Styling with the styles of my theme the event categories. (I´m working in localhost…)
May 14, 2012 at 9:41 am #19152Jonah
ParticipantHey 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?
May 18, 2012 at 11:33 pm #19405javier
ParticipantHonestly… 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!
May 21, 2012 at 9:48 am #19443Jonah
ParticipantHey 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,
JonahJuly 7, 2015 at 6:20 am #976882Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Event categories stylized with Revista Yootheme’ is closed to new replies.
