Support » Themes and Templates » need help on making the tittle

  • i know nothing on css so i hope u guys could help me figure this out
    i need help on making the tittle and the date Be in the <p class=”head”
    here’s the index
    [quote]
    <?php
    /* Don’t remove this line. */
    require(‘./wp-blog-header.php’);
    ?>
    <html>
    <head>
    <link rel=”stylesheet” href=”css.css” type=”text/css”>
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
    <link rel=”stylesheet” type=”text/css” media=”print” href=”<?php echo get_settings(‘siteurl’); ?>/print.css” />
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    </head>
    <body background=”back.gif”>
    <img style=”position:absolute; top:0px; left:0px; width:737px;
    height:522px” src=”top.jpg” border=”0″>
    <div id=”left” style=”position:absolute; z-index:2; left: 280; top:
    280; width:271;”>
    <!- Edit main content here -!>
    <p class=”head”>Welcome
    <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(); ?>”>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”><?php the_title(); ?></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 trackback_rdf(); ?>
    –>
    <?php include(ABSPATH . ‘wp-comments.php’); ?>
    <p class=”head”>
    </div>
    <?php endforeach; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>
    </div>
    <p class=”head”>Image CreditsImages came from Hana Designs, terraholic.NET and Deskmod. Artist credits at Deskmod go to LittleGinzo72 and phenomenon. Thanks!
    <br><br><br><br>
    <center>Layout © Night Frost
    </center>
    </div>
    <div id=”right” style=”position:absolute; z-index:2; left: 573; top:
    56; width:159;”>
    <!- Edit navigation here -!>
    <p class=”head”>Stats
    <center>
    </center>
    <p class=”head”>Blog
    <center>
    <br>-Nana-<br>-Winterwish-<br>-Deng-<br>
    </center>
    <p class=”head”>Other
    <center>
    <br>-Yakuza-<br>-SmallVille-<br>
    </center>
    <p class=”head”>Archive<center>

      <?php wp_get_archives(‘type=monthly’); ?>

    </center>
    </div>
    </body>
    </html>[/qoute]
    and could u guys please check on anything else that i did wrong 😀
    my site http://ryokuns.hikarionline.net

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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>

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.