WordPress.org

Support

Support » Themes and Templates » [Resolved] Insert image logo beside blog title

[Resolved] Insert image logo beside blog title

  • Adam Blythe
    Member

    @adsleeblythe

    Hi,

    Great theme! Would like to know how you can insert a image logo beside the blog title.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Adam Blythe
    Member

    @adsleeblythe

    OK, so I found a previous thread that has helped although this completely removes the blog title text and replaces it with my logo image.

    I would like my blog title text to be visible too beside my logo image.

    Thanks

    Adam Blythe
    Member

    @adsleeblythe

    OK figured it out…

    <?php if(is_home()) : ?>
                                            <h1 id="blog-title">
                                    <?php else : ?>
                                            <strong id="blog-title">
                                    <?php endif; ?>
    
                                    <a href="<?php echo home_url(); ?>" title="<?php echo str_replace('"', '\'', $blogTitle); ?>">
    
                                            <img src="http://www.adamleeblythe.co.uk/wp-content/themes/fluxipress-child/images/alb-logo.png" alt="<?php echo $blogTitle ?>" />
    
                                            <?php echo $blogTitle ?>       
    
                                    </a>
    
                                    <?php if(is_home()) : ?></h1>
                                    <?php else : ?></strong><?php endif; ?>

    Thanks for posting this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Insert image logo beside blog title’ is closed to new replies.