Okay – it’s working – sort of.
Now you need to have The Loop and ONLY the loop in your code where you want the blog to be.
The Loop:
<?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(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></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'); ?>
</div>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
Thread Starter
Lauren
(@xxlauren)
Wow, much different loop then what I had…
Thread Starter
Lauren
(@xxlauren)
Yay, I did it. So now I can just copy all that to the index, and that is what will appear at http://www.pink-starr.com/wordpress?
Okay – your next post will be about the gaps and bullets with the categories.
Leave the Loop alone, and instead, look at the wp-layout.css and copy the stuff that has .meta in it
Thread Starter
Lauren
(@xxlauren)
What do you mean copy? Just control+c? Then we’ll do something else with it I suppose.. Okay
copy to index ?
Rename the index that is there to something else.
Then rename pleasework.php to index.php
and then backup the files you just played with – you know it makes sense 🙂
The CSS you need in your file:
.meta {
font-size: .75em;
}
.meta li, ul.post-meta li {
display: inline;
}
.meta ul {
display: inline;
list-style: none;
margin: 0;
padding: 0;
}
.meta, .meta a {
color: #808080;
font-weight: normal;
letter-spacing: 0;
}
Thread Starter
Lauren
(@xxlauren)
So I am putting this in pleasework right?
Yes, or wherever you keep the css for your site.
Thread Starter
Lauren
(@xxlauren)
Okay, well I put it in the pleasework file for now. But I don’t get what it is for… and if I should be changing and variables in it?
Look at your page.
See this ?
Filed under:
* General
Lauren @ 11:28 pm
That css will make it like
Filed under: General by Lauren @ 11:28 pm
And changing things ? Yea, change colours and maybe even the font / font size but first you need that info put into an inline list.
Thread Starter
Lauren
(@xxlauren)
LoL, okay, I thought maybe it was that. But I must have done something wrong becuase it isn’t working.
Thread Starter
Lauren
(@xxlauren)
Okay, got it in my css. And working. Thanks for that!