• I added a custom field to some pages in my site that I do not want the title to be displayed…

    “hide_title” with a value of “true”

    However this is not working… can anyone chime in as to what I am doing incorrectly. Thanks for any input.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Impossible to say without being able to see the code you are using. Paste the code in the pastebin and post a link to it here.

    Thread Starter jderosa3

    (@jderosa3)

    do you mean my page.php code?

    I have also found other “solutions” but they dont work. Do any other these seem to make anyt sense to you:

    https://blog.actsmedia.com/2009/08/wordpress-carrington-theme-page-title-hide/

    https://www.ads-software.com/support/topic/hide-single-page-title-using-css-display-none-help?replies=9

    Both of these seem to make logical sense… but neither work. Any other thoughts?

    do you mean my page.php code?

    I mean the template file that is displaying the screen with the posts that have the custom field. (There may be more than one file, but start with one.)

    The article about the Carrington theme is what you want, but the page.php file may not be the one that you need to change. That file is the one that displays a single page, so the change for most themes will only affect the screen which shows only one page at a time.

    Can you post a link to the screen that shows what you want to change?

    Thread Starter jderosa3

    (@jderosa3)

    I actually talked with the person who designed my theme. I was told to do the following:

    div.post-113 h2.entry-title { display: none; }

    where 113 is the ID of the post in question. Obviously the H2 tag is from the CSS – none the less. I think I have learned that if you are going to hide titles… they need to be called correctly with code that matches your theme.

    Thanks for the tips, but the case is closed on this.

    I too would like to get my custom field to work. This way I won’t have to keep making special CSS styles for pages I wish to hide the title on.

    In Custom Fields section of my Home page screen I’ve placed “hide_title” (with and without quotes) in Name, and “true” (with and without quotes in Value. Still, nothing happens. Am I supposed to place some sort of function tag or something in one of the php pages? Obviously, I’ve very new to WP and I could use some hand-holding right now.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘hide_title custom field not working?’ is closed to new replies.