Home › Forums › Calendar Products › Events Calendar PRO › Use Key on Dev and Live sites on same domain
- This topic has 10 replies, 2 voices, and was last updated 10 years, 2 months ago by
Brian.
-
AuthorPosts
-
February 17, 2016 at 7:44 am #1074477
James
ParticipantHi, we’ve just purchased a single site licence and added the key to our dev.mydomain.com development site. When we’ve come to update the live site, the licence key is out of installs. We thought that, as this is effectively a single domain name, it would work on both sites. Is this possible?
Many thanks
Dean
February 17, 2016 at 7:52 am #1074490James
ParticipantAlso, it appears that the ‘tax-tribe_events_cat’ class is no longer added to the body tag. Is this something that was removed from the plugin functionality?
February 17, 2016 at 7:54 am #1074492Brian
MemberHi,
Thanks for using our plugins. I can help out here.
The license system works for individual installs of WordPress and not the domain itself.
However, the license is only needed for automatic updates and not for the plugin to work.
So you can add the license to the site you are doing the automatic updates and the other does not need it.
You can also move the license from site to site following this guide:
https://theeventscalendar.com/knowledgebase/using-one-license-for-your-live-and-dev-sites/
And we have move license related guides here:
https://theeventscalendar.com/knowledgebase-category/install-licenses/
Let me know if you have any follow up questions.
Thanks
February 17, 2016 at 7:57 am #1074494James
ParticipantThanks Brian, just wanted to repost this incase you didn’t see it:
Also, it appears that the ‘tax-tribe_events_cat’ class is no longer added to the body tag. Is this something that was removed from the plugin functionality?
February 17, 2016 at 8:15 am #1074518James
ParticipantSorry, my manager has mentioned that it might be a pain for us to have to keep moving the licence key from one site to the other. Ideally, we’d like to have it running on both sites concurrently. Is that possible?
February 17, 2016 at 8:25 am #1074527Brian
MemberWhat version did you update from?
I do not see it in 4.0 or 3.12, which are the last two versions.
February 17, 2016 at 9:02 am #1074547James
ParticipantWe’ve updated from 3.7.
If you look here: http://hallsgb.com/auction/category/fine-art-auctions/decorative-arts, the body tag has the ‘tax-tribe_events_cat’ class. This version of the site is still on 3.7.
The dev site is now on 4.0.5, and doesn’t have this class on the bdoy tag: http://dev.hallsgb.com/auction/category/fine-art-auctions/decorative-arts
Thanks for your assistance.
February 17, 2016 at 3:45 pm #1074694Brian
MemberI am not sure when it was changed there is 6 major releases between them.
This snippet added to a child theme’s functions.php will add the class back:
// Add specific CSS class by filter
add_filter( 'body_class', 'tribe_body_class' );
function tribe_body_class( $classes ) {
if ( tribe_is_event_category() ) {
$classes[] = 'tax-tribe_events_cat';
}
return $classes;
}As for the license we only have the ability to have one license per install for the personal license and there is no way around that. The license is not needed for the plugin to work so you could have it in one and do manual updates of the plugin in another.
February 18, 2016 at 5:08 am #1074849James
ParticipantThanks, that has fixed some of the styling issues. Is it possible to do something similar to the post container div? It’s missing these classes:
.hentry .vevent
February 18, 2016 at 7:58 am #1075120Brian
MemberHi,
For the most part themes are responsible for adding in those classes and some like Genesis are removing them on purpose.
This filter should add it back:
add_filter( 'post_class', 'tribe_post_class_filter' );
function tribe_post_class_filter( $classes ) {
if ( tribe_is_event() && is_single() ) {
$classes[] = 'hentry vevent';
}
return $classes;
}February 19, 2016 at 7:13 am #1078040Brian
MemberSince this is marked with a correct answer I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Use Key on Dev and Live sites on same domain’ is closed to new replies.
