HELP A SIMPLE CODE no fusses
-
hello!! my VERY SIMPLE BLOG layout is so messed up!! it’s my first time to use WP so im having hella troubles!! i have this code for :
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title><?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?><style type="text/css">
<!--body {
font-family:tahoma;
font-size: 11px;
color: black;
scrollbar-face-color: #00FF80;
scrollbar-shadow-color: #616161;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #00FF80;
scrollbar-darkshadow-color: #00FF80;
scrollbar-track-color: #00FF80;
scrollbar-arrow-color: #000000;
overflow:auto;}
A { font-weight:bold;
text-decoration: none;
color:#996699;
}a:visited {font-weight:bold;
text-decoration: none;
color:#996699;
}a:hover { color:#CC99CC;
text-decoration: underline;
text-transform:none;
font-weight:bold;
cursor: help;
}.content {
text-decoration: none;
text-align: justify;
}.content A {
font-weight:none;
text-decoration: none;
color:#c0c0c0;
}.content a:visited {
font-weight:none;
text-decoration: none;
color:#c0c0c0;
}.content a:hover {
color:#CC99CC;
text-decoration: underline;
text-transform:none;
font-weight:none;
cursor: help;
}.head1 {
color: #996699;
font-weight:bold;
font-size: 7pt;
font-family: century gothic;
letter-spacing:2px;
border:1px dotted #CC99CC;
background-color:#F7E5F0;
text-align: center;
}.head {
color: #996699;
font-weight:bold;
font-size: 10pt;
font-family: century gothic;
letter-spacing:2px;
border:1px dotted #CC99CC;
background-color:#F3D7E7;
}h3 {
text-align: center; font-style:normal; font-variant:normal; font-weight:bold; font-size:100%; font-family: Century Gothic;
color: #996699;
width: 100%;
padding-bottom: 0px;
}h2 {
border-bottom: none;
text-align: center;
font-family: Century Gothic;
color: #CC99CC;
padding-bottom: 0px;
font-size: 10pt;
}.storytitle {
margin: 0;
}.storytitle a {
font-weight:bold;
text-decoration: none;
color: #996699;
}.storytitle a:visited
font-weight:bold;
text-decoration: none;
color:#996699;
}.storytitle a:hover {
color:#CC99CC;
text-decoration: underline;
text-transform:none;
font-weight:bold;
}.meta {
text-align: center;
font-size: 100%;
}.meta, .meta a {
font-family: Century Gothic;
color: #CC99CC;
font-weight: normal;
letter-spacing: 0;
text-decoration: none;
}.meta ul {
display: inline;
margin: 0;
padding: 0;
list-style: none;
}.meta li {
display: inline;
}p, li, .feedback {
text-align: justify;
}.storycontent p {
}
#commentform input, #commentform textarea {
background: #F0E8F3;
border: 1px solid #CC99CC;
}#name, #email, #URL, #my URL location, #Submit Button {
background: #F0E8F3;
border: 1px solid #CC99CC;
}#commentform textarea {
width: 100%;
}ol#comments li p {
font-size: 9pt;
font-family: Century Gothic;
}-->
</style></head>
<body>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class="head"><b><center><?php the_date('','',''); ?></center></b></div>
<div class="post">
<h2 class="storytitle" id="post-<?php the_ID(); ?>">*{<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a>}*</h2>
<div class="meta"><?php edit_post_link(); ?></div><div class="storycontent">
<?php the_content(); ?>
</div><div class="feedback">
<br><br><?php wp_link_pages(); ?>
<?php comments_popup_link('comments ?', '1 comment', '% comments') ?><?php comments_template(); ?>
</div>
<!--
<?php trackback_rdf(); ?>
--><center><hr size="1" color="#E1ABAD"></center>
</div><?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?></body>
</html>
it’s in an iframe so it’s all just posts!!!
but when i click on my comments, it shows a different template.. ugh!! i want it to look the same. please guys? can you help me fix my code? and i also want to add an archive link under my posts.. how do i do that ?
- The topic ‘HELP A SIMPLE CODE no fusses’ is closed to new replies.