This is an old version of this question!
Return to the current question
$15
How to tidy (or edit) wordpress source code ?
Hi Guys,
I have left other questions on forums and received some very helpful information however I am not all the way there yet.
I have recently started working with wordpress and its obviously not as easy as editing normal xhtml code.
On my travels I came across this website design company :
And ideally I would like to setup wordpress sites as these guys do but I haven’t figured it all out yet.
There code looks like this:
(see image for full or view source of website link above)
Its very tidy and doesn't even give any indication that wordpress is being used. I have experimented with various plugins to tidy up and remove certain wp tags but cannot get it to look as these guys have theirs. How have they done it?
Many Thanks in advanced,
Milford
I have left other questions on forums and received some very helpful information however I am not all the way there yet.
I have recently started working with wordpress and its obviously not as easy as editing normal xhtml code.
On my travels I came across this website design company :
And ideally I would like to setup wordpress sites as these guys do but I haven’t figured it all out yet.
There code looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="Flatout Web Design- Professional Invercargill Southland and Takapuna Auckland web design, from easy to use websites to advanced features. Leaders in making web sites simple to use." />
<meta name="robots" content="index,follow" />
<meta name="title" content="Flatout Web Design + Applications - Invercargill - Auckland - Takapuna - Southland - New Zealand" />
<title> Home | Flatout Web Design + Applications - Invercargill - Auckland - Takapuna - Southland - New Zealand</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- ////////////////////////////////// -->
<!-- // Start Stylesheets // -->
<!-- ////////////////////////////////// -->
<link rel="stylesheet" href="css/style.css?v=1" />
<link rel="stylesheet" href="css/color.css?v=1" />
<!-- ////////////////////////////////// -->
<!-- // Javascript Files // -->
<!-- ////////////////////////////////// -->
<script src="js/libs/modernizr-1.6.min.js"></script>
<script src="js/libs/jquery-1.4.2.min.js"></script>
<script type='text/javascript' src='js/cufon/cufon-yui.js?v=1'></script>
<script type='text/javascript' src='js/Century_Gothic_400.font.js'></script>
<script type='text/javascript' src='js/cufon/cufon-replace.js?v=1'></script>
<script src='js/piecemaker/swfobject.js?v=1'></script>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<!-- SCRIPT -->
<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">
$(document).ready(function() {
/*
* Assign Fancybox
*/
$("a[rel=fancybox]").fancybox({
'titlePosition' : 'inside'
});
$(".iframe").fancybox({
'titlePosition' : 'inside',
'width' : 900,
'height' : 650
});
});
</script>
</head>
<body class="home">
<div class="wrapper">
<!-- header -->
<header>
<div class="wrap">
<!-- logo -->
<div class="logo">
<h1><a href="index.html"><img src="images/logo.png" alt="Flatout" title="Flatout" width="160" height="60" /></a></h1>
</div>
<!-- /logo -->
<!-- main menu -->
<nav>
<div style="float: right; padding-left: 30px;">
<form method="get" id="searchform" action="/index.php" name="form1">
<fieldset>
<input id="searchBox" name="keywordSearch" type="text" value=""/>
<input type="hidden" name="pageLoad" value="116"/><a href="javascript:document.form1.submit()" class="prosto_button60">search</a>
</fieldset>
</form>
</div>
(see image for full or view source of website link above)
Its very tidy and doesn't even give any indication that wordpress is being used. I have experimented with various plugins to tidy up and remove certain wp tags but cannot get it to look as these guys have theirs. How have they done it?
Many Thanks in advanced,
Milford
Milford Jackson | 04/25/11 at 9:41am
