Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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
Eliminating empty lines and spaces from HTML output?

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:32 AM.


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