G icon and link in the footer?
-
Hi wonderful WP coders!
I’d like to add a 4th social media icon to my footer, for Google+.
I’ve hacked into the spun footer php enough to get a link (href) to the page, but it’s not the optimal solution.
Here is my site: memesounds.com
In the “Customize” portion of my WP controls, I can easily add Facebook, Twitter and Tumblr links (I don’t know if this is because I have Jetpack installed and connected or if it’s default WP) and the pretty grey circles for each of those show up in the lower right of my footer.
What I’ve done is crudely added this to my footer.php :
<span class="screen-reader-text"><?php esc_html_e( 'Tumblr', 'spun' ); ?></span> </a> <a href="https://plus.google.com/+Memesounds" rel="publisher">G+</a> <?php endif; ?> <?php if ( $spun_googleplus ) : ?> <a href="<?php echo esc_url( $spun_googleplus ); ?>" class="googleplus-link" data-icon="<code></code>"> <span class="screen-reader-text"><?php esc_html_e( 'G+', 'spun' ); ?></span> </a> <?php endif; ?>
I was hoping I might be creating variables that could be controlled via “Customize” and maybe linked somewhere in “sharing” or “publishing” … I even thought I might have found the right data-icon for a Google+ logo
""
…but it’s probably more complicated than that and I need to add some more stuff to other .php files?
In any case, I now have the plain text G+ href anchor… and I’d like to make it a nice circle logo like the other three, if that is possible.
Thanks!
ps – couldn’t find this in any of the posts using the word “footer” in the title
- The topic ‘G icon and link in the footer?’ is closed to new replies.