Forums

Option to choose from logo or blogname? (3 posts)

  1. winterwisp
    Member
    Posted 1 year ago #

    Hi there,

    I'm developing a free wordpress theme but I would like users to be able to choose from using a logo or the blogname text. Does anyone know where I could find the code for this? I've seen it done in other templates before.

    Thanks so much!

  2. govpatel
    Member
    Posted 1 year ago #

    It is in header.php

  3. winterwisp
    Member
    Posted 1 year ago #

    Hi there,

    I know where it is. What I mean is I would like to find code similar to this:

    <?php if (get_option('uwc_logo_header')) { ?>
    <div id="title">
    "><img />" title="<?php bloginfo('name'); ?>" alt="<?php bloginfo('name'); ?>" />
    </div>
    <?php } else { ?>
    <div id="title">
    "><?php bloginfo('name'); ?>
    </div>
    <?php } ?>

    I would really appreciate it if someone could direct me to a tutorial or something that has the code for the header.php and the functions.php

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.