WordPress.org

Ready to get started?Download WordPress

Forums

HELP w/ Template Tags (2 posts)

  1. SuprSpy79
    Member
    Posted 9 years ago #

    I am really new to this and I have no idea what I'm doing, but I can't seem to get any of the posts to show up. I have this in my header.

    [code]
    <?php
    require('http://www.domain.com/wordpress/wp-blog-header.php');
    [code]

    Then in my content div I have this.

    [code]
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <?php the_time("d.m.Y @ g:i:s A") ?>
    <?php the_title(); ?>
    <?php the_content(); ?>
    <?php endforeach; else: ?>
    <?php endif; ?>
    ?>
    [/code]
    it's very simplistic, but I just want to get the basic info shown. Can someone please help?

  2. SuprSpy79
    Member
    Posted 9 years ago #

    nevermind i figured it out

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.