- This topic has 3 replies, 2 voices, and was last updated 9 years, 11 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
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.
I disable the visual editor when I'm designing a site because I've found that WP has the habit of adding stuff into my content / code. I've heard people recommend the "raw" plugin to keep code clean, but since I'm comfortable with html and css, I just write it straight into the html window and leave the visual editor out of the conversation.
I notice in Genesis themes, even with the visual editor disabled, I can just type away, insert a "return" for a new paragraph, and all is well. Is this a WP thing? or is it the way Genesis / Studiopress themes behave by design? I'm used to including opening and closing "p" tags for paragraph separation.
Clearly, heading tags play their own role for structural division and styling within a page or post. But what is the best practice with Genesis / Studiopress for handling paragraph separation? Visual editor required? Insert "p" tags?
Thanks for the feedback.
In the text editor, WordPress doesn't add p tags (or retain) unless you assign a style or id, so you don't need to add them. A return will take care of adding paragraphs. And the CSS in the theme will take care of the spacing between paragraphs. If you look at the source of the rendered page in the browser, you will see the p tags.
Marcy, thanks. That clears it up for me.
© 2023 WPEngine, Inc.