WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom Header Issues (16 posts)

  1. naijay
    Member
    Posted 2 years ago #

    Currently my header is showing "buy beauty style earrings and necklace" as a slogan. I want it to say the tag line that I entered in my settings. I tried to try and hunt down the template that has the current slogan so I could modify it, however it is nowhere to be found.
    when I go to the header template, it shows me ( div slogan= ) however "buy beauty style earrings and necklace" isn't written there.
    Would someone be able to assist me with this? My site is http://beefelle.com

    Thanks so much in advance!

  2. IshaanRawat
    Member
    Posted 2 years ago #

    what is written in the <div slogan????

  3. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat This is the code

    <!-- Slogan top -->
    <div class="slogan_top">

    <?php echo get_option('dcb_slogan');?>

    </div>
    <!-- /Slogan top --

  4. IshaanRawat
    Member
    Posted 2 years ago #

    so what you do is delete that <?php.....?> code and wrote your desired slogan without adding <p>...

  5. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat I tried that, but nothing comes up with "buy beauty style earrings and neckalce"

    I'm not sure what's been going on, it's been driving me crazy for over an hour now.

  6. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat thanks so much that worked!

    I have another quick question, My title keeps showing with the "/" symbol in front of it, how do I remove it?

  7. IshaanRawat
    Member
    Posted 2 years ago #

    so delete get_option('dcb_sloga');

    so the new code will be--->
    <?php echo "Your desired slogan"; ?>

    This might resolve the problem

  8. IshaanRawat
    Member
    Posted 2 years ago #

    search for title tag in header.php
    and then give me the code...

  9. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat yes it did thanks!

    I have another quick question, My title keeps showing with the "/" symbol in front of it, how do I remove it?

  10. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat

    <title>
    <?php
    if (is_home()) {
    echo bloginfo('name');
    } elseif (is_404()) {
    echo '404 Not Found'; echo " / "; bloginfo('name');
    } elseif (is_category()) {
    echo 'Category:'; wp_title(); echo " / "; bloginfo('name');
    } elseif (is_search()) {
    echo 'Search Results';
    } elseif ( is_day() || is_month() || is_year() ) {
    echo 'Archives:'; wp_title(); echo " / "; bloginfo('name');
    } else {
    echo wp_title(); echo " / "; bloginfo('name');
    }
    ?>
    </title>

  11. IshaanRawat
    Member
    Posted 2 years ago #

    so wherever there is written echo "/" just replace that with echo ">>(your desired symbol)"

  12. naijay
    Member
    Posted 2 years ago #

    @IshaanRawat yes that worked! Thanks so much for your help! All the best, take care! :)

  13. IshaanRawat
    Member
    Posted 2 years ago #

    so just mark your topic resolved

  14. naijay
    Member
    Posted 2 years ago #

    I thought I did, well I'll try it again.
    Thanks again, appreciate your help!

  15. IshaanRawat
    Member
    Posted 2 years ago #

    try it from the right sidebar option

  16. IshaanRawat
    Member
    Posted 2 years ago #

    In the right sidebar there is a option called this topic is:
    just mark it resolved

Topic Closed

This topic has been closed to new replies.

About this Topic