WordPress.org

Ready to get started?Download WordPress

Forums

need help on making the tittle (2 posts)

  1. Ryokuns
    Member
    Posted 9 years ago #

    erm.. there's something wrong with the above post. it wont show the <*p class="head>welcome</p*>
    and i can't edit it coz it keeps giving me the 60 second error even after i wait for 5 min..
    here i post the code again..
    <*p class="head>Welcome</p*> ( this is where i wanna put the tittle and the date. )
    <div id="content">
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <?php the_date('','<h2>','</h2>'); ?>
    <div class="post">
    <h3 class="storytitle" id="post-<?php the_ID(); ?>"></h3>
    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category() ?> � <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
    <div class="storycontent">
    <?php the_content(); ?>
    </div>
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    </div>
    <?php endforeach; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php endif; ?>
    </div>

  2. ryoken
    Member
    Posted 9 years ago #

    uh... by title do you mean post title or your site header?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.