Jump to content


Photo

Changing 'says' field in Comment section


Best Answer Rob , 27 April 2013 - 01:06 PM

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;}
Go to the full post


  • Please log in to reply
7 replies to this topic

#1 alexb

alexb

    Super Member

  • Members

  • 105 posts
  • Country: Country Flag

Posted 27 April 2013 - 07:23 AM

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

 



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 April 2013 - 12:19 PM

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.



#3 alexb

alexb

    Super Member

  • Members

  • 105 posts
  • Country: Country Flag

Posted 27 April 2013 - 12:39 PM

Thanks Rob

An example would be:
http://alexbulgo.com...hunderbirds-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

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 April 2013 - 12:57 PM

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.



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 April 2013 - 01:06 PM   Best Answer

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;}


#6 alexb

alexb

    Super Member

  • Members

  • 105 posts
  • Country: Country Flag

Posted 27 April 2013 - 01:14 PM

Thanks Rob - much appreciated.

Alex

#7 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 April 2013 - 01:33 PM

Did it work?

 

Let me know how that goes!



#8 alexb

alexb

    Super Member

  • Members

  • 105 posts
  • Country: Country Flag

Posted 27 April 2013 - 05:46 PM

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