Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   Glitch with comments subtitle (http://forum.bytesforall.com/showthread.php?t=15116)

Viktor Garbar Aug 13, 2011 03:42 PM

Glitch with comments subtitle
 
1 Attachment(s)
I include the screenshot, the original is here http://21.maidan.org.ua/2011/08/v-to...ij-v-ukrajini/

That subtitle basically says "3 commentsThe title of post goes here" - no space between the number of comments and post title

HTML code looks like this

Code:

        <h3 id="comments"></a><iframe src='http://www.facebook.com/plugins/comments.php?href=http://21.maidan.org.ua/2011/08/v-toronto-projshla-demonstratsiya-proty-politychnyh-represij-v-ukrajini/&permalink=1' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:130px; padding-left:-15px; height:12px;' allowTransparency='true'>
                        </iframe><a>3 коментаріВ Торонто пройшла демонстрація проти політичних репресій в Україні</h3>

Right now facebook comments are enabled, but I tested it without this plugin - nothing changes.

This is apparent error, however I don't know where to look in order to fix it. I didn't tweak WP core or Atahualpa at all.

Please give me direction where to edit that code.
Thank you
Viktor

juggledad Aug 13, 2011 06:05 PM

Are you using a plugin to get the subTitles? Comments don't have subtitles

Viktor Garbar Aug 14, 2011 04:32 AM

No, I don't. Sorry, I worded it wrong. It's post TITLE - added before the comments section.

I don't have any plugins that change comments behaviour.

I disabled all plugins - and this problem is still there. I don't know why that title is there - I don't see it on other sites powered by WP+Atahualpa including my own.

juggledad Aug 14, 2011 04:48 AM

Posts don't have subtitles.
With Atahualpa you can display a kicker, the post title, a byline, the post and a post footer - are you talking about one of these?

Viktor Garbar Aug 14, 2011 05:03 AM

Yes, I am talking about post title.

It is added for some reason before the comments section. Right after the number of comments - without even a space added.

This glitch persists even with all plugins removed. I didn't edit theme of WP core.

juggledad Aug 14, 2011 05:45 AM

Did you create a PO file with the translations? did you add a blank after 'коментарі' in the file?

Viktor Garbar Aug 14, 2011 07:36 AM

I am using official Ukrainian release of WordPress and did not translated anything myself.
However I checked with *.po file - there is no such phrase. I don't know where to look.

Additionally please notice - this quoted html code is malformed. I'd fix it - if I knew where to look.

juggledad Aug 14, 2011 09:49 AM

edit comment.php in the theme folder and look at line 27. It reads
HTML Code:

    __('1 comment to ', 'atahualpa'), __('% comments to ', 'atahualpa'));
Notice the space at the end of the phrase '1 comment to ' and '% comments to '
- I suspect that has been removed in this code or the POT file

where did you get the translation file for the theme?


All times are GMT -6. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.