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