WordPress.org

Ready to get started?Download WordPress

Forums

Help! (5 posts)

  1. Michaell
    Member
    Posted 8 years ago #

    Ok, I'm creating pages using wordpress. I want to get rid of the time and date on the header bar on the pages; i know it can be done because I've done it on another wordpress blog. I also want to change the title to the heading of the page. This can also be done.
    Here's the page I want to change: http://mike.freed-wings.org/wp/?page_id=15
    I want to get rid of the time and and date. Wghat do I edit to do so.
    Here's my other blog which I want it to be like:
    http://reviews.dirrty-pop.net/wp/?page_id=8
    That has in the title the title of the page and it doesn't have the time and date

    Please help me!

    also when I check off no comments/pings it comes up with the 'comment form' is closed at this time. I don't want any of that >.<

    Do I need a page template too? If so, how would I do that?

  2. marzar00
    Member
    Posted 8 years ago #

    You will need to edit the theme files and remove the bits you want.

    Marzar

  3. Michaell
    Member
    Posted 8 years ago #

    Here's my index.php:
    <!--THIS INCLUDES HEADER.PHP--><?php get_header(); ?><!-- END -->

    <!--THIS PULLS YOUR POSTS & INFO FROM DATABASE-->
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <!--END-->

    <!--TITLE TAG-->
    <h2> <div id="post-<?php the_ID(); ?>">"><?php the_title(); ?> on <?php the_time('F j, Y') ?> @ <?php the_time() ?></div></h2>
    <!--END-->
    </br>

    <!--CONTENT TAG-->
    <?php the_content('Read the rest of this entry...'); ?>
    <!--END-->
    </br>

    <!--COMMENTS TAG-->
    <div align="right"> <?php comments_popup_link('0 presents', '1 present', '% present'); ?></div>

    <!--END-->

    <?php comments_template(); // Get wp-comments.php template ?>

    <!--NECESSARY-->
    <?php endwhile; ?>
    <!--END-->

    <!--PROVIDES LINKS TO PREVIOUS ENTRIES-->
    <div align="center">
    <?php posts_nav_link('','','« Previous Entries') ?> <?php posts_nav_link('','Next Entries »','') ?>
    </div>
    <!--END-->

    <!--NECESSARY-->
    <?php else : ?>
    <div align="center">Not Found</div>
    <?php _e("Sorry, but you are looking for something that isn't here."); ?>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>
    <!--END-->

    <!--THIS INCLUDES FOOTER.PHP--><?php get_footer(); ?><!-- END -->

    When I take parts out, and I upload it, it comes up with a fatal parse error. Can someone edit it for me to make it work for page.php? thanks ;)

  4. marzar00
    Member
    Posted 8 years ago #

    Edit this:
    <!--TITLE TAG-->
    <h2> <div id="post-<?php the_ID(); ?>">"><?php the_title(); ?> on <?php the_time('F j, Y') ?> @ <?php the_time() ?></div></h2>
    <!--END-->
    </br>

    Remove:
    <?php the_time('F j, Y') ?> @ <?php the_time() ?>

    This will effect all of your blog however.

  5. Michaell
    Member
    Posted 8 years ago #

    What if I wanted to create a page.php? How would I do that? Is it possible to so it without an error?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.