groups

name language licence
WordPress custom post listing PHP BSD
Export WordPress tables PHP BSD
Untitled Snippet Other
Colored CSS Other
SHOW WORDPRESS POST ATTACHMENTS PHP BSD
WORDPRESS GET URL PHP BSD
truncate a wordpress post - PHP - Snipplr PHP BSD
CUSTOM TEMPLATES FOR POSTS IN WORDPRESS 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: BSD

WordPress custom post listing

options: view full snippetsend to code collector
WordPress custom post listing

//This pulls out posts from WordPress and displays them on a Page Template, along with some Custom Fields.

<?php
/*
Template Name: Offerings
*/

get_header(); ?>

	<div id="content" class="widecolumn">
		<div id="copy">
	    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>
	
(Continues...)