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
  #2  
Old 03-09-2012, 10:52 AM
CPYou CPYou is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 91
Default

I found some more information on this and it seems that the way I prefer to code is in fact the more efficient and technically correct way:

http://www.sitepoint.com/forums/show...Echo-Statement

Under some circumstances it makes sense to include html in the echo, but generally I see no reason to do it. It makes the code more difficult to read and maintain. Plus as I said before it breaks html syntax highlighting which can be really annoying.

I also noticed that most code examples in the WordPress codex are done using the method that I typically use.

Unless I'm missing something here.... does anyone have any thoughts on this?
__________________
Chris Veit
RememberTheFallen.com
A Soldier Only Dies If They Are Forgotten...
 

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


All times are GMT -5. The time now is 02:35 AM.

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