Forum Replies Created

Viewing 5 replies - 76 through 80 (of 80 total)
  • could you post a link, please?

    I do believe this is exactly what you’re looking for.

    Forum: Fixing WordPress
    In reply to: One Post Loop

    1) You’re correct, wrong word.
    2) Ok, wasn’t quite clear on how this was supposed to work. The important part is it does. My modification is for those that want the classes independant of each other, which was my aim.

    Thanks for clarifying this to everyone reading this thread.

    Forum: Fixing WordPress
    In reply to: One Post Loop

    This didn’t work for me the first time, although it does in fact work perfectly.

    The problem is that php will set the category as ‘post’ plus ‘ firstpost’, and having the class ‘.post firstpost’ doesn’t work as the browser will be looking for a <firstpost> tag. So I changed it to this:

    <div class="post<?php if(!is_single() && $post==$posts[0]) echo '-first';?>">

    Thus, the first post is ‘.post-first’ and every other post is just ‘.post’ .

    Orin

    (@orin)

    This happened to me a little while ago when I accidentally entered an empty space in the permalink box. What I had to do was delete the .htaccess file in my blog’s root folder.

    This fixed the 500 internal error, and WordPress re-created the same (correct) mod-rewrite rules the next time I saved my permalink sttings.

    As to what caused it I can’t say. Be absolutely positive all characters in the box are valid.

    Hope my solution works as easily for you.

Viewing 5 replies - 76 through 80 (of 80 total)