trailbound
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: is_archive() not workingAnother interesting and related find. The above custom archive page I created is a Page. The conditional, is_page() works as long as I don’t use query_posts() and The Loop in the page. When I use query_posts() and The Loop to display posts, it breaks is_page(). I wish I knew why…
Forum: Themes and Templates
In reply to: Issue with Sidebar….<div class=”blank”> & n b s p ; </div>
That’s what was supposed to be in the above example. It didn’t translate the non breaking space as text.Forum: Themes and Templates
In reply to: Issue with Sidebar….My favorite way to solve this sort of thing is to make the column on the left “float: left”, give the column on the right a left margin equal to the width of the left column. Then, directly after you close your right column, place a “blank” div that has “clear: both” set on it. I mean “blank” as in it contains no content… ex:
<div class=”blank”> </div>This should force the box for the border to encompass both the left column and the right.
I think you’ll also have to do an IE hack for the right column left margin, or else IE will wrap the thing weird. Can’t quite remember though… it’s been awhile since I’ve done something like that.
Forum: Fixing WordPress
In reply to: is_archive() not workingDid a little more testing. If I remove both the call to query_posts() and The Loop… and replace it with the call to get_archives(), is_archive() still does not evaluate to true. Moshu, sounds like that’s correct. Does this mean is_archive() only evals to true if you’re in specific .php files (date.php, category.php, etc) instead of when you use certain date, category, or author query functions?