11 pointsStarting to get into this DEV thingI'm new here
Darco
Member
—
13th January 2012
Hi guys!
My system is:
Wordpress 3.3.1
Manifesto theme from WPZoom
Around 20 plugins active, including Akismet, Hypercache,...
The problem that I have is that the form is not showing at all on default settings, pretty sure because of the hooks inside comments.php. I have attached:
This is the original comments.php: http://pastebin.com/RZvCbNXv
Result: form not visible, comments stay the same
My system is:
Wordpress 3.3.1
Manifesto theme from WPZoom
Around 20 plugins active, including Akismet, Hypercache,...
The problem that I have is that the form is not showing at all on default settings, pretty sure because of the hooks inside comments.php. I have attached:
This is the original comments.php: http://pastebin.com/RZvCbNXv
Result: form not visible, comments stay the same
You can add the following before the comments code:
<?php do_action("comment_form_before");?>
And the following after the comments code:
<?php do_action("comment_form_after");?>
Then make sure in your Comments Plus admin that you set these for the hooks (they should match in other words :-) :
wp-admin/options-general.php?page=wdcp
I mention this as I wonder if it didn't close the form or in the right place as it seems in your image to affect a div. A link would help as I could look in developer tools :-)
However, the problem remain. Older comments are still formatted as they used to and are only visible when I am on Wordpress tab - on others comments simply are hidden. I've also discovered that when I connect and try to post through my Facebook account, the comment has right picture and link but I am mentioned as Anonymous.
The comment_form_before is way before this code and covers the comments themselves. You only need to cover the form. You aso en the comment_form_after before the closure of the form tag.
Yes, this worked and now it shows up where it should be in Firefox and Chrome, but above comments in IE9. But now new problem came - when you reply to older comment tabs are not in one horizontal line but they are vertical:
Looks good in my Firefox as well. I notice though you are logged in. Could you please create me a sample account. Just needs to be a subscriber role so you could post it here and then remove that account after we have finished.
I've logged in and tested as well, both in FF and Chrome. Still looks all fine to me. I wondered if there was something extra on the page when logged in.
See screen shots.
You could set a manual width for the div in css, the ID is "comment-providers" to ensure the theme does not make it to small.
I also note in developer tools that you have the following:
I'll ask some of the other guys if they can look on their Windows computers, I'm on Mac. My windows machines are boxed away at the moment due to room constraints whilst our new office is being built (when I get better, warmer weather. :-).
Thank you Tim for your assistance! I've activated Custom Comments Template add-on plugin and now comments show almost exactly like on WPMU.org. Now other things bother me like unsuccessful login to Twitter and Google, but that is another topic.
Responses (11)
Support Chimp — 14th January 2012 #
Hey there!! :-)
I get an invalid Paste id on http://pastebin.com/hSbHjVk so I can't see what your code looks like now.
You can add the following before the comments code:
<?php do_action("comment_form_before");?>And the following after the comments code:
<?php do_action("comment_form_after");?>Then make sure in your Comments Plus admin that you set these for the hooks (they should match in other words :-) :
wp-admin/options-general.php?page=wdcp
I mention this as I wonder if it didn't close the form or in the right place as it seems in your image to affect a div. A link would help as I could look in developer tools :-)
Let me know how you get on.
Member — 14th January 2012 #
Hi Timothy!
Thanks for your help and sorry about invalid link.
I added code as you suggested, the comments.php now look like this: http://pastebin.com/RaBQDUqB
However, the problem remain. Older comments are still formatted as they used to and are only visible when I am on Wordpress tab - on others comments simply are hidden. I've also discovered that when I connect and try to post through my Facebook account, the comment has right picture and link but I am mentioned as Anonymous.
I kept this settings live on my website so you can check it out: http://hdtelevizija.com/2012/01/13/ces-2012-video-obilazak-samsungovog-standa-uz-carlu/#commentspost
Support Chimp — 14th January 2012 #
Is this theme up to date? Has the author released recently?
Anyway...
Your code:
The comment_form_before is way before this code and covers the comments themselves. You only need to cover the form. You aso en the comment_form_after before the closure of the form tag.
Try this:
Let me know how you get on. :-)
Member — 14th January 2012 #
Hi Timothy!
Yes, this worked and now it shows up where it should be in Firefox and Chrome, but above comments in IE9. But now new problem came - when you reply to older comment tabs are not in one horizontal line but they are vertical:
http://imageshack.us/photo/my-images/15/replyw.jpg/
This is the post: http://hdtelevizija.com/2012/01/13/ces-2012-video-obilazak-samsungovog-standa-uz-carlu/
P.S. I'm using latest version of the theme from the author.
Support Chimp — 14th January 2012 #
Hey again.
Looks like a CSS issue. Looks ok in my Chrome and Safari though. Does this only happen in one browser or them all?
Member — 14th January 2012 #
Hey Tim,
Yes, this happens in IE, Firefox and Chrome (reply issue). Here is a copy of css file: http://pastebin.com/V9sQmqTy
This CSS is the original that came with the theme, haven't modified it.
Support Chimp — 14th January 2012 #
Looks good in my Firefox as well. I notice though you are logged in. Could you please create me a sample account. Just needs to be a subscriber role so you could post it here and then remove that account after we have finished.
Take care.
Member — 14th January 2012 #
Sure, no problem:
http://hdtelevizija.com/wp-admin
U: Tim
P: 1020!!a
Support Chimp — 14th January 2012 #
I've logged in and tested as well, both in FF and Chrome. Still looks all fine to me. I wondered if there was something extra on the page when logged in.
See screen shots.
You could set a manual width for the div in css, the ID is "comment-providers" to ensure the theme does not make it to small.
I also note in developer tools that you have the following:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://hdtelevizija.com/wp-content/themes/manifesto/faq-custom.cssFailed to load resource: the server responded with a status of 404 (Not Found)
http://hdtelevizija.com/wp-content/themes/manifesto/custom.cssFailed to load resource: the server responded with a status of 404 (Not Found)
http://hdtelevizija.com/wp-content/themes/manifesto/faq-custom.cssFailed to load resource: the server responded with a status of 404 (Not Found)
I'll ask some of the other guys if they can look on their Windows computers, I'm on Mac. My windows machines are boxed away at the moment due to room constraints whilst our new office is being built (when I get better, warmer weather. :-).
Member — 14th January 2012 #
Thank you Tim for your assistance! I've activated Custom Comments Template add-on plugin and now comments show almost exactly like on WPMU.org. Now other things bother me like unsuccessful login to Twitter and Google, but that is another topic.
Thanks and hope you get nicer weather soon ;).
Support Chimp — 14th January 2012 #
Hey again. :-)
Sorry, are you saying it is now working?
I should have suggested trying that also. It uses a different stylesheet I believe.
I just noticed your other thread on this, I'll pop over there shortly.
Take care.
Become a member