• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Adding different Geotags to different pages

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Adding different Geotags to different pages

This topic is: not resolved

Tagged: geotag, header, seo

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by mickmel.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 24, 2015 at 12:48 pm #145515
    Jack
    Participant

    I have a business website with 8 offices and want to add different geotags, in the header, for those 8 office pages.
    I think before Genesis there was a way to add code/content to the <head> area.

    Is there away to do that today?

    Thanks


    Jack Kennard
    http://jackkennard.com

    March 24, 2015 at 6:07 pm #145552
    mickmel
    Member

    Jack -- A couple of steps will get you there.

    1 - Download and activate the Genesis Simple Hooks plugin.
    2 - Go into the new [Genesis] --> [Simple Hooks] menu.
    3 - The first box on the page is for the header area. Check the "Execute PHP on this hook?" box below it and then use code like this to specify which pages for your code to appear on:

    <?php
    if (is_page('about-us')) {
    ?>
    whatever code you want to add
    <?php
    }
    ?>

    Hope that helps.

    March 25, 2015 at 8:33 am #145596
    Jack
    Participant

    Thanks Mickmel,

    Your talk at the Atlanta WordCamp is on my to do list.

    see ya soon

    Jack


    Jack Kennard
    http://jackkennard.com

    March 25, 2015 at 1:59 pm #145651
    mickmel
    Member

    Jack -- Awesome! See you there.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble