Site logo

Archived topic

Remove Page title with hook

12 replies · Started by Eaydman on September 6, 2020

Viewing posts 1–13 of 13

Hi,
I want always to disable the Page title.
I know my customer is going to forget sometime to pres the "hide page title" icon some times.

Is it possible to remove the Page title with a hook somehow ?

Hi Leo,

No its not working for me, I need it hidden onther way, I have build a custom blogpost Hero with hooks.

i dont use that. Is it not possible to disable to titles otherwise ?

If the title is being added by the theme, then the method that Leo provided will work.
Can you share a link to a page where i can see the title ?

I dont use the layout element. Because it does not work with ACF backgorunds. I use the elemets hooks method, so there is not the possibility to disable title ?

Can i see a page where the Title is visible and that needs to be removed ?
I can then see how it is being displayed and advice.

Sure, have add it to the private

The Layout Element should work for that.
You still use your Hook Element for the Top post img DK and hero content.

You just need to create a new Layout Element, Disable the Title. And set the Display Rules to Posts > All Posts.

As a side note. You can use the Block Element to display ACF Fields and ACF Background images.
Happy to show you how if you want.

But I cant get the background image from the Advanced Custom Field, to work with the Layout Element. The custom backgroun image is really important

Aahh maybe I understand, just use an "empty" Layout element ?

This archived topic is closed to new replies.