Home › Forums › Calendar Products › Community Events › Facebook and SEO Mark
- This topic has 6 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
March 23, 2016 at 8:22 am #1092902
dcantato
ParticipantHi wonderful support team that fixes all of my problems,
Which file can I edit so that the maps page and other views have proper markup for search – such as meta tags, and Facebook. You can see more of what I’m talking about in this article:
https://moz.com/blog/meta-data-templates-123
I just noticed if someone went to share our page on Facebook it would be very bland.
March 23, 2016 at 10:20 pm #1093269Hunter
ModeratorHello 🙂
I’m not sure if you’re familiar with Yoast SEO, but it’s a very powerful plugin built specifically for optimizing your WP sites for maximum search engine results. You’ll also have the ability to edit your meta information for popular social media sites like Facebook, Twitter, and more.
Let me know if this answers your question and we’ll go from there. Thanks for reaching out and enjoy the remainder of your week!
March 24, 2016 at 6:36 am #1093367dcantato
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?
March 24, 2016 at 9:56 am #1093521Hunter
ModeratorHi and thanks for the update,
I took a look at the screenshot and I think this snippet should help achieve what you’re looking for. Try it out and let me know if you’re able to get the Map view info displaying properly. One other idea is to check Titles & Metas -> Post Types -> Custom Post Type Archives -> Events under your Yoast settings.
Thank you again for the response and have a good one.
March 25, 2016 at 6:21 am #1093909dcantato
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.
March 29, 2016 at 12:41 pm #1095578Hunter
ModeratorThanks for your patience here! First, I would like to remind you that we actually cannot help with customizations here. Read more here: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
I’ve been trying to work through this a bit, though, despite that, and I appreciate your patience.
In regards to the “meta tags,” editing that file you pointed out SHOULD indeed be helpful, but only for certain things. When you say “meta tags,” are you talking about meta tags in the HTMLof your page? If so, then NO, there is no The Events Calendar template file you can edit to modify the page.
You would have to get clever and use the filter wp_head()—this is not a feature of The Events Calendar, it’s just a general WordPress filter, so to learn more about that, read here → https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
To tell if you’re on the Map View page, you can use the conditional functions listed here → https://git.io/vVtXs
So, hook into wp_head, use those conditionals to determine if you’re on the Map View page, and if so, add whichever meta tags you want to add.
There is no way to modifytags from within our plugin template files.
Best of luck with your code-customizing and tinkering!
April 13, 2016 at 9:35 am #1101991Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Facebook and SEO Mark’ is closed to new replies.
