[Resolved] Duplicate title, featured image, and post meta

Home Forums Support [Resolved] Duplicate title, featured image, and post meta

Home Forums Support Duplicate title, featured image, and post meta

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #288025
    dmccan

    Hi,

    I’m using GP premium with Toolset. Toolset has the ability to create templates for custom post types, posts, etc which override the theme defaults. I’m getting duplicate titles, featured images, and post meta when I use the Toolset Content Templates (see screenshot). I know I can go into content-single.php and delete stuff in a version in my child theme, but I’m wondering if there is a better way? Maybe with a hook or filter? Or maybe a setting in the customizer?

    View post on imgur.com

    Thanks,

    David

    #288045
    Leo
    Staff
    Customer Support

    Hi David,

    Featured image and author/date can be turned off in the Customizer:
    https://docs.generatepress.com/article/adjusting-the-featured-images/
    https://docs.generatepress.com/article/blog-overview/#blog-content

    Try this CSS for the post title:

    .post .entry-title {
        display:none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this works.

    #288066
    Tom
    Lead Developer
    Lead Developer

    The title can also be turned off with a filter: https://docs.generatepress.com/article/generate_show_title/

    #288560
    dmccan

    I’ll give those suggestions a try. I saw you were considering adding the ability to adjust the single image size and placement like you can for the blog. That would be a nice feature and I wouldn’t need to use the Toolset content template. I was wondering why Toolset didn’t override those elements and I’m thinking maybe it is because the content is in an include file? Anyway, I think I can get where I need to for now. Thank you.

    #288617
    Tom
    Lead Developer
    Lead Developer

    Yes, more featured image options for the single post are coming to the Customizer soon ๐Ÿ™‚

    #726435
    Stina

    Hi Tom,
    It seems like you have developed GP to work with Toolset since this thread was written. There is a GP section in the bottom of the Toolset content template page, and I can mark Featured image and title to be disabled. It works fine with the title, but the image shows up despite all my attempts to hide it. I can manually mark the featured image to not display on each page, but I can’t get the content template to hide it. It seems that something is broken, or is it something I don’t get?

    #726697
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Where are you wanting to remove featured images? Everywhere?

    If so, you can disable them in Customize > Layout > Blog.

    Let me know ๐Ÿ™‚

    #726883
    Stina

    Hi,
    I just want to remove featured images on the content template I’m creating with Toolset. Because there is an Enable/Disable choice and it works with the title, but not with the image, something is not working as expected.

    At the bottom of Toolsets Edit Content Template page, there is the Theme Options and there is a long list of options for GeneratePress. Everything works what I can see, but not featured image.

    If I turn off the Featured image in the theme, it does not show up and it can’t be enabled in the content template. So apparently the themes settings in the content template don’t work. There is only the global alternative in the themes settings.

    Great theme anyway!
    Stina

    #727291
    Tom
    Lead Developer
    Lead Developer

    There should be a way to target it within that template to disable it. Any chance you can link me to a page/post created with that specific Toolset template?

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