What to code to add links in the footer (wordpress)?


#1

Hello everyone,

since I am a newbie when it comes to coding with HTML & CSS I wanted to know how I can add more permalinks.

Above my (Designed by Nino. 2016) I want to add a privacy policy and a
disclaimer which by clicking guides you to a page. I would really
really appreciate it.

What do I need to code so I do not mess up my HTML (Appearance >> Editor >> Theme footer [footer.php]

What I got on www.lifeofnino.com :

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package Sydney
 */
?>
 </div>
 </div>
 </div><!-- #content -->

 <?php if ( is_active_sidebar( 'footer-1' ) ) : ?>
 <?php get_sidebar('footer'); ?>
 <?php endif; ?>

 <a class="go-top"><i class="fa fa-angle-up"></i></a>

 <footer id="colophon" class="site-footer" role="contentinfo">
 <div class="site-info container">
 <a href="<?php echo esc_url( __( 'http://www.lifeofnino.com', 'sydney' ) ); ?>"><?php printf( __( 'Designed by %s', 'sydney' ), 'Nino. 2016' ); ?></a>
 </div><!-- .site-info -->
 </footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>

#2

In the same div ?

If so type out your hyperlink normal HTML and put it the line after <div class="site-info container">

Be careful some themes don't allow you to edit the theme, so what would happen is after you click save the whole website will give you an error 500, if you already did an edit and didn't receive this error then I suppose you're good to go.

But REMEMBER editing the theme means when you do an update it will go back to how it was, meaning your edits won't be saved.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.