Forum Replies Created
-
AuthorPosts
-
dcantato
ParticipantI got it working by adding two things
add_filter( 'tribe_events_title_tag', 'filter_events_title' ); add_filter('wpseo_title', 'filter_events_title'); function filter_events_title ($title) { if ( tribe_is_map() && !is_tax() ) { // Map View Page $title = 'The Best Obstacle Course Racing Calendar '; } elseif ( tribe_is_map() && is_tax() ) { // Map View Category Page $title = 'The Best Obstacle Course Racing Calendar '; } return $title; };I didn’t have a return for the $title which instantly made it work, a serious duh moment.
But the second thing I saw you add was the other filter. Is that filter the title for when the page does that little reload it tends to do? What is that hooking into – tribe_events_title_tag?
Is there another hook for the meta description tag?
dcantato
ParticipantThe individual events already pass all the needed info through, this is just about the main search based views.
The meta tags are needed for the maps page, month, list view, etc.
Will editing /pro/map/content.php – to include the meta tags I need be the right file for the main maps view?
Do you understand what I’m talking about? Is there another support member that might know this better?
This isn’t a setting somewhere that can be turned on by yoast. This is something that needs to be included in a future update of the events calendar plugin on the settings page most likely. For now I just need to know which files I can edit to manually insert the data.
dcantato
ParticipantYes, we use yoast and pay for the pro version. But there is nothing to control this on the main events calendar page such as here:
http://obstacleracingmedia.com/race-calendar/map/When you have this page come up in Facebook is shows like this:
Is it the custom file in my theme that is located – tribe-events/pro/map/content.php
That I would edit to have it effect that page?Such as dropping in the meta fields I would need before the php tag opens?
dcantato
ParticipantMuch more elegant and sustainable than my editing of general.php, wouldn’t be bad to include in the next update somehow. Thanks again!
dcantato
ParticipantI’ll give this a try soon, thanks for the added support!
dcantato
ParticipantIf I took out the categories part of the if statement would it rely on the tags only?
if ( $tags ) { $args['tax_query'][] = array( 'taxonomy' => 'post_tag', 'field' => 'id', 'terms' => $tags ); } if ( $categories ) { $args['tax_query'][] = array( 'taxonomy' => Tribe__Events__Main::TAXONOMY, 'field' => 'id', 'terms' => $categories, ); }dcantato
ParticipantThat screenshot is from where you create custom user rolls/permissions, I use the plugin WPFront User Role Editor but they all pretty much work and look like this.
Will subscriber give them the ability to upload photos?
dcantato
ParticipantOn the main calendar maps page when you search it shows you the results below.
This page:
http://obstacleracingmedia.com/race-calendar/map/Normally above each event it would just have a number in a little box. I modified my site to show what it shows now. But I used a file that I should probably be editing. Is there a hook I can use to add something to my functions.php instead?
dcantato
ParticipantCompletely killed my calendar as well. Roll back to the previous version and everything works fine.
For the base plugin files go here:
https://wordpress.org/plugins/the-events-calendar/developers/The rest of the files are in your the My Account > Downloads
dcantato
ParticipantThat works great!
Thanks
dcantato
ParticipantWhile testing things on the staging site I saw the option to turn if off in the settings. Somehow it must have gotten checked.
Setting > Display > Hide location search
Unchecked and working again. Thanks for your time.
dcantato
ParticipantThanks for following up. I launched a staging site where I could do the troubleshooting steps you would normally be able to do. Found a conflict with jQuery loading twice that was breaking it.
Also the ultimate Facebook plugin does not play well with it.
On to another topic for another thing, thanks!
dcantato
ParticipantWhat script error do you see?
And like I said, I can’t disable anything on the site so we will need to try and work around that.
dcantato
ParticipantThis reply is private.
dcantato
ParticipantHi Brian,
The conflicts that are occurring are based on events calendar files.
events-admin.min.js?ver=4.0.7:1 Uncaught TypeError: a(…).chosen is not a function
I can’t disable all the plugins and change the themes since this is a live site with lots of visitors.
What I do see is the link to add a new organizer links to # which just sends you to the top.
One thing that would clear some errors would be if they instructions for editing files for community were as clear as the rest of the plugins.
Where can I make the community page be full width?
What is the next step we can take to figure out why I can’t add an organizer?
-
AuthorPosts
