I use blogolife and am attempting to modify the comment reply form section (including changing the wording from Leave a Reply).
I found instructions on how to to so in the latest versions of WordPress using <?php comment_form(); ?>.
An example post from my site with comments:
In particular, I have removed most of the material in the comments.php file and replaced it with the following (in an attempt to at least change the wording from leave a reply):
<?php comment_form(array(‘title_reply’=>’Leave comments or corrections’)); ?>
However, absolutely nothing changes on the site as a result and the standard WordPress comments section remains.
I have also modified the css for comments-title and other items (mainly trying to have them line up properly and to make the texts smaller), also with not results.
What else am I missing. Where else in blogolife do I need to do something to allow these changes to happen?
Thanks for any help.
Thanks for your fast response. I had previous changed that very file to read, for instance:
‘id_form’ => ‘commentform’,
‘id_submit’ => ‘submit’,
‘title_reply’ => __( ‘Leave a Comment or Correction’, ‘wplook’ ),
‘title_reply_to’ => __( ‘Leave a Reply to %s’, ‘wplook’ ),
‘cancel_reply_link’ => __( ‘or Cancel reply’, ‘wplook’ ),
‘label_submit’ => __( ‘Send Comment’, ‘wplook’ ),
However, it seems that the latest version of WordPress overrides any modification in that function comment.php and the standard WordPress generated comment section appears instead (and the automatically generated WordPress comment form is also misaligned compared to the one that you designed for the theme).
Have you checked that situation in the latest WordPress version (in the previous version your comment set-up was working fine).
So my question in the previous posting was struggling with trying to modify the standard WordPress generated comment form, and that wasn’t working due to something in the theme that I can’t identify.
Thanks for any suggestions.
Hello again Valeriu,
After spending considerable time on this, I have discovered that most of my problems here were caused by the plugin Spam Free WordPress (SFW). That plugin was overriding the comment form and the css for controlling different elements (many items were labelled sfw in inspecting elements, which led me to uninstall the plugin and discover that things are back).
Anyways, I mention this here in case other users of Spam Free WordPress are having problems modifying their comments sections.
The problem is solved by removing the plugin (I switched to Akismet).
- The topic ‘Unable to Modify Comment section’ is closed to new replies.