Return to Snippet

Revision: 27132
at May 24, 2010 10:24 by psdesignuk


Initial Code
<div class="box1 clearfix">
                    <div class="post clearfix">

                    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                        <h2 class="hd-page"><?php the_title(); ?></h2>
            
                    <?php the_content(__('<p>Read the rest of this page &raquo;</p>')); ?>
                    <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> '), 'after' => '</p>', 'next_or_number' => 'number')); ?>
                    <?php endwhile; endif; ?>
                    
                    <?php edit_post_link(__('Edit this entry.'), '<p>', '</p>'); ?>

                </div>
            </div>

Initial URL
http://www.psdesignuk.com/blog/category/design

Initial Description
A quick snippet of the PHP/Wordpress code behind my archive page, mainly for @andypoppins :D

Initial Title
Wordpress Display Post

Initial Tags
php, post, wordpress

Initial Language
PHP