If you need that the title of your post does not appear in wordpress in this trick you will learn how to do it in two very fast ways.
You often find yourself needing to remove elements for design or SEO reasons, one of which is the title or header of the posts in some templates.
There are topics that drive us crazy with the headline of the news and we decided to remove it because either it occupies a lot, it appears in the middle of the images in an impertinent way or we do not want it to appear repeated within the post.
There are two ways to hide the easy titles both, choose the one that best suits what you need:
Modifying the code of each header to choose where to do it and where not to do it.
You can modify the css code to not show the headline in our style sheet but it will affect all entries.
Sometimes it happens that the title of the post is on the featured image and this is quite annoying for some people, for example for me that I edit the images with text so that they are original, it would be very confusing for the reader and it would worsen the user experience.
# 1 Manually modifying the headings that interest us to hide the title at our discretion.
This would be the normal example although my template has a field for the subtitle that I could also remove in the same way if needed.
Hiding the title is one of the easiest and stupid wordpress tips but you have to know it simply is to place the title like this between the less than and greater than braces <hidden title>
In this case it would be like this with the H1 hidden, but think that not all wordpress templates are missing and only the subtitle remains that I have not hidden.
# 2 How to remove the header through code.
This way is the fastest but it will hide all the headlines of the blog, so if you just want to do it sometimes it is not the most appropriate.
Add this small code snippet to your custom css, if you have a better child theme, although in this case there is little in the template you can.