• 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

How do I add code after ? – Parallax Pro

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 › How do I add code after ? – Parallax Pro

This topic is: resolved

Tagged: adding code, body, header.php, parallax-pro

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 3 months ago by mariafernandez.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 7, 2015 at 6:14 am #146900
    mariafernandez
    Member

    Hi,

    I'm installing a new plugin. The instructions say:

    ------------------
    There is one piece of code you have to manually put into your header.php template file which is located at
    /wp-content/themes/your-theme/header.php
    Find: <body>
    After this line put the code:
    <div id="fb-root"></div>
    <?php do_action('lashare_after_body'); ?>
    ---------------------

    Where do I add that code? As far as I know, I shouldn't add it to header.php since it's not a child file.

    Thanks.

    Maria

    http://www.loseweightblissfully.com
    April 7, 2015 at 1:17 pm #146952
    Victor Font
    Moderator

    If you go to Genesis/Theme Settings, there's a place where you can add the code to the header.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 7, 2015 at 1:53 pm #146960
    mariafernandez
    Member

    I know, but the plugin instructions say to add the line after <body>.

    How do I do that? In Genesis/Theme Settings I can only add code to the header.

    April 7, 2015 at 2:43 pm #146965
    Victor Font
    Moderator

    Then install the Genesis Simple Hooks plugin. It will allow you to add code after the body tag.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 8, 2015 at 2:45 am #147030
    mariafernandez
    Member

    Victor,

    Thanks a lot. I guess that's the answer I was hoping to get 🙂

    Maria

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How do I add code after ? – Parallax Pro’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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