Home › Forums › Support › How to make linked text? This topic has 3 replies, 2 voices, and was last updated 3 years, 11 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 28, 2020 at 1:17 pm #1260183 Lukasz Hi, I would like to use the filter generate_404_text to create custom text. In other words I want to put some text let’s Homepage as link to homepage (it could be piece of a text). How to do that? April 28, 2020 at 4:16 pm #1260380 TomLead Developer Lead Developer Hi there, Try this: add_filter( 'generate_404_text', function() { return '<a href="YOUR URL HERE">Your custom text</a>'; } ); Let me know ๐ April 29, 2020 at 3:02 pm #1261975 Lukasz It works perfectly. You are hero. April 29, 2020 at 4:34 pm #1262081 TomLead Developer Lead Developer Glad I could help! ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In