Trying to remove output in comments.php
-
Hello!
Bit of a newbie PHP issue really – I’m trying to move some code from my comments.php file.This is it:
'<em>' . get_the_title() . '</em>
I’ve tried stripping it out, but it doesn’t work. It’s a bit more involved than I first thought – and I’m not sure how to strip out the PHP without crashing my site!
Here’s an example from a page on my travel blog. The text “Travel Photo of the Day: Ki Monastary in the Spiti Valley” is wrapped in the tags – I’d like that all gone and for it just to say: “2 Comments – Add Yours!”
Here’s all the code from my comments.php file:https://pastebin.com/1vTeH6mA
Any tips would be excellent! Thanks very much ??
Best regards,
Stuart Edwards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trying to remove output in comments.php’ is closed to new replies.