Grow your CSS skills. Land your dream job.

Blog Posting Won’t Display

  • # April 23, 2009 at 7:44 pm

    Currently I have a site I am trying to set up on WordPress. I have a bunch of pages that are relatively static but are using PHP. The code below is the template I named blog.php, I have only assigned this to the "Blog" page since its each page is unique. The "Blog" page is the only place I am using the posts function. I have a test post published and cannot seem to get it to display. Any ideas? http://architilestone.com/site2/blog/

    Let me know if you need more information. Thanks!

    Code:
    < ?php
    /*

    Template Name: Blog

    */

    get_header(); ?>

    < ?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    < ?php the_content('

    Read the rest of this page »‘); ?>

    < ?php wp_link_pages(array('before' => ‘

    Pages: ‘, ‘after’ => ‘

    ‘, ‘next_or_number’ => ‘number’)); ?>

    < ?php endwhile; endif; ?>
    < ?php edit_post_link('Edit this entry.', '

    ‘, ‘‘); ?>

    < ?php get_sidebar(); ?>

    < ?php get_footer(); ?>

# April 24, 2009 at 11:20 am

Use index.php and customise that to look the way want.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".