Removal Of Page Titles?

Home Forums Spacious Free Removal Of Page Titles?

This topic contains 5 replies, has 3 voices, and was last updated by  calebmbuxton 4 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2720

    calebmbuxton
    Participant

    Hello,

    Is there a way to remove the titles of the pages? For example when someone goes to my “About Us” can I remove the header that says “About Us”.

    The more I build my site out and parent pages I create it makes the site look messy when people are directed to a link that is deep within a parented line.

    Thanks,
    Caleb

    #2870

    gerard.jimenez0
    Participant

    Sorry to hijack your post but I also need to remove page titles from the pages body, specifically the shaded area below the header image.

    Thanks,

    #2872

    mfiver
    Participant

    It’s somewhat crude, and I can’t tell you if there are any unintended side-effects, but you can remove this chunk of code toward the end of headers.php:

    <div class="header-post-title-container clearfix">
        <div class="inner-wrap">
            <div class="post-title-wrapper">
                <?php 
                if( '' != spacious_header_title() ) {
                ?>
                <h1 class="header-post-title-class"><?php echo spacious_header_title(); ?></h1>
               <?php
                }
                ?>
            </div>
            <?php if( function_exists( 'spacious_breadcrumb' ) ) { spacious_breadcrumb(); } ?>
        </div>
    </div>

    Those page titles will disappear.

    #2874

    gerard.jimenez0
    Participant

    Thanks that did the trick…

    #2877

    mfiver
    Participant

    Actually, looking it over more carefully, you probably just want to take out the post-title-wrapper div portion. The spacious_breadcrumb is unrelated, so there’s no need to remove that.

    #2879

    calebmbuxton
    Participant

    When I deleted portions of that code I noticed it actually removed the background area as well. I looked into it and found that if I removed:
    <h1 class="header-post-title-class"><?php echo spacious_header_title(); ?></h1>

    That was able to get the title of the page removed while maintaining the integrity of the template.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.