example code :
Code: Select all
 <?php
		if($Site->twitter()) {
			echo '<a class="list-group-item" href="'.$Site->twitter().'"<i class="fa fa-twitter fa-fw"</i>  Twitter</a>';
		}but if i did this way it appears
Code: Select all
if($Site->facebook()) {
			echo '<li><a href="'.$Site->facebook().'" class="fa fa-facebook"><span class="label">  Facebook</span></a></li>';
		}
although i wanna use it the first method , because it fit the need of style of a new theme i am creating , cold someone help ?



