Skip to content

Instantly share code, notes, and snippets.

View travishoglund's full-sized avatar

travishoglund

View GitHub Profile
<?php
/**
* Template Name: Newsroom
*
* @package becketfund
*/
global $post;
// retrieve our search query if applicable .
@travishoglund
travishoglund / Dreamweaver Tip
Created September 11, 2013 03:51
Remove Blank Lines Dreamweaver
Open the file
Click CTRL + F
Select "Current document" in "Find in" (You can also select the folder if you have multiple files)
Search in "Source code"
Tick "Use regular expression"
Type "[\r\n]{2,}" (without quotes) in "Find"
Type "\n" (without quotes) in "Replace"
Press "Replace All"
//This removes all blank lines in Dreamweaver.
http://csscheckbox.com/
http://code.octopuscreative.com/fancyselect/