groups

name language licence
Unique Single template PHP Other
Query Posts PHP Other
Feature post highlighting PHP Other
Retrieve and Display Images from a WordPress Post PHP Other
Attachment display PHP Other
function_exists() PHP Other
Linking Without Using Permalinks PHP Other
Static Page with Mini-Loop PHP Other

< 1 2 3 >



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...)