-
AuthorSearch Results
-
March 30, 2017 at 6:21 pm #1262366
Victor
MemberHi Holly!
Thanks for reaching out to us! I’m sorry you are having that issue đ
If you did find out it’s a theme conflict, I suggest you contact the theme authors to see if they can help you solve the issue.
Just to set expectations, let me tell you that our â<u>Terms of Service</u>â doesnât allow us to help with custom coding. But we do like helping out and at least point users into the right direction.
So here is a code snippet you could try adding to your theme’s functions.php file to remove the ajax pagination script from the list view >
add_action( 'wp_enqueue_scripts', 'dequeue_tribe_events_ajax_list' ); function dequeue_tribe_events_ajax_list () { wp_dequeue_script('tribe-events-list'); }I hope that works for you. Let me know if any other questions.
Best!
Victor
March 22, 2017 at 10:47 pm #1258459In reply to: Photo View Broken
Geoff B.
MemberGood evening Rob and welcome back!
Thank you for reaching out to us.
I would like to help you with this.It looks like your theme is using an older version of isotope.
Since we recently upgraded the version isotope used by our plugin, this is probably conflicting.The solution would be to dequeue that version of isotope for at least the calendar related pages or archives OR to downgrade our plugins to version 4.3.5.
I recommend reading the following:Â https://theeventscalendar.com/knowledgebase/downgrading-plugin-past-version/
Let me know how that goes.
Best regards,
Geoff B.February 17, 2017 at 11:28 pm #1240843In reply to: Customization
Geoff B.
MemberGood evening Frank,
These are great questions.
I am sorry my initial answer did not help.The main ways in which our plugins are customizable are:
- Through view/template overrides. You might want to read our Themer’s guide to get a sense of how that works.
This is more than just a look and feel change, it literally lets you take any view and tweak it’s behaviour to your liking. You can dequeue functions, replace them with our own, add new parts, remove some that you do not want, etc..
- Through extensions or simple functions.php filters and actions.
- Through page templates. This basically let’s use our functions to your liking. You can even heavily borrow from the existing views if you want to.
- Through the use of plugins such as advanced custom post fields
So in short, the possibilities are endless.
That being said, although we are excited about the possibilities of customizations that are offered, our support for customizations is limited to pointing our customers in the right direction to get started.
Finally, our list of recommended customizers (mentioned in my previous reply) could most likely help you accomplish whatever you have in mind.
Have a good weekend,
Geoff B.
February 15, 2017 at 9:47 am #1235768Andras
KeymasterLilly,
Please check this thread. An answer of my colleague, Brook contains a list of scripts, check if dequeuing more helps.
Let me know.
Andras
January 25, 2017 at 11:32 pm #1224188In reply to: Venue dropdown search using wildcard
Brook
ParticipantHowdy again Eric!
Why is it that if I have the following options in the venue dropdown:
Option A
Option BAnd I search for âon Aâ I donât get this match
Simply put: because the third party library our plugin uses, Select 2, does not work that way. By default it searches from the beginning of the full string.
For your solution, where is the hook that I can dequeue the Select2 version of tribe events. And where can I find the init for the venue dropdown (i.e. which js file)
You could use any of the hooks people commonly use for dequeueing. For example, ‘wp_print_scripts’ is a well-timed action for this sort of thing. The script handle you want to dequeue and possible deregister is ‘tribe-select2’. From there you can create your own.
Cheers!
– Brook
January 25, 2017 at 1:07 am #1223446In reply to: Venue dropdown search using wildcard
Eric
ParticipantHi Brook,
Thanks for the reply, but I still have a question.
Why is it that if I have the following options in the venue dropdown:
Option A
Option BAnd I search for ‘on A’ I don’t get this match
Option A
Option BBut I have to search for ‘Option A’
—-
For your solution, where is the hook that I can dequeue the Select2 version of tribe events. And where can I find the init for the venue dropdown (i.e. which js file)Eric
January 17, 2017 at 4:39 pm #1219962In reply to: Venue dropdown search using wildcard
Brook
ParticipantHowdy again Eric,
I would love to help you find a solution for this, as best I can.
This is likely possible to do. The jQuery  plugin which powers that dropdown/search is called Select2. As of Select2 version 4.0 the search function can be modified. Here is an example modification that likely works exactly like you want. The problem is that we are using Select2 version 3.5.
You or your PHP developer could dequeue our version of Select2 and enqueue a newer version of it, such as 4.0. From there following this example you could swap out the “matcher” algorithm for one of your own, likely you would be happy just copying the one from that example.
Does that make sense?
Cheers!
– Brook
January 13, 2017 at 2:38 pm #1218406In reply to: Add event styling changes
Hunter
ModeratorHey James,
Have a look at our Dequeue CSS Styles and JavaScript Files extension and let me know if it helps address your concerns.
Have a great weekend ahead đ
January 4, 2017 at 12:30 pm #1213396In reply to: [tribe_events] shortcode output has no styling
modernearth
ParticipantHey Nico!
I am adding the shortcode in a template through PHP so the code that I have in is:
<?php echo do_shortcode('[tribe_events view="month" category="course"]'); ?>The template is then applied to a page. The page is currently on a test site right now (its IP restricted) and I can get you access to it but I would need to ask for your computer’s IP address first (if that’s fine).
________________________________________________________
I have also not done the testing for conflicts process yet though I noticed a Google Map JS conflict on the Chrome dev tools console, I’m seeing that the Google Map JS code is being added twice by two different plugins (I would assume one of them is TEC) but the version that is seem to be added by TEC doesn’t have any API keys on it so I’d rather dequeue that lone script, is there any way to do that — it’s a Google Map conflict but maybe it can also miraculously fix this problem?
Thanks!
– ChrisJanuary 3, 2017 at 9:34 am #1212705In reply to: Change events google map icon
Nico
MemberHi there Aaron,
Thanks for getting in touch with us!
Unfortunately there’s no easy way of doing this. You could dequeue the script you mention and enqueue a new customized version of it, with the custom modifications.
Another way of customizing the map (although I’m not sure it allows you to customize the markers) is using Snazzy Maps plugin. I know it worked in the past for some of our users, so you might want to give that a try.
Please let me know if that helps,
Best,
NicoDecember 13, 2016 at 8:00 am #1205212In reply to: jQuery conflict (2.1.0)
George
ParticipantHi James,
We unfortunately don’t guarantee support for any version of jQuery that is not included in WordPress Core.
It is extremely well-known bad practice for developers to dequeue the WordPress version of jQuery and enqueue their own, which your theme framework seems to be doing. This is very, very bad practice that the WordPress community has condemned for yearsâplease contact your theme support and urge them to use better code in their framework.
In the meantime, the specific error you cite may not actually be related to thatâthis error has come up other times for other reasons, so I’ll unfortunately need to take a closer look under-the-hood with your theme to try and identify the specific cause of that error. It may be solvable with a bit of custom code I can try to write for you.
To help me investigate this:
1. Please upload a copy of your theme and any child theme you’re using, so that I can download all of these files and test them out myself.2. Please confirm all of the places you find this error. You mention the “add events page” when you’re signed in, for exampleâdo you mean the wp-admin “Add Event” page where you create one event? Or do you mean the front-end Community Events page where users submit events via the submission form? Or both? Be specific and let me know all locations where you see this error happening.
Thanks,
GeorgeDecember 9, 2016 at 7:12 am #1203807In reply to: Dequeue Events Calendar Google Maps API
shokideagroup
ParticipantHey Cliff,
Once you said something about priority it got me thinking that what I wanted to dequeue was in the footer. So I was able get it to work by replacing “wp_print_scripts” with “wp_footer”. I also only needed to dequeue two scripts, the following code is what worked for me in case anyone else needs to do the same thing.
function tribe_events_map_apis() { wp_dequeue_script( 'tribe_events_google_maps_api' ); wp_dequeue_script( 'tribe_events_embedded_map' ); } add_action( 'wp_footer', 'tribe_events_map_apis' );I needed to dequeue your Google Maps API and use my own, because I needed to add “&callback=initMap” to the end of src.
Thanks for your help!
December 5, 2016 at 10:20 pm #1201876Geoff B.
MemberGood evening Rob,
Thank you for writing back.
I am glad my earlier suggestion helped. As per your request, here is a snippet that simply dequeues the resource in a less destructive manner:
function load_custom_wp_admin_style() {
wp_dequeue_script( 'tribe-jquery-ui-theme' );
}
add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style', 1000 );Let me know if that helps.
Have a great day!
Geoff B.
November 30, 2016 at 8:30 pm #1200129In reply to: Photo View Changes
Hunter
ModeratorHey Miles,
Welcome back! We’re fairly limited on the amount of support we can provide when it comes to customizations, but I’ll do my best to help.
1) I want to remove the âShow only the first upcoming instance of recurring eventsâ option checkbox.
Visit Events > Settings > General and check the Recurring event instances box. (see screenshot below) More info can be found here.

