WordPress.org

Forums

Theme not working in Wp 2.5 (1 post)

  1. the8thsign
    Member
    Posted 7 years ago #

    I've been trying to get my WP theme working in 2.5. It works fine in 2.3 but some things break in 2.5. I've fixed most of them in CSS but I still have one issue left. I've narrowed it down to one line of PHP:

    <div class="posts<?php if(is_home() && $post==$posts[0] && !is_paged()) echo 'End';?>"></div>

    The echo is not getting passed and I'm pretty sure its due to the "$post==$posts[0]" part.

    Anyone know what changed that would cause this and any workarounds for it?

    Thanks,
    Alec

Topic Closed

This topic has been closed to new replies.

About this Topic