WordPress.org

Ready to get started?Download WordPress

Forums

How To Insert Logo into Blog Header (3 posts)

  1. vanessavolk
    Member
    Posted 11 months ago #

    Hi guys

    I would like to chante the title of my blog to a logo with link to "home". My site is this one
    http://receitinhasvegetarianas.com.br/
    and the header is like this

    <h1>
    " title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?>
    <?php if (get_option(PPTNAME . '_blogdesc_remove ') == "Yes") { ?>
    <span id="desc"><?php bloginfo('description'); ?></span>
    <?php } ?>
    </h1>

    the info I wolud like to maintain

    thanks very much

  2. Aditya Pandey
    Member
    Posted 11 months ago #

    Always post code in backticks otherwise forum parser will break the code. That is happened in your case.

    Please re-post code inside backticks.

  3. vanessavolk
    Member
    Posted 11 months ago #

    Thanks Aditya, let's see if now is correct

    <h1>
                        <a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a>
                        <?php if (get_option(PPTNAME . '_blogdesc_remove ') == "Yes") { ?>
                        <span id="desc"><?php bloginfo('description'); ?></span>
                            <?php } ?>
                    </h1>

Reply

You must log in to post.

About this Topic

Tags