• Resolved raltsimmons

    (@raltsimmons)


    Hi –

    In the footer.php file in my child theme, I’ve updated the “FOLLOW ME” box in <section id=”bsocials”> to have the name of another website.

    I’d like to hyperlink the box for $socialtext so that QWKDOG has a link. Any recommendations for that? Thanks!
    ************

    <?php
    $socialtext = get_theme_mod(‘rokophotolite_social_text’, __( ‘QWKDOG’, ‘rokophotolite’ ));
    $sociallabel = get_theme_mod(‘rokophotolite_social_label’, __( ‘QwkDog Design | QwkDog.com’, ‘rokophotolite’ ));
    if(!empty($sociallabel)) {
    echo ‘<p> ‘.$sociallabel.’ </p>’;
    }
    if(!empty($socialtext)) {
    echo ‘<p> >> <span class=”follow”> ‘.$socialtext.’ </span> << </p>’;
    }
    ?>

  • The topic ‘Add hyperlink to fotter section’ is closed to new replies.