• Resolved lucy_jo

    (@lucy_jo)


    Hi,

    How can I add a footer menu for legal pages such as cookies/privacy policy?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I’m afraid that there is no way to add it through WP admin panel at the moment.

    It can be added by hard-coding; insert PHP/HTML code in footer.php file. You should need to do it via child theme. Thus, you should need to create a child theme first (if you don’t have it yet), then copy footer.php file from parent theme, then paste it into child theme.

    Open footer.php file of child theme. Then find the following line of code.

    echo '<div class="zerif-copyright-box"><a class="zerif-copyright" href="https://themeisle.com/themes/zerif-lite/"'.$attribut_new_tab.' rel="nofollow">Zerif Lite </a>'.__('powered by','zerif-lite').'<a class="zerif-copyright" href="https://www.ads-software.com/"'.$attribut_new_tab.' rel="nofollow"> WordPress</a></div>';

    Insert you menu right before the

    <div class="zerif-copyright-box">

    closing tag.

    Hi,

    can you help me how to add links like “terms and conditions”, “policies” in the front page footer?

    Thanks!

    Hi @sigr,

    Try to modify the footer.php file template in the child theme mode.

    Add the following code

    if(is_front_page()){?>
    
    <a href="https://yoursite.com/terms-and-conditions">Terms and conditions</a>
    
    <?php
    }

    right before this line

    echo '<div class="zerif-copyright-box"><a class="zerif-copyright" href="https://themeisle.com/themes/zerif-lite/"'.$attribut_new_tab.' rel="nofollow">Zerif Lite </a>'.__('powered by','zerif-lite').'<a class="zerif-copyright" href="https://www.ads-software.com/"'.$attribut_new_tab.' rel="nofollow"> WordPress</a></div>';

    I hope this reply helps.

    Best,
    Kharis

    Thread Starter lucy_jo

    (@lucy_jo)

    Thank you Kharis,

    I’d rather the ‘T&C’s’ ‘Policy’ ‘Cookies’ info be located right at the foot of the page below the contact (i.e. address, phone number etc). I’ve tried adding the above code to various places in the script but it’s just not going where I want it to.

    Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Footer pages’ is closed to new replies.