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, 01: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 01: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 08:10 PM
Huge amount of empty space, and YSlow paulae Atahualpa 3 Wordpress theme 3 May 5, 2009 11:06 AM
Show empty categories olsonsp4c Page & Category Menu Bars 2 Apr 22, 2009 10:41 PM
[SOLVED] Category menu: show empty categories perdox808 Page & Category Menu Bars 2 Apr 8, 2009 09:59 PM
Right sidebar publish output on center roekoe Sidebars & Widgets 3 Mar 27, 2009 08:48 PM


All times are GMT -6. The time now is 12:48 PM.


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