• Resolved lmcfrp

    (@lmcfrp)


    I want to see if its possible to remove the blog name from the top of the first page. I have a graphic with my blog name which I am using as the graphic banner on the front page, so it looks silly to have the name AND the graphic name… (you can see it here: https://miamifrp.com/ )

    Is it possible to remove the name from the top?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Open header.php and find

    <h1 id="site-title"><span><a href="https://miamifrp.com/" title="Linda's Paralegal Resources" rel="home">Linda's Paralegal Resources</a></span></h1>

    and delete it. Or comment it out by pasting in

    <!--<h1 id="site-title"><span><a href="https://miamifrp.com/" title="Linda's Paralegal Resources" rel="home">Linda's Paralegal Resources</a></span></h1>-->

    If you want to remove the Blog name from the first page only then you need to use a php verification if the current page is home the code will be:

    <?php if(is_home()) : ?>
    <!-- display your graphic -->
    <?php else : ?>
    <h1 id="site-title"><span><a href="https://miamifrp.com/" title="Linda's Paralegal Resources" rel="home">Linda's Paralegal Resources</a></span></h1>
    <?php endif; ?>

    Try this ??
    Regards

    Hi Linda,

    There’s no need to edit any template files using the Weaver II theme you’re using: look in the theme options under “Header”, and check the box that says “Hide the site title/description”.

    Thread Starter lmcfrp

    (@lmcfrp)

    Thanks wbbum and jnhghy – giving it a try now.

    Thanks Amy – actually under Theme Options > Header > the only options it gives me is to remove the header IMAGE or re-set the image… no option to remove the site title/description/name etc… I checked there before I came here because I figured that would be the obvious solution but no go…

    So what are you exactly trying to obtain? you want to remove the blog name from the first page? or do you want to remove it all the pages of your site?

    My above code is removing the blogname only from the Home page and displaying it in the other pages if this is not what you want you can use the first code solution.
    Have a nice one!

    Thread Starter lmcfrp

    (@lmcfrp)

    From all pages…

    Thanks for your help jnhghy

    Thread Starter lmcfrp

    (@lmcfrp)

    Thanks wpbum – my code looked a little different but I was able to snip snip and get the right line out… thank you!

    Hi!

    You can remove the header text “Linda’s Paralegal Resources” by just removing following Code:

    <h1 id="logo-text"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    This code will be in header.php file of your theme.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Blog Name from Top of First Page?’ is closed to new replies.