durangod
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Comment text not correctly aligned!Doesn’t matter, anywhere in that list works. Be sure you have a closing semicolon (;) after each entry.
.commentlist {
direction: rtl;
font: 12px verdana, sans-serif;
color: #333;
}For example.
Forum: Installing WordPress
In reply to: Comment text not correctly aligned!I think oriecat means
directionwhich is a CSS property to set writing direction. In a style sheet your entry would look like:.commentlist {
direction: rtl;
}RTL indicates right-to-left base direction. If your whole blog is in Farsi, you could put this attribute in the
body, tdsection of your stylesheet and format the whole thing with just one entry.Forum: Fixing WordPress
In reply to: front page shows “login” link, even though I am already logged inForum: Fixing WordPress
In reply to: V1.5 Bug: Login tested using access levelHad to do a little quote-tweaking, but this worked for me. Thanks, Intersol!
function wp_loginout() {
// global $user_level;
global $user_login;
get_currentuserinfo();
if (!$user_login) :
// if (0 == $user_level) :
$link = ‘‘ . __(‘Login’) . ‘‘;
else :
$link = ‘‘ . __(‘Logout’) . ‘‘;
endif;echo apply_filters(‘loginout’, $link);
}Forum: Fixing WordPress
In reply to: front page shows “login” link, even though I am already logged inJonmalm’s fix didn’t work for me, “Login” is displayed for logged-in level 0 users all the time.
Blog and WP (1.5) are in same directory. Same behavior in IE & Firefox, clearing cookies & cache on each attempt.