Due to the flexibility of WordPress, there are a large number of situations where you might require your blog to do something unusual and unusual. But what if you’re not utilizing WordPress as a blog, but rather as a website builder? In that case, the page title might not make much sense.
It may not participate in your design to truly have a huge “About Us” title at the top of your introduction. Or you may completely have a different reason. For reasons uknown, we’re going to check out removing the page titles from WordPress pages or articles. You might think that the answer is really as simple as not filling a title in to the WordPress editor to begin with!
That would work, sure. But how could you identify your posts and pages in the dashboard if you were to achieve that? Don’t worry – there are far better methods to removing the page titles. I’m going to begin with WordPress hooks and then show you how to take action with CSS both for posts as well as webpages.
- PinPoint Booking System
- Front-End Submission Form
- Customize existing metrics (350 available!) or create new ones from scuff
- RSS feeds
- Show you did some research about the company
So let’s start a sample WordPress post on my test blog. As possible below see, the title prominently is shown nice and. Using WordPress hooks, I can change it to whatever I love or even take it off completely. 3. “Plug and Play”. I prefer never to set up plug-ins if they could be avoided by me. They quickly become unmanageable so when the function is highly specific, I prefer to create a snippet of code myself. Just a couple lines of code get rid of page titles over the site.
What easily don’t want to eliminate titles across the site, but only on pages? Well then, the answer is simple. Simply add a check for a page before setting the name to an empty string. You are able to give this even more flexibility by assigning those content and pages that you want to remove the name to another category or custom post type and then perform a look for that condition in the function.
If for whatever reason you prefer not to mess around with PHP code, we can perform the same impact – albeit with just a little less versatility – via CSS instead. Also, since themes differ so broadly in their framework, what works for just one may not work for the other. But – this will accounts for almost all styles still.