• Resolved siwillmore

    (@siwillmore)


    Hi Twentig team

    Awesome plugin – I have now installed it on the fifth website I’m building! (This one is on the Twenty Twenty One theme.) I was wondering if it would be possible to duplicate the ‘Page Attribute’ template functionality seen on the pages (eg ‘Twentig – No title’ template) to the posts as well?

    I see in another thread you asked how this would work for metadata etc so I think the best way to deal with this would be to include zero metadata in the template and users can add it manually if necessary.

    I would like to recreate the look here:
    https://eye.tpoty.com/?p=833&preview=1&_ppp=41bc883762
    – I have achieved this with CSS but of course this removes the title on all pages, which is not ideal!

    Thank you very much
    SW

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Twentig

    (@twentig)

    Hi @siwillmore,

    Glad you like our plugin.
    We don’t plan on adding this feature as it can create some issues with our other options. You can achieve it without removing the title on all the pages by using the image post format (to differentiate these “no title” posts from the posts with title). Only on the posts where you want to remove the title, set their post format to Image. And add the following CSS in the Customizer:

    .single-format-image .entry-header {
    	display: none;
    }
    
    .single-format-image.tw-header-bg .entry-content > .alignfull:first-child {
    	margin-top: calc(var(--global--spacing-vertical) * -3);
    }
    
    .single-format-image .entry-content {
    	margin-top: 0;
    }

    I hope the above is useful to you.

    If you enjoy Twentig, please rate it. It would really help me out ??
    Tom

    Thread Starter siwillmore

    (@siwillmore)

    Ha thanks Tom – what a clever solution! I had not thought about using the different post formats as options – this opens up a world of possibilities.

    Thanks again for the great plugin and thanks also for the prompt reply – much appreciated.

    SW

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Copy ‘Page attribute’ / template functionality to posts’ is closed to new replies.