Can anyone tell me how to remove the link from a post title so that only the title shows up? I don’t want to do this for ALL post titles — just the ones in a particular category that show up on a particular page. I’ve created a custom page template in a child theme. Is there some way to do a conditional statement in my custom page template that modifies the output of
the_content()to strip out the link tags? Thank you.
- The topic ‘Remove Links from Post Titles’ is closed to new replies.