| | #1 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
I have a site, Your Digital Marketing Expert Consultant - Your Ticket To Increased Earnings for Your Local Service Business and on the bottom of the home page there is a link 'Leave a reply' I don 't want. I have comments turned off, and I deleted the data on the comments.php so it is blank. So why would this still be there? The link just reloads the page, but still t is distracting to my readers. I would like to remove it if possible. Can anyone tell me how to do this? I am sure this is not a theme item as comments are controlled by the WordPress platform, so editing something in the editor would be the place to look I believe, but I am not a programmer so I come here to ask what I should do, if anyone can help me. Please.
|
|
Tim Pears
| |
| |
| | #2 |
| WP Dev & Design War Room Member Join Date: 2011 Location: Earth
Posts: 787
Thanks: 92
Thanked 271 Times in 226 Posts
Blog Entries: 4 |
You should be able to use the ‘comment_form_defaults’ to filter the comment fields. In the code below we are modifying the "title_reply" with a blank like so. $args['title_reply'] = __( 'This part we will leave blank below!' ); PHP Code: Edit: You may have to change the parameters depending on the theme and if it modifies the comment area. I see you using weaver, but I haven't looked at how they do things. Either way, you can use a filter. |
| Last edited on 7th Mar 2016 at 08:43 PM. Reason: Add note | |
| |
| The Following User Says Thank You to David V For This Useful Post: |
| | #3 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
Thanks David, I appreciate your help.
|
|
Tim Pears
| |
| |
|
| Bookmarks |
| Tags |
| blog, bottom, leave, link, page, remove, reply |
| |