siim
Forum Replies Created
-
Forum: Themes and Templates
In reply to: showing only sidebar backroundi’m sorry, but what do you mean by hardwiring into the css?
yes, background is the page div not widecolumn but it’s defined in the header file, not in css or page template file.Forum: Themes and Templates
In reply to: showing only sidebar backroundmiklb: also not working as the widecolumn div is actually not as wide as thepicture that goes for the background (kubrickbgwide.jpg). solution would be to change something in the header file:
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
i should add one more condition, probably using || but it doesn’t seem to work (i made a variable $sidebar in the page template before including header, gave it value true and in the header file i added condition ! $sidebar but it didn’t work – header.php even didn’t get the value of that variable. so the problem is still not resolved.Forum: Themes and Templates
In reply to: showing only sidebar backroundcramoisi: i don’t want to edit that file because it also applies to the blog’s home page (blog.mobi.ee) and also archive sections. and i’m already using .widecolumn style
iddapidda: i’ve already removed it, but the background still remained.
anything else i should try?Forum: Fixing WordPress
In reply to: posts between certain timethanks – the main problem is solved now, but the sidebar problem still remained. i’ll go and make another topic about it because unfortunately the link you gave doesn’t give me the information i want to have.
thanks again!Forum: Fixing WordPress
In reply to: in_category returns errorno, this returns a parse error:
Parse error: parse error, unexpected T_ENDFOREACH in /var/www/html/wordpress/wp-content/themes/default/uudiskiri_2.php on line 35
if using
<?php if(in_category('11')) : ?>
//displays posts
<?php endif; ?>
<?php endforeach; endif; ?>
then it’s the same error that i had in the beginning (see the first post)
really weird 🙁Forum: Fixing WordPress
In reply to: posts between certain timethanks, the time stuff works fine now but now i’m into some new problems.
with the same query, i’d like to check wether the post is in certain category but the category is in another table and i don’t know a way to make query from two tables at the same time.another question which is about themes: which parameter defines what picture file is included in that line:
#page { background: url(“http://blog.mobi.ee/wp-content/themes/default/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
i’d like to have kubrickbgwide.jpg in some places and kubrickbg.jpg in the other pages.