Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Hide titles on Pages but display on Posts

Home Forums Support Hide titles on Pages but display on Posts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #369260
    Killian

    I am using

    
    .entry-title {
    display: none; 
    }
    

    to hide titles, but I want to hide titles on Pages only, but display on all Posts. How can I do this?

    GeneratePress 1.4
    GP Premium 1.4.3
    #369282
    David
    Staff
    Customer Support

    You can remove Content Title on the page editor in the Disable Elements box.
    If you have a lot of pages already created there is some PHP on this forum to do so….. just cant find it at the moment.

    #369334
    Killian

    You can remove Content Title on the page editor in the Disable Elements box

    Perfect 🙂

    #469008
    Dick

    Sorry to jump in, but this option is only available for admins, not for editors. Since it is content (titles and more) i think the option ‘disable elements’ should be available to editors too.
    I can not find a straight forward approach to achieve this.
    Any suggestions?

    #469323
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this filter to change who has access to the metabox: https://docs.generatepress.com/article/generate_metabox_capability/

    If you need more help, please open a separate topic 🙂

    Thanks!

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