dcantato

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Map Page Title Change SEO #1189090
    dcantato
    Participant

    I 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?

    in reply to: Facebook and SEO Mark #1093909
    dcantato
    Participant

    The 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.

    in reply to: Facebook and SEO Mark #1093367
    dcantato
    Participant

    Yes, 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:

    View post on imgur.com

    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?

    in reply to: Describe Miles after search result #1092897
    dcantato
    Participant

    Much more elegant and sustainable than my editing of general.php, wouldn’t be bad to include in the next update somehow. Thanks again!

    in reply to: Related Events Are Not Related #1092884
    dcantato
    Participant

    I’ll give this a try soon, thanks for the added support!

    in reply to: Related Events Are Not Related #1092512
    dcantato
    Participant

    If 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,
    			);
    		}
    in reply to: Community Events Submission #1092507
    dcantato
    Participant

    That 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?

    in reply to: Describe Miles after search result #1090030
    dcantato
    Participant

    On 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?

    in reply to: After update to Version 4.1 broke site #1089637
    dcantato
    Participant

    Completely 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

    in reply to: Change Search Words #1088618
    dcantato
    Participant

    That works great!

    Thanks

    in reply to: Find event by location in list view #1088601
    dcantato
    Participant

    While 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.

    in reply to: Can't add new Organizer for Community Events #1088425
    dcantato
    Participant

    Thanks 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!

    in reply to: Can't add new Organizer for Community Events #1087907
    dcantato
    Participant

    What 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.

    in reply to: Can't add new Organizer for Community Events #1087883
    dcantato
    Participant

    This reply is private.

    in reply to: Can't add new Organizer for Community Events #1087882
    dcantato
    Participant

    Hi 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?

Viewing 15 posts - 1 through 15 (of 22 total)