WP Ref

Category: Uncategorized

  • Using the_title Filter to Change Post Titles When Displayed

    A useful filter WordPress provides is the_title. This filter allows you to edit the title, most often used before it is displayed. Here’s an example to see it in action. Let’s say you want to add “(New!)” to the title of your latest posts when they’re displayed. To do this, you can use the the_title…