• 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

add Titles to blog posts

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 › add Titles to blog posts

This topic is: not resolved
  • This topic has 15 replies, 3 voices, and was last updated 13 years, 1 month ago by rfmeier.
Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • June 3, 2013 at 2:00 pm #43914
    cway
    Member

    I'm using the Executive theme. Posts on the Blog page are missing titles. How do I add them?

    http://wp2.trentstudios.com/blog/

    Thanks!
    Cameron

    June 3, 2013 at 2:35 pm #43918
    rfmeier
    Member

    Cameron,

    Did the 'genesis_post_title' default callback get removed somewhere by chance?  Usually this would be done within the functions.php file or a Genesis targeted plugin.

    Let me know.


    Ryan Meier – Twitter

    June 3, 2013 at 2:38 pm #43919
    cway
    Member

    I found this in the functions.php file:

    //REMOVE POST TITLE
    remove_action('genesis_post_title', 'genesis_do_post_title');

    June 3, 2013 at 2:40 pm #43920
    rfmeier
    Member

    Cameron,

    That is preventing the post titles from displaying (most likely through out the entire site).  Commenting that out should make the post titles display again.

    Let me know the results.


    Ryan Meier – Twitter

    June 3, 2013 at 2:49 pm #43922
    cway
    Member

    That brought back the titles in the Portfolio, which is not what I want. Blog posts titles still don't show.

    The page called Blog is using the Blog template.

    Thanks for the quick help! I appreciate it!

    June 3, 2013 at 2:53 pm #43924
    rfmeier
    Member

    I see.  Does the theme have a page_blog.php template file?

    Try adding the following;

    add_action(‘genesis_post_title’, ‘genesis_do_post_title’);

    Removing the action within the functions.php file is removing the title globally for all posts/pages.


    Ryan Meier – Twitter

    June 3, 2013 at 2:59 pm #43925
    cway
    Member

    No, the theme does not have a page_blog.php file.

    I've got archive-portfolio.php
    functions.php
    home.php
    page_landing.php
    single-portfolio.php

    I added that coding, and added back remove_action('genesis_post_title', 'genesis_do_post_title'); but blog posts still do not have titles and posts in the portfolio do.

    June 3, 2013 at 3:42 pm #43928
    cway
    Member

    Got it. For some reason, the version of the functions.php file in Executive I downloaded a month ago was missing some information. I downloaded a fresh copy of executive, uploaded that functions.php file and all is good.

    Thanks for your help!

    June 17, 2013 at 10:31 pm #46487
    AngelaM
    Member

    I am experiencing this same problem. I downloaded Executive again but am not sure how to upload just the functions.php file.  I am guessing it's through FTP. I'm almost sure enough to just do it but would like to ask so I don't crash the site or otherwise mess things up.

    The new file size is 6,427 and the existing file size is 757, which seems strange. I'd upload to public_html/w-content/themes/genesis. Does that sound right?
    Thanks for helping this newbie!

    Angela

    June 18, 2013 at 7:20 am #46515
    rfmeier
    Member

    Angela,

    This should be uploaded to your child theme's folder. The Genesis functions.php is for the framework and should not be edited.

    You can always replace the default Genesis functions.php through ftp, then upload your child theme's functions.php file to your child theme folder.


    Ryan Meier – Twitter

    June 18, 2013 at 9:39 am #46537
    AngelaM
    Member

    Thanks Ryan. I replaced the Executive theme's functions.php, and it didn't change anything. My individual posts still don't have titles - here's one example. http://thebizfarmer.com/3easystepstoachievenything/ ‎ (the other posts look like they have titles because I added them into the post itself and made it a heading, but then it looks wrong on mobile as it shows titles on mobile devices.

    Also, on the blog page, the listing of posts does not contain titles either.

    What else could I look for?

    Thanks in advance!

    June 18, 2013 at 9:45 am #46538
    rfmeier
    Member

    Angela,

    Within Chrome tools. I found this within your style.css file;

    .entry-title {
        display: none;
    }

    Then, temporarily turning that rule off, gives this result;

    https://www.diigo.com/item/image/40chg/n93h

    This is turning off all post titles.

    I hope this helps.


    Ryan Meier – Twitter

    June 18, 2013 at 10:32 am #46549
    AngelaM
    Member

    Hi Ryan,

    That is exactly what I am going for. It's basic I'm sure but how exactly do I turn off that rule? I tried deleting the entire line, deleting just the display:none, just "none" and even tried display:block and I'm not getting any changes.

    Thanks -

    Angela

    June 18, 2013 at 10:41 am #46555
    rfmeier
    Member

    Angela,

    Removing 'display:none' should suffice.

    It looks like you style.css file is cached, so the changes are not showing up.


    Ryan Meier – Twitter

    June 18, 2013 at 10:51 am #46561
    AngelaM
    Member

    Got it. Awesome. Thank you so much!

     

    June 18, 2013 at 10:51 am #46563
    rfmeier
    Member

    You are welcome. I am glad I could help.


    Ryan Meier – Twitter

  • Author
    Posts
Viewing 16 posts - 1 through 16 (of 16 total)
  • The forum ‘General Discussion’ is closed to new topics and 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