2) I want to display 3 columns not 2 and at equal heights if possible.
These are unfortunately the types of requests we can’t help out too much with. I’ll copy/paste the best answer I have when it comes to altering the photo view.
To get started changing the columns from 3 to 4, youâll need to familiarize yourself with the Isotope Script as itâs what we use to create the layout.
Then we run a script to initialize Isotope on that page.
/events-calendar-pro/resources/tribe-events-photo-view.min.js
Non-minified Version:
/events-calendar-pro/resources/tribe-events-photo-view.js
So to change the formatting you can wp_dequeue_script the first script and then replace it with your own.
3) Center all content inside the photo box display and use a button instead of âFind Out Moreâ text link
The best advice would be to use custom CSS for the centering request and review our Themer’s Guide for information on creating an override which includes a button instead of the “Find Out More” text.
4) Edit main âeventsâ page style including background color, spacing, etcâŚ
It looks like you’re using the Avada theme. This article by the Avada authors is helpful. Check out our PRO Color Customizer. Another helpful resource is our Styles and Page Templates Knowledgebase article. Lastly, this Using the ‘Inspect’ tool to make changes with CSS YouTube video is helpful for learning the basics.
I hope this helps and best of luck with the customizations. If things get above your level of expertise, I invite you to visit our list of customizers and see if any developers can help further assist. Cheers!
November 28, 2016 at 7:15 pm #1198848Mike
ParticipantSo exactly which CSS files does this code replace?
/** * Replace Tribe CSS Files */ function replace_tribe_events_calendar_stylesheet() { $styleUrl = get_bloginfo('template_url') . '/tribe-events/custom-events-stylesheet.css'; return $styleUrl; } add_filter('tribe_events_stylesheet_url', 'replace_tribe_events_calendar_stylesheet'); function replace_tribe_events_calendar_pro_stylesheet() { $styleUrl = get_bloginfo('template_url') . '/tribe-events/custom-events-pro-stylesheet.css'; return $styleUrl; } add_filter('tribe_events_pro_stylesheet_url', 'replace_tribe_events_calendar_pro_stylesheet');I need to know exactly which CSS files are replaceable, and which files are not. Even in the Themer’s Guide, it does not list the exact files one can and can not replace. So let’s break it down based off the available replacements listed:
tribe_events_stylesheet_url (The Events Calendar core styles)
Which of these CSS files can be replaced with this code?admin-menu.css
aggregator-fields.css
aggregator-page.css
debugger.css
events-admin.css
tribe-events-embed.css
tribe-events-full.css
tribe-events-full-mobile.css
tribe-events-skeleton.css
tribe-events-skeleton-mobile.css
tribe-events-theme.css
tribe-events-theme-mobile.csstribe_events_pro_stylesheet_url (Events Calendar PRO styles)
Which of these CSS files are replaced with this code?events-admin.css
events-recurrence.css
tribe-events-mini-ajax.css
tribe-events-pro-full.css
tribe-events-pro-full-mobile.css
tribe-events-pro-skeleton.css
tribe-events-pro-skeleton-mobile.css
tribe-events-pro-theme.css
tribe-events-pro-theme-mobile.css
widget-calendar-full.css
widget-this-week-full.csstribe_events_pro_widget_calendar_stylesheet_url (The Events Calendar calendar widget styles)
This one confuses me the most. Where does it fit in? Is it just the Pro CSS plugins for?:widget-calendar-full.css
widget-this-week-full.cssAnd are you really telling me that I can not replace the CSS for the other plugins? Having seen some of the customization done to TEC within your own showcase, I have a very hard time believing that, as they show obvious modification of those plugins. In fact, here is a snippet from your forums showing how to replace the CSS for the Community plugin:
add_action( 'wp_enqueue_scripts', 'override_community_styles', 100, 0 ); function override_community_styles() { //Remove Community Styles wp_deregister_style( 'tribe_events-community' ); wp_dequeue_style( 'tribe_events-community'); //Add your Custom Styles wp_register_style( 'custom-community-styles', 'http://www.URLTOYOURCSS.com/styles.css', array(), '1.0', 'screen' ); wp_enqueue_style( 'custom-community-styles' ); }And here is a post showing replacement of custom CSS for the Filter Bar:
https://theeventscalendar.com/support/forums/topic/add-custom-filter-view-min-css/So obviously, it IS possible to replace CSS in plugins not specifically listed in the Themer’s Guide. So beyond my questions listed above, I need to know how to replace the CSS in the Event Tickets and Event Tickets Plug plugins. Is there someone who can assist me with this?
- Through view/template overrides. You might want to read our Themer’s guide to get a sense of how that works.
-
AuthorSearch Results
