StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-09-2010, 01:34 PM
GoalSetter40s GoalSetter40s is offline
Registered User
Genesis Member
 
Join Date: Aug 2009
Posts: 22
Default How to add code comments without causing paragraphs

I don't know if this is a Wordpress default setting or a issue caused by my Wordpress HTML editor (currently using Wordpress's default editor).

At times, I want to insert comments in my code for my own viewing. I don't care if it is viewable via "source code view" from the user's browser, but prefer that it is not. What is happening is that my comment is causing a paragraph. For example, when adding this to the Wordpress editor:

Code:
            <!--End of Floor Plan Overview -->
This is what shows up in the source code after it is saved:

Code:
<p>            <!--End of Floor Plan Overview --></p>
Is there a way to insert comments without causing blank paragraphs?
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to add code for FriendFeed comments koltregaskes General Discussion 18 02-26-2009 07:30 AM


All times are GMT -5. The time now is 08:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.