Archived

This topic is now archived and is closed to further replies.

  • 0

Changing 'says' field in Comment section

Question

Posted · Report post

Hi all -

 

Hoping someone can help with something that is driving me buggy.

 

When someone leaves a comment on the blog page of my site I get the word 'says' automatically generated after their name. i.e.:

 

ALEX BULGO says

 

XXXXXXXXXXXXXX etc.

 

I would like to replace 'says' with a colon.

 

I used the following, placed in the functions.php of my child theme, to alter the submit button text:

 

function comment_reform ($arg) {
$arg['label_submit'] = __('post');
return $arg;
}
add_filter('comment_form_defaults','comment_reform');

 

Could I also use this to replace 'says' - and if so, how do I find out which field to replace 'label_submit' with?

 

Many thanks

 

Alex

 

Share this post


Link to post
Share on other sites

7 answers to this question

Posted · Report post

Try this in Dashboard > PlatformPro > CustomCode > CSS Rules:

.says {display: none;}

If that doesn't work, try it like this:

.commentlist cite says {display:none;}

Share this post


Link to post
Share on other sites

Posted · Report post

Happy to report that the first one worked perfectly - thanks again!

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Alex,

 

Can you provide me a link to one of the pages with comments?

 

PlatformPro is a deprecated product with no updates in future. We're recommending to all PlatformPro clients that they upgrade to PageLines Framework as soon as possible to avoid a breakdown of the Platform. Each time WordPress is updated, there's increased risk of failure in any deprecated product.

 

Meanwhile, to save yourself considerable coding, which we cannot support, you may simply prefer to use a comments plugin like LiveFyre or Disqus, which work in both PlatformPro and PageLines Framework, seamlessly.

 

Personally, I don't recommend altering code at this point, as doing so might well prompt some additional, unforeseen issues which can't be fixed.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob

An example would be:

http://alexbulgo.com/the-man-who-made-thunderbirds-go/

where comment authors have 'says' auto inserted after their names.

An amenable to upgrading, but I wonder whether the custom coding etc will be preserved on upgrade or whether I should back everything up first?

Cheers

Alex

Share this post


Link to post
Share on other sites

Posted · Report post

The custom coding can be copied before activating the new Framework, and if not carried over dynamically, pasted into the same location.  Noting that there are major CSS changes between the two products, you may expect it to be necessary to do some tweaking.  Otherwise the transition should be very easy.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob - much appreciated.

Alex

Share this post


Link to post
Share on other sites

Posted · Report post

Did it work?

 

Let me know how that goes!

Share this post


Link to post
Share on other sites