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.com/forums/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.
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets
That will work.
Your answers always work for me, that is why I subscribe to your blog posts. Makes life a LOT easier.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!