Notifications
Clear all

[Solved] Removing /Replacing the Add a Comment Placeholder.

3 Posts
2 Users
0 Reactions
1,401 Views
(@tobydoyle)
New Member
Joined: 5 years ago
Posts: 4
Topic starter  

We are planning to use Discuz to enable people to leave messages of condolences on our memorial site as well as to leave comments on our post.

The "Be the First to Comment" placeholder is inappropriate on Memorial pages - see:

https://memorialise.co.uk/events/united-kingdom/greater-manchester/middleton/marjorie-andrew/#reviews

I had changed it before using Custom CSS but this seems to have moved/disappeared in V7.

Can you indicate where/how I can edit/remove it, preferably in a way which will not be brought back with updates. 

Either removing it altogether would be fine --  or changing it to to "Be the First to Post" or "Be the First to Post a Message of Condolence" preferable.

Best wishes

 

   
Quote
Elvina
(@elvina)
Support
Joined: 5 years ago
Posts: 1403
 

Hi @tobydoyle,

1. To remove the placeholder text you can use the following JS code. 

jQuery("#wpdcom .ql-editor.ql-blank").removeAttr("data-placeholder");

The code should be added in the current active theme js files.

2. To change the text just navigate to the Dashboard > Comments > wpDiscus  > Phrases admin page, find and change each phrase you need.


   
ReplyQuote
(@tobydoyle)
New Member
Joined: 5 years ago
Posts: 4
Topic starter  

Perfect. Thank you. The new version looks like a significant enhancement/improvement in terms of customisation and fuctionality


   
ReplyQuote
Share:
Scroll to top