Missing Google Plus Icon?

Post Reply
riverty
Jr. Bludit
Posts: 1
Joined: Mon Mar 13, 2017 4:41 pm

I have my Google Plus URL entered under Social Network Links on the General Settings page, along with Twitter and Facebook URLs, but Google Plus Icon does not show. Any ideas why?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There is some code missing.

In the file sidebar.php is the following (in the directory /bl-themes/log/php):

Code: Select all

<!-- Footer -->
<section id="footer">
	<ul class="icons">
	<?php
		if($Site->twitter()) {
			echo '<li><a href="'.$Site->twitter().'" class="fa-twitter"><span class="label">Twitter</span></a></li>';
		}

		if($Site->facebook()) {
			echo '<li><a href="'.$Site->facebook().'" class="fa-facebook"><span class="label">Facebook</span></a></li>';
		}
		
		...
You can add the following condition:

Code: Select all

		if($Site->googlePlus()) {
			echo '<li><a href="'.$Site->googlePlus().'" class="fa-google"><span class="label">Google+</span></a></li>';
		}
I updated the file in the respository.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply