Facebook and SEO Mark

Home Forums Calendar Products Community Events Facebook and SEO Mark

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1092902
    dcantato
    Participant

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

    #1093269
    Hunter
    Moderator

    Hello 🙂

    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!

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

    #1093521
    Hunter
    Moderator

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

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

    #1095578
    Hunter
    Moderator

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

    #1101991
    Support Droid
    Keymaster

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Facebook and SEO Mark’ is closed to new replies.