Copyright Link in footer.php
-
Hi, I need help with my footer.php.
1. I want to display the copyright year with the name of my company with a link to my external site. I have gotten pretty far but the link is pointing to the current site and returning a page not found error. I’m so close! I need a fresh pair of eyes on this. I’m using a Sela child
2. I’d like to increase the spacing between the social icons in the footer. The site is 9gallons.pub.
Thank you in advance
</div><!-- #content --> <?php get_sidebar( 'footer' ); ?> <footer id="colophon" class="site-footer"> <?php if ( has_nav_menu ( 'social' ) ) : ?> <?php wp_nav_menu( array( 'theme_location' => 'social', 'depth' => 1, 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', 'container_class' => 'social-links', ) ); ?> <?php endif; ?> <div class="site-info" role="contentinfo"> <?php $year = date('Y'); if ($year != 2017){ echo '? 2017 – '.$year.' <a href=“https://www.musely-wd.com/” target=“blank”>Musely</a>'; } else { echo '? 2017 <a href=“https://www.musely-wd.com/” target=“blank”>Musely</a>'; } ?> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Copyright Link in footer.php’ is closed to new replies.