• 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

Scripts Field in Post Editor

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 › Scripts Field in Post Editor

This topic is: not resolved

Tagged: head tag, Scripts field

  • This topic has 2 replies, 2 voices, and was last updated 12 years ago by jonburr.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 21, 2014 at 9:20 pm #128708
    jonburr
    Member

    In the post editor, I see a "scripts" field. It suggests including script tags in the field content.

    I have 2 questions -
    First - where does the content go? In between the head tags? Before the closing head tag?

    Second - can this field be used to insert other tags into the head, such as a link rel="canonical?? - or does it have to be a script?

    http://jbq.net
    October 22, 2014 at 12:26 am #128711
    Brad Dalton
    Participant

    Generally for JQuery but also Javascript tracking scripts

    You would use the Genesis SEO settings or a plugin like Genesis Microdata Manager

    Another option is to use code to modify/add SEO tags


    Tutorials for StudioPress Themes.

    October 22, 2014 at 7:04 am #128740
    jonburr
    Member

    Thanks for replying to this, Brad -

    The challenge is how to make an archive page the canonical link when an entire post is featured at the top of it, to avoid duplicate content, and aggregate the rank of the 2 pages.

    I wrote a post about it, but I've heard that I don't need a plugin to write a post-specific rel=canonical tag.

    I tested the scripts field...
    First tried putting random text in there, and got the "sure you want to do this?" error...
    but when I put in a properly formatted rel=canonical link, it showed up, in the head...
    So it does work for that purpose.
    It's still necessary to disable the rel=canonical written by Yoast, by default
    (see the same article)

    It'll work.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

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