rbaibich
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I have a special header only for the homepage?I don’t have an example. The closest thing I found was this, but I don’t know how it’s gonna behave when I go to Previous posts (“/page/2”)… I’ll give it a shot, though…
Forum: Fixing WordPress
In reply to: A problem with commentsGravatars. Installing the plugin would make “gravatars()” a working function, so it would fix the problem. The other way of solving it would be going to comments.php and debugging it there.
Forum: Plugins
In reply to: [Bug?] WP-Cache sending an empty page when there’s no cache fileThe shot in the dark worked! I switched to PHP 4.4.2 and now everything works perfectly.
Forum: Plugins
In reply to: [Bug?] WP-Cache sending an empty page when there’s no cache fileWell, it looks like it’s a problem with Ultimate Tag Warrior (3.1) interacting w/ WP-Cache (2.0.17). It’s the only other plugin I have on right now, and when I disable it I get 0 byte pages even when I hit reload.
What’s really strange about it is that I’ve seen other blogs using the exact same plugins and they’re not having any problems. I’m switching from PHP 5.1.2 to 4.4.2 to see if that fixes the problem, but it’s basically a shot in the dark…
Forum: Plugins
In reply to: Ultimate Tag Warrior helpYup. Thanks.
Forum: Themes and Templates
In reply to: Comments on the homepage (w/ a JS slidedown)Yeah… What can you do…
Forum: Themes and Templates
In reply to: Comments on the homepage (w/ a JS slidedown)Yeah, I placed it in the loop. It seems that K2’s comments PHP is the problem: when the second post comes I get this error:
Fatal error: Cannot redeclare k2_comment_type_detection() (previously declared in /home/.../betatest/wp-content/themes/beto/comments.php:15) in /home/.../betatest/wp-content/themes/beto/comments.php on line 23
Edit:
This is the piece of code that’s not working, btw:
function k2_comment_type_detection($commenttxt = 'Comment', $trackbacktxt = 'Trackback', $pingbacktxt = 'Pingback') {
global $comment;
if (preg_match('|trackback|', $comment->comment_type))
return $trackbacktxt;
elseif (preg_match('|pingback|', $comment->comment_type))
return $pingbacktxt;
else
return $commenttxt;
}Forum: Themes and Templates
In reply to: Comments on the homepage (w/ a JS slidedown)Shameless bump… Still looking for an answer.
Forum: Themes and Templates
In reply to: Comments on the homepage (w/ a JS slidedown)Tried it, but that only works for the last post. All the others come up with an error.
Any other ways of making it work?
Forum: Themes and Templates
In reply to: The loop is not… loopingNEVERMIND!
Just found the problem. I had a lost “}” closing the while loop prematurely.
Forum: Themes and Templates
In reply to: The loop is not… loopingForum: Themes and Templates
In reply to: The loop is not… loopingYeah, I know it’s not the easiest or simplest way of going about it, but that’s how I always learned how to do my stuff. I’m going through the code to see if all the while statements are good, but I thought I’d have a faster answer posting here.