groups

name language licence
ALTERNATING ROWS (WORDPRESS VERSION) PHP BSD
WORDPRESS (WP) CUSTOM FIELDS PHP BSD
WORDPRESS STATIC HTML TEMPLATE PHP BSD
Display In 2-Column Table PHP BSD
WordPress custom post listing PHP BSD
Export WordPress tables PHP BSD
SHOW WORDPRESS POST ATTACHMENTS PHP BSD
WORDPRESS GET URL PHP BSD

< 1 2 3 4 5 6 7 8 9 >



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