• 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

Removing page title from portfolio pages

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 › Design Tips and Tricks › Removing page title from portfolio pages

This topic is: resolved

Tagged: page titles, portfolio

  • This topic has 7 replies, 3 voices, and was last updated 9 years, 12 months ago by Harley130.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 17, 2015 at 11:11 am #156538
    jamesburden
    Member

    Hey everyone - hoping someone can help with this query.

    I'm building a site using Altitude Pro. I've got Genesis Title Toggle installed so that I don't have the default page titles present on the pages. However, if my page is a Portfolio page (e.g. http://bibleleagueca.wpengine.com/portfolio/adult-bible-based-literacy-in-india/) then the Title is still there. Is there a way to remove page titles for portfolio pages? Is it possible to edit the plugin to do that? Or on a page by page basis? How would I do that?

    Thanks so much for your assistance.

    James

    http://bibleleagueca.wpengine.com/portfolio/adult-bible-based-literacy-in-india/
    June 17, 2015 at 12:27 pm #156544
    Christoph
    Member

    Hi James,

    this should point you in the right direction:
    https://github.com/billerickson/Genesis-Title-Toggle/issues/4


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    June 17, 2015 at 12:51 pm #156548
    jamesburden
    Member

    Thanks Christoph - that definitely looks like it will solve the problem. Two quick follow up questions:

    1: Where do I put that code? Does it go into the plugin php file, or into functions.php? I'm not that familiar with php code so could do with a pointer on where it should be inserted.

    2: Is there a way to find out for sure what the slug is of my custom post type? I presume it's 'portfolio', but would be good if I could confirm that somehow.

    Thanks so much.

    June 17, 2015 at 12:59 pm #156552
    jamesburden
    Member

    BTW, I tried adding it to the plugin php file and it disabled the plugin as it had corrupted it. I also tried adding it to the functions.php file (which is where the github article seemed to imply it should go) and it results in the white screen of death. So I've rolled back to my backup, but just not sure where to place that code.

    June 17, 2015 at 1:07 pm #156554
    Christoph
    Member

    Hi James,

    the code goes into the function.php. You probably included the <?php when you pasted the code.

    This is all you should copy into the functions.php

    /**
     * Add Genesis Title Toggle to Events
     *
     * @link https://github.com/billerickson/Genesis-Title-Toggle/issues/4
     * @author Bill Erickson
     *
     * @param array $post_types
     * @return array
     */
    function be_title_toggle_on_events( $post_types ) {
      $post_types[] = 'events';
      return $post_types;
    }
    add_filter( 'be_title_toggle_post_types', 'be_title_toggle_on_events' );

    I would just try "portfolio".
    If it is not working, we'll have to dig a bit deeper into the code.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    June 17, 2015 at 1:21 pm #156557
    jamesburden
    Member

    Awesome! Thanks so much. Really appreciate your help. Works perfectly. Buying you a coffee right now. 🙂

    June 17, 2015 at 2:09 pm #156563
    Christoph
    Member

    You are welcome! 🙂
    Glad I could help.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    July 27, 2015 at 11:11 am #160599
    Harley130
    Member

    Thanks guys, this post was helpful to me to apply the solution to the portfolio posts to hide the title by just changing the slug

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Removing page title from portfolio pages’ 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

© 2025 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