• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove post title on specific custom type only

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Remove post title on specific custom type only

This topic is: resolved

Tagged: Custom post, remove post title

  • This topic has 1 reply, 1 voice, and was last updated 11 years ago by babrees.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 30, 2014 at 1:21 am #135644
    babrees
    Participant

    I have a custom post type and am using a custom template to display it.

    I am trying to remove the post title of this custom type from single page view only.

    So far, I have tested out the following in my functions.php

    function my_remove_post_title() {
    remove_post_type_support( 'dogs', 'title' );
    }
    add_action( 'init', 'my_remove_post_title' );

    However, that doesn't work, the title remains, plus I THINK that even if it did work it would remove the title from the categories and archives too, which I don't want. I only want it removed from the single page.

    For info, the custom post type is called dogs

    Can anybody help me with this?

    http://www.123club.co.uk/papillonnet/dogs/altaya-foreign-affair/
    December 30, 2014 at 1:28 am #135646
    babrees
    Participant

    Thanks to Brad - after much searching on Google finally came across the answer on his site! 😀

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Remove post title on specific custom type only’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble