Ozh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: one post one way second post another waycorrect :>
Forum: Fixing WordPress
In reply to: How to navigate to “next post/previous post”(Same for me, using 1.02)
Forum: Requests and Feedback
In reply to: More Features for Forum or phpBB/vB!There’s one thing very annoying with this forum : “#thread li {height: 100%;}” in forum.css makes it barely readable in MSIE5 which I’m condamned to use at work 🙂 (it display a post every 2 or 3 meters, and reading a thread gets very scroll-down intensive 🙂
I admit also I find the editing features a bit limited and posts with code lines are often difficult to read. But besides this, I’m much more pleased by the software and its community I discovered a few weeks ago, than willing to see things changing. Thanks again developpers & helpers for this (and be prepared for my upcoming site I’m moving onto WP ! 🙂Forum: Fixing WordPress
In reply to: the_date : working once per post ?Hooooooo. Ok 🙂
I’ve been relying too much on the Wiki, where this “feature” isnt mentionned, and not enough on the Docs section itself.
Many thanks to all 🙂Forum: Themes and Templates
In reply to: one post one way second post another wayThe integer of the post_ID divided by 2 will give either 0 or 1. You could create classes like :
.1 {float: left;}
.0 {float: right;}
Then a solution would be to add into your my-hacks.php a slightly modified version of the_ID() using the operator “% 2”, and then use:
<div class="post <?php my_the_ID() ?>">
Without even modifying the php script and using instead a little (ugly) javascript, something like would either write “0” or “1” :
<script>
var postid = <?php the_ID() ?>;
var postclass = postid % 2;
document.write(postclass);
</script>Forum: Fixing WordPress
In reply to: the_date : working once per post ?Well, I think I understood the loop thingie. It *is* inside the loop.
My code is :
<? if ($posts) { foreach ($posts as $post) { start_wp(); ?>
<? the_weekday_date('<h2><span>',' ') ; the_date('j F Y','','</span></h2>') ; ?>
<div class="post">
<h3 class="storytitle" id="post-<? the_ID(); ?>">" rel="bookmark" title="Permanent link : <? the_title_rss() ?>"><? the_title(); ?></h3>
<div class="meta"> In: <? the_category(", ") ?> — <? the_author() ?> @ <? the_date('j F Y','','') ?> . <? the_time('H:m') ?> <? edit_post_link("x"); ?>
</div>
<div class="storycontent">
<? the_content(); ?>
(...)
This gives :
<h2><span>Tuesday 20 April 2004</span></h2>
<div class="post">
<h3 class="storytitle" id="post-6">This is a post</h3>
<div class="meta">In: General — ozh @ . 13:04 x</div> <!-- meta -->
<div class="storycontent"> [... the post itself ]
The second “the_date” just doesnt show, and the first one, along with the_weekday_date(), display correctly.
Thanks if anyone can helpForum: Fixing WordPress
In reply to: the_date : working once per post ?Well. I am using the_time() of course. To display the time. Not the date.
What I’m trying to get is, for each post :
Sunday 12th March 2004
This is the title
posted by Joe, 03/12/04 @ 12:55
This needs, if I’m correct, twice the_date() and once the_time() per post. What I actually get is :
Sunday 12th March 2004
This is the title
posted by Joe, @ 12:55
What I dont get is why would a template tag work once per post ? Sorry if I wasn’t clear from the startForum: Fixing WordPress
In reply to: the_date : working once per post ?Actually no, I’m talking about the_date() inside “the loop” 🙂
Like, I’d like each post to display twice the date.Forum: Your WordPress
In reply to: differentSky.comJesus. The Guestblock is wicked 🙂
Forum: Themes and Templates
In reply to: Help with 3 Columns…its positionned as “absolute”, so it will always be “left: 735px;”
By the way, in Mozilla it’s even worse : the left column goes to the right.
http://www.google.com/search?q=three+columns+layout will give you a few working examples
Even if you’re using MSIE like me, I’ll advise you to develop your CSS using Mozilla : once it’ll work for Mozilla it’ll be ok in MSIE. The other way round is false, unfortunately 🙂Forum: Plugins
In reply to: Titlize — Generating Nice TitlesI think this, like ALA “Nice Titles” if I can remember, are a nice idea but are rather annoying and too obstructive. There should be a nicer way to use it, with for example a subtle background with opacity, something like this…
Forum: Your WordPress
In reply to: Migration completedRather nice, but I wonder why people seem to always prefer fixed width :/
Forum: Your WordPress
In reply to: Cahri’s Bugs Onlinefeatures errrr *bugs* everywhere !
Nice, and, at least, someone who is not using a fixed width but a fluid width 🙂
// OzhForum: Your WordPress
In reply to: My blog(still in MSIE at least) the Comments page looks wrong : the right col gets displayed under the main block
Forum: Your WordPress
In reply to: My blog(in MSIE at least) The left margin for the content should be a bit bigger : the text appears right next to the black border. Assez joli sinon.