• 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 a webmaster comment when changing code

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 a webmaster comment when changing code

This topic is: not resolved

Tagged: code, comments inside of code, stop spam sitewide

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 8 months ago by purplemagpie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 3, 2013 at 7:09 pm #43940
    purplemagpie
    Member

    Hi Everyone,

    I'd like to add comments from me to my future self or to another programmer.  For instance, when I change the coding it would be nice to know """This is a change from the original and this is why I did it this way"""".

    How do I put comments into the code so it doesn't affect the code but is there for future reference?

    Specifically, I'm making a change to my site to hopefully eliminate comments sitewide. ( (  as per this earlier posting:  http://www.studiopress.community/topic/preventing-spam-comments/    ))

    I will want to turn that back on next year as we get close to the event for which the site is built   http://www.comfishalaska.com

    I think adding a note there that says. "Just delete all this code to reinstate comments"  would be very helpful.

    Thanks,

    Maggie

    http://www.comfishalaska.com
    June 3, 2013 at 11:34 pm #43973
    Brad Dalton
    Participant

    Try this http://php.about.com/od/learnphp/qt/php_comments.htm


    Tutorials for StudioPress Themes.

    June 4, 2013 at 2:44 pm #44081
    purplemagpie
    Member

    Thanks Brad!

    That will work.

    Your answers always work for me, that is why I subscribe to your blog posts. Makes life a LOT easier.

    Maggie

  • 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