groups

name language licence
Attachment display PHP Other
function_exists() PHP Other
Linking Without Using Permalinks PHP Other
Static Page with Mini-Loop PHP Other
comments PHP GPL 2
read me PHP Other
style CSS GPL 2
SEO friendly title PHP BSD

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: Other

Static Page with Mini-Loop

options: view full snippetsend to code collector
<?php 
  define('WP_USE_THEMES', false);
  require('./wp-blog-header.php'); 
  get_header();
?>
<div id="content" class="narrowcolumn">
<h1>Welcome to my site</h1>
<p>Hello and welcome to my site. You can go to my web page about how to improve your 
shoots with your digital camera; or you can go to my blog</p>
  
<h2>Latest posts in my blog:</h2>

<?php 
  # Here starts Mini Loop trick: You can use this code, but _at your own risk_
  # If you want to improve this code, you're welcome ;) 
	
(Continues...)