Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Eliminating empty lines and spaces from HTML output?


  #1  
Old Jul 13, 2009, 02:00 PM
gesman
 
35 posts · Feb 2009
I noticed that Atahualpa's outputs HTML with lots of empty lines and spaces.
I wonder if it's possible to fix it by passing it through something like this:

Code:
$cleaned_output = preg_replace ('|\s+$|m', '', $output);
The output would be shorter, cleaner and might even rank a bit higher on Google.

Thanks,

Gleb

PS: I think your work - is the most amazing theme. Thanks for lots of effort.

Last edited by gesman; Jul 13, 2009 at 02:03 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Extra spaces in comments fields rabbitpoets Comments, trackbacks & pings 2 Jun 29, 2009 09:10 PM
Huge amount of empty space, and YSlow paulae Atahualpa 3 Wordpress theme 3 May 5, 2009 12:06 PM
Show empty categories olsonsp4c Page & Category Menu Bars 2 Apr 22, 2009 11:41 PM
[SOLVED] Category menu: show empty categories perdox808 Page & Category Menu Bars 2 Apr 8, 2009 10:59 PM
Right sidebar publish output on center roekoe Sidebars & Widgets 3 Mar 27, 2009 09:48 PM


All times are GMT -6. The time now is 11:56 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.