From the course: WordPress: Building Child Themes

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Challenge: Change posted by

Challenge: Change posted by - WordPress Tutorial

From the course: WordPress: Building Child Themes

Start my 1-month free trial

Challenge: Change posted by

(upbeat music) - [Instructor] Are you ready to test the things you learned? I have a pretty easy challenge here. It's easy in its execution and that it'll only take a few lines of code. The tricky part is knowing exactly what to change. On many blogs, there's only one author for that blog, in which case, at the bottom of the post, this author link isn't very helpful, and it only takes up space. If you can figure out a way to remove it, that will reduce some of the visual clutter and make things just a teensy bit more clear. I want you to remove this author username and the link to the author page. You can do both things in the same place. You'll want to refer back to the lesson about pluggable functions. And you'll want to use functionality like search in directory, which I covered in the lesson about finding functions. And as another hint, it might help if you search for specific HTML code. Give this a try for five to 10 minutes and then check out the solution.

Contents