[Support request] Remove Page title with hook

Home Forums Support [Support request] Remove Page title with hook

Home Forums Support Remove Page title with hook

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1433165
    Eaydman

    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 ?

    #1433187
    Leo
    Staff
    Customer Support

    Hi there,

    Would a layout element work?
    https://docs.generatepress.com/article/layout-element-overview/#disable-element

    Let me know πŸ™‚

    #1943086
    Eaydman

    Hi Leo,

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

    #1943127
    David
    Staff
    Customer Support

    Hi there,

    if you used a Block Element – Page Hero then it includes the options to disable the Page Title:

    https://docs.generatepress.com/article/block-element-page-hero/

    #1943152
    Eaydman

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

    #1943192
    David
    Staff
    Customer Support

    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 ?

    #1943358
    Eaydman

    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 ?

    #1943458
    David
    Staff
    Customer Support

    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.

    #1944059
    Eaydman

    Sure, have add it to the private

    #1944198
    David
    Staff
    Customer Support

    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.

    #1944223
    Eaydman

    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

    #1944254
    Eaydman

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

    #1944256
    David
    Staff
    Customer Support

    Maybe its getting lost in Translation πŸ™‚
    This is a Layout Element:

    https://docs.generatepress.com/article/layout-element-overview/

    It has not content, it just provides you options to disable stuff πŸ™‚

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.