How do i Disable page title?

8 replies
  • WEB DESIGN
  • |
Hello
Tell me please, i dont want to display titles for my pages, how can i disable it? To be more clear, i have a contact page and the title for this page is "contact". when i try to delete the title, the menu page Disappeared.

tnx for the helpers
#disable #page #title
  • Profile picture of the author sekhar203
    If you are using wordpress...find id of the individual page..for say 165..

    1.
    add the following code to the body of your page post, When you add a new page, click the html view tab, and put this code at the top, update, and you're done. :

    #post-165 h2 {display: none;}

    2.
    Another option..add this to the HTML portion of the page post

    <style>
    .post-title
    {
    display: none !important;
    }
    </style>

    3.
    U can try this also...

    <style>
    .Post-Title {display:none;}
    </style>

    I think this will help you...
    Signature



    {{ DiscussionBoard.errors[7271610].message }}
  • Profile picture of the author torrao
    Originally Posted by levyb30 View Post

    Hello
    Tell me please, i dont want to display titles for my pages, how can i disable it? To be more clear, i have a contact page and the title for this page is "contact". when i try to delete the title, the menu page Disappeared.

    tnx for the helpers
    Just edit title tag in HTML. Remove or edit it.
    {{ DiscussionBoard.errors[7272918].message }}
  • {{ DiscussionBoard.errors[7273169].message }}
  • Profile picture of the author syedqurat
    1st you tell me the website is wordpress if yes go to pages edit contect page and edit html.
    {{ DiscussionBoard.errors[7273216].message }}
  • Profile picture of the author copilu0
    If you are using Wordpress and I think you are then:

    1) Open your page.php (with Notepad for example) and at the beginning write this code:
    Code:
    <?php
    /*
    Template Name: Contact
    */
    ?>
    Click Save As and save the file as mycontact.php.
    Now into mycontact.php search something like:
    Code:
    <h1 class="entry-title"><?php the_title(); ?></h1>
    and delete that line.
    Now upload the file on your server and then go to your WP dashboard, click edit for the Contact page and from the right side you need to select the Template.Choose the template named Contact and save the page.

    2) the second option is more easy
    Delete your page title and save the page.
    Copy the url which should still look like "http://yourwebsite.com/contact" and if you are using a custom Menu go to Menus and add a custom url with the copyed url and the name "Contact" so the Contact will still show up in your menu.

    Good luck!
    {{ DiscussionBoard.errors[7273891].message }}
  • Profile picture of the author jutipum
    The website is WordPress or html?
    {{ DiscussionBoard.errors[7283865].message }}
  • Profile picture of the author levyb30
    It is a wordpress site...
    Signature

    >Best guitar for beginners<
    http://www.bestguitarkit.com/

    {{ DiscussionBoard.errors[7286916].message }}

Trending Topics