Forum Replies Created
-
AuthorPosts
-
Geoff
MemberHey there, @levlaneadvertising!
Sorry for the trouble here with that snippet. I just checked it out on my test site as well and it seemed to do the trick, so let’s see what’s happening here.
Looking at your site, it appears that you have a custom event template. In other words, the ticket form is in a sidebar rather than the content itself and that seems to prevent the snippet from doing its magic.
If you open you theme files, do you see a folder in there called tribe-events? If so, that is the folder that contains the layout customizations we’re seeing. In that case, I would suggest reaching out to the theme developer (or whoever made the customizations) to manually move the ticket form above the map in the sidebar using the already customized files.
Does that look like the same situation to you? Please let me know.
Thanks!
GeoffGeoff
MemberHello Bart, thanks for following up!
We actually have a nice snippet available that will remove the “Event Archive” label from browser tabs when Yoast is active:
https://theeventscalendar.com/knowledgebase/titles-in-yoast-seo/
Does the solution in there help to the trick for you? Please let me know. 🙂
Cheers,
GeoffFebruary 26, 2016 at 7:19 am in reply to: calendar – text preview "find out more/read more" #1082401Geoff
MemberHowdy Stefan!
Good question. The excerpt length for events uses the same excerpt length as other default posts, so you could like use a filter to override the default number of words returned. Something like this in your theme (or child theme) functions.php file:
function custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );That will limit the number of words to 20, though you can set that to whatever you’d like.
Will this work for you? Please let me know. 🙂
Cheers,
GeoffFebruary 25, 2016 at 2:48 pm in reply to: Release: The Events Calendar 4.0.6 + premium add-ons #1082207Geoff
MemberHey Rex, I’m trying to keep our email and forum conversations in sync, so let’s try to keep everything here in this thread.
You offered this over email:
I’ve been working with you since the update of the Events Calendar and EC Pro .6 since it happened. I’ve made the permalinks change, added the script to my Functions.php file and disabled Yeost SEO, which fixed the problem.
Just to clarify: does flushing the permalinks alone solve the issue temporarily even without the script added or Yoast SEO disabled? The reason I ask is because that will tell us whether this is a plugin conflict or a permalinks issue.
But the fix is temporary. If I make any changes, All the 404 errors come back to my events. My server folks at GoDaddy said the permalinks to the events are not updating in WordPress. Apparently, after a time, the permalinks actually do update (I saw this overnight). Apparently, your script scans my site on a schedule.
To be clear, our plugin does no scanning on permalinks. It does flush permalinks when the plugin has been updated or uninstalled, but it will never automatically flush permalinks on a scheduled basis.
Until you can permanently fix this issue, I need you to increase the frequency of your permalink scans. GoDaddy said if there is anything they can do on their end they will do it. In the meantime, my events permalinks issues are continuing.
I am not sure if what a “permanent” solution here would be, but I do want to continue to troubleshoot this with you. I would imagine we would see many reports like this in the forums if it was a widespread issue, but this is the only report to my knowledge. That suggests there is something in either the WordPress or server environment that is causing trouble and that’s what I hope to pin down with you here.
So, let’s answer this question first to move forward: does flushing permalinks fix the issue every time? If the permalink flush is something you’ve tried every time, that’s probably the fix. Also, it’s quite possible another plugin is interefering with permalinks post flush, and that is the actual issue. Let’s find that out.
Thanks!
GeoffFebruary 25, 2016 at 11:13 am in reply to: Release: The Events Calendar 4.0.6 + premium add-ons #1082128Geoff
MemberHi Rex,
Thanks for sharing the info! That helps a lot.
Just out of curiosity, does the 404 still show up when you:
- Deactivate all other plugins and then…
- Head to Settings > Permalinks and change nothing, but click the Save Changes button?
I’d also be interested to know if the same is true when switching to a default WordPress theme, like Twenty Sixteen. I haven’t seen any other reports like this pop up in the forums, so I’m hoping that testing these will reveal whether or not we’re looking at a theme or plugin conflict. Depending on the results of that, we will know whether need to pinpoint the conflict or move our focus over to the host for any possible issues with redirects on the server.
Thanks!
GeoffFebruary 25, 2016 at 11:06 am in reply to: Release: The Events Calendar 4.0.6 + premium add-ons #1082126Geoff
MemberThis reply is private.
February 25, 2016 at 10:33 am in reply to: Bug Reopen: Event Start Date & End Date reset when errors returned #1082103Geoff
MemberMy pleasure, dude! More to come. 🙂
Geoff
MemberHi Nora and thanks for getting in touch!
There are a couple of ways to get a specific sidebar on the calendar:
- Try a plugin. For example, one like this could be used to create custom sidebars and assign them to the calendar pages. I believe Jetpack’s module for Widget Visibility is another option.
- Template override. You can also customize any calendar template by creating a tribe-events folder in your theme (or child theme) snd modifying it. For example, drop the default-template.php file in that folder and include the sidebar you want where you would like it to appear.
Does this help you get started? Please let me know. 🙂
Cheers,
GeoffGeoff
MemberHi Vanessa,
Great question! You should be able to hide that by placing this snippet in your theme’s style.css file or using a plugin like Simple Custom CSS:
.tribe-tickets-remaining { display: none; }Will that do the trick for you? Let me know. 🙂
Cheers!
GeoffFebruary 25, 2016 at 8:00 am in reply to: Adding Venue to the Map view in actual Map image houver over #1081966Geoff
MemberHi James — nice to see you again and hope all is well!
Unfortunately adding those details is a bit complicated. Venue information can be retrieved using the tribe_get_venue() function, but adding that information to the tooltips requires a more code editing than a simple swapping of data and I’m afraid I’m unable to offer much help with the whole customization, but hopefully these suggestions help:
1. Here’s a basic example of a function that modifies the text in the map tooltip to give you a feel for how that information can be manipulated:
`if ( function_exists( ‘Tribe_ECP_Load’ ) ) {
/**
* Modify ‘Event:’ and/or ‘Address:’ text in Map View tooltips.
*
*/
function tribe_support_1052594( $data ) {if ( tribe_is_map() ) {
$data[‘map_tooltip_event’] = ”; // Default is ‘Event: ‘.
$data[‘map_tooltip_address’] = ”; // Default is ‘Address: ‘.
}return $data;
}add_filter( ‘tribe_events_pro_localize_script’, ‘tribe_support_1052594′ );
}’2. Find the map_add_marker() JavaScript function here in your Events Calendar PRO plugin files:
src/resources/js/tribe-events-ajax-maps.jsIt should look like this:

This function is where some of the tricky elements of the customization start to arise. You’ll have to take the reins from here, but essentially you will need to recreate the event-generation JavaScript but for a third item on the marker, which will be the venue name.
Sorry I don’t have more of a concrete solution for you, but will this at least help you get started? Please let me know. 🙂
Cheers!
GeoffGeoff
MemberHello Bob,
Give this a shot:
div.tribe-countdown-timer { display: inline-block; }Will that do the trick for you? Please let me know. 🙂
Cheers!
GeoffGeoff
MemberHi Wayne and thanks for getting in touch!
I’m afraid there isn’t a straightforward approach for hiding a multiday event from a specific day. One method you could consider is targeting the specific day and event in CSS and hiding it that way. For example:
[data-day="2016-03-28"] .post-478 { display: none; }…where the date is tailored to the Sunday on your calendar and the post number is the ID of your Event post.
Sorry I don’t have more of a concrete solution for you, but I do hope this at least helps. Let me know if if it does.
Thanks,
GeoffGeoff
MemberMy pleasure! Thanks again for reaching out. 🙂
Geoff
February 25, 2016 at 7:03 am in reply to: Possible to abbreviate day of week to first 1-2 letters rather than the first 3? #1081942Geoff
MemberHi Ashia,
Shoot, I’m afraid that if it isn’t an available option in WordPress formatting, then it’s not right of the box for The Events Calendar either. Sorry about that!
Did you have any other pre-sales questions I can help with? Please let me know. 🙂
Geoff
Geoff
MemberThanks for following up and marking my last reply as the correct answer, Remi. Sorry again for the bad news but please feel free to open a new thread if you have any other questions and we’d be happy to help as best we can.
Cheers,
Geoff -
AuthorPosts
