• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Ani's Webdev Blog

A learning diary of website development

  • Home
  • Demo
    • Ajax Contact Form
  • WordPress
  • Front-end
  • Backend

[WordPress] How to transform post title into UPPERCASE without plugins

Modified on: September 18, 2020

To transform the post title into different style, for example uppercase, you don’t need to use any plugin. In this article I will show you how to do it simply by using WordPress filter.

What we are going to do is to add a filter hook, so that the title of a post will go through this before displaying to the user.

Add in your functions.php:

PHP

This line can also be changed for other different transformation.

PHP

Filed Under: Wordpress, WordPress Themes Tagged With: add_filter, php, wordpress hooks

Recent posts

WordPress: Create custom post type programmatically

[WordPress] Open Images in Posts into Lightboxes On Clicks (Without Plugins)

Mangools Review: A Productive SEO tool for The Affiliates

Reader Interactions

You are here: Home / Wordpress / [WordPress] How to transform post title into UPPERCASE without plugins

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Hello! My name is Anh. I am a front-end developer in Oulu, Finland. Currently, I work with PHP, HTML, CSS, JavaScript and love writing about them. Please feel free to join the discussion!

FOLLOW MY BLOG

Thank you for visiting this website! I hope you find something useful here :). Contact me by email: [email protected]