Forum Replies Created
-
AuthorPosts
-
Sean
ParticipantThis reply is private.
Sean
ParticipantThis reply is private.
Sean
ParticipantThis reply is private.
February 4, 2017 at 8:25 am in reply to: Locating a term to be translated; translating venue url term #1229417Sean
ParticipantHi Nico,
Thanks for the plugin suggestion and for sharing Barry’s function to change the venue slug. I noticed that the function was written back in 2015. Is the hook used still the best to use or does the latest version of Events Calendar PRO have a better hook for rewriting the venue slug?
Thanks again and hope you have a great weekend as well!
KarlyDecember 30, 2016 at 6:00 pm in reply to: All Events link appears at top of List View as of 4.3 #1211906Sean
ParticipantHi Cliff,
Thanks for having a couple others try testing this. I think you may have been looking at the schema versions from the system information I had posted prior to when the latest maintenance updates were released. I’m seeing the correct versions: schema-version 4.3.5 and pro-schema-version 4.3.4
I’m stumped as to why that link is showing up on our install since we tried it with the core plugins, default WP theme and no customizations. It seems that it’s only happening on our site though, so I’ll need to just keep that css in place to hide the link.
Thanks again for trying to get to the root of the problem with this.
December 23, 2016 at 9:04 am in reply to: All Events link appears at top of List View as of 4.3 #1210079Sean
ParticipantHi Cliff,
There is no custom code; only the default Twenty Sixteen theme and the Modern Tribe plugins (all customization’s were in the child theme). I cleared my cache and viewed the page from an incognito browser and am seeing the link. I am also seeing the link on other devices, so its surprising that the link is not showing on your end.
Unfortunately, we’re a small team and only have one staging site that is a copy from production, so I cannot get another “fresh” instance up and running. It seems the solution at this point is to keep the custom CSS in place indefinitely to hide that link.
December 22, 2016 at 11:12 am in reply to: All Events link appears at top of List View as of 4.3 #1209687Sean
ParticipantThis reply is private.
December 22, 2016 at 8:30 am in reply to: All Events link appears at top of List View as of 4.3 #1209500Sean
ParticipantThis reply is private.
December 18, 2016 at 8:41 pm in reply to: All Events link appears at top of List View as of 4.3 #1207605Sean
ParticipantThis reply is private.
December 17, 2016 at 8:53 am in reply to: All Events link appears at top of List View as of 4.3 #1207352Sean
ParticipantThis reply is private.
Sean
ParticipantHi George,
Sorry for the late follow up here. Thank you so much for the additional info and this “template” for modifying how related events are found. As always, really appreciate the help!
Best regards,
KarlySean
ParticipantHi Nico,
Thanks for the info. Excluding the Event Category from the Facebook events is a must-have for us. Would the team be willing to share a snippet we could add to functions.php to make this happen? If so we’ll definitely go ahead and purchase the plugin. Please let me know either way.
Thanks,
KarlyOctober 4, 2016 at 7:13 am in reply to: Event dates reset when setting edited events to return to pending status #1172248Sean
ParticipantGood morning Brook,
This works perfectly! As always thank you very much for the prompt reply and the fix. I’m sure others will find this helpful as well.
Thanks and have a great day!
KarlySean
ParticipantHey George,
Okay thanks for confirming! One last question. In my case, I’d like to replace the existing Tag and Event Category filter with my custom taxonomy. So if there is an event with a common value from my custom taxonomy, I’d like it to display in the related events (regardless of any other variables such as tags, etc).
Would using the tribe_related_posts_args filter in a function mean the custom code would replace the default query that uses tags and event categories? Meanwhile, using the tribe_related_posts_args_limiter function will add those “rules” to the existing tag and/or event categories criteria?
Just want to make sure I’m grasping how these work prior to attempting to replace the tag/categories with my custom taxonomy, as I’m certainly a novice when it comes to php 🙂
– Karly
-
This reply was modified 9 years, 6 months ago by
Sean.
Sean
ParticipantHi George,
As always, thanks for the info on this. It does help get me on the right path!
Just to make sure I’m understanding this correctly, could you please confirm a few things?
By default, the related posts display 3 random events that have the same tags or event categories as the event currently being viewed? Related events are not ranked higher or lower than other related events (e.g. if an event has two of the same event categories AND one or more of the same terms in its event name, it won’t appear before an event that has only one matching event category and no common terms)?
Also, I found the following snippet from Brook that may be helpful in guiding me. Does this filter (and example) add the two month time frame to the existing tags and event categories parameters, or does it replace the original parameters? In other words, will it show only events occurring within 2 months of the current event’s date, or will it show events occurring within 2 months of the current event’s date that also have one or more of the same tags and/or event categories?
Thank you,
Karly<?php /* * Limits Related Posts to only show events within 2 months of the current events dates */ function tribe_related_posts_args_limiter ( $args = array() ) { global $post; $event_start_date = strtotime( $post->EventStartDate ); $event_end_date = strtotime( $post->EventEndDate ); $date_format = Tribe__Events__Date_Utils::DBDATETIMEFORMAT; $args['eventDisplay'] = 'custom'; $args['start_date'] = date_i18n( $date_format, strtotime( '-2 month', $event_start_date ) ); $args['end_date'] = date_i18n( $date_format, strtotime( '+2 month', $event_end_date ) ); return $args; } add_filter( 'tribe_related_posts_args', 'tribe_related_posts_args_limiter', 10, 1 ); -
This reply was modified 9 years, 6 months ago by
-
AuthorPosts
