Support » Fixing WordPress » Custom Header Issues

  • Resolved naijay

    (@naijay)


    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!

Viewing 15 replies - 1 through 15 (of 15 total)
  • IshaanRawat

    (@ishaanrawat)

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

    naijay

    (@naijay)

    @ishaanrawat This is the code

    <!– Slogan top –>
    <div class=”slogan_top”>

    <?php echo get_option(‘dcb_slogan’);?>

    </div>
    <!– /Slogan top —

    IshaanRawat

    (@ishaanrawat)

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

    naijay

    (@naijay)

    @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.

    naijay

    (@naijay)

    @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?

    IshaanRawat

    (@ishaanrawat)

    so delete get_option('dcb_sloga');

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

    This might resolve the problem

    IshaanRawat

    (@ishaanrawat)

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

    naijay

    (@naijay)

    @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?

    naijay

    (@naijay)

    @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>

    IshaanRawat

    (@ishaanrawat)

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

    naijay

    (@naijay)

    @ishaanrawat yes that worked! Thanks so much for your help! All the best, take care! 🙂

    IshaanRawat

    (@ishaanrawat)

    so just mark your topic resolved

    naijay

    (@naijay)

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

    IshaanRawat

    (@ishaanrawat)

    try it from the right sidebar option

    IshaanRawat

    (@ishaanrawat)

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Custom Header Issues’ is closed to new replies.