This little snippet of code should do the trick for you. It utilizes the filter get_the_archive_title to strip the prepended text. I’ve not tested it myself.
Can hide the title using CSS. Try out this code snippet by adding it to you css file.
.page-header{
display:none;
}
If this fails, all you have to do is inspect the page using chrome developer tools.
learn how here
Look for the class name or page ID
Then in the code snippet I gave you replace “.page-header” with the class name or page id. This should do the job.
Or can simply follow this step by step guide to make things a lot easier:
Hide Page Title or Post Title on a Case by Case Basis
Can hide the title using CSS. Try out this code snippet by adding it to you css file.
.page-header{
display:none;
}
If this fails, all you have to do is inspect the page using chrome developer tools.
learn how here
Look for the class name or page ID
Then in the code snippet I gave you replace “.page-header” with the class name or page id. This should do the job.
Or you can simply follow this step by step guide to make things a lot easier:
Hide Page Title or Post Title on a Case by Case Basis
UAMV your suggestion worked!! Thank you.
Lawrence David I had tried the hide page header code before but it did not work for me.