Remove page title and page location in non layers pages

Asked on May 19, 2016 in Customization.

Hello 🙂

This is my first post here, so please excuse me if I did something wrong 🙂

I want to remove the page title and the page location from every page:

I don’t want to use CSS because its processed by the browser and the title isn’t exactly removed, its “hidden”, its a bad practice to hide things…

I would prefer to remove the code which generates them.

Thanks in Advance.

Damon Harris Layers User

I just noticed that its in the “Features Request” section -.-‘

I wanted it into be the “How To” section, can a mod move it to the right section? 🙂

on May 20, 2016.

Nevermind, I edited it myself…

on May 20, 2016.
Reply
  • Possible Answers to Your Question:

  • 2 Answer(s)
    Answered on May 20, 2016.

    Hi Damon ,

    Its not a problem to use CSS,

    for thebread-crumbs you can use :

     .bread-crumbs {
     display: none;
     }
     

    For the Title :

    .title  {
     display: none;
     }
     

    You can i think delete the code from wordpress itself but i won’t recommend this
    as it is possible to break your install and other plugins that use these selectors.

    -Dieter

    Oh… I wanted to remove the code from the theme… But it still works I guess… I would welcome another answer with the code for breadcrumbs and title removed ^_^

    Anyways, thanks for the answer Dieter Jeanty! 😀

    on May 20, 2016.
    Reply
    Answered on May 20, 2016.

    Hi there,

    If you use display: none, the code is not output. If you uses visibility: hidden, it is rendered but just not shown.
    http://www.w3schools.com/css/css_display_visibility.asp

    If you want to remove it, you need a child theme that copies this page template in without the title function. That is actually a lot more work than just using CSS, which is the correct practice in this case.

    Ah, thanks for the explanation Vail but its still rendered by the browser… which I don’t like. But I understand that using CSS *is* the best option now.

    Thanks everyone! 😀

    on May 20, 2016.

    Thank you very much for this great post. Pharmaceutical Sales Representative

    on February 10, 2021.

    Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. 먹튀검증

    on February 11, 2021.

    You guardians do an astounding web diary, and have some unfathomable substance. Continue doing extraordinary. φιλοξενία ιστοσελίδας

    on February 15, 2021.

    pleasant post, stay aware of this fascinating work. It truly regards realize that this subject is being secured likewise on this site so cheers for setting aside time to talk about this! 꽁머니

    on February 17, 2021.

    Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. 먹튀사이트

    on February 20, 2021.

    Extremely pleasant article, I appreciated perusing your post, exceptionally decent share, I need to twit this to my adherents. Much appreciated!. Bigg Boss Kannada

    on February 24, 2021.

    definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog! Full circle health review

    on March 1, 2021.

    The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately. Gym Near Me

    on June 12, 2021.
    Reply