How I can add a link to the slogan here?
<li class="sadguy"><?php echo esc_attr($top_bar_slogan); ?></li>
I have read other questions but I really didn't understand, can someone help me please?
I saw other answers that says I can use something like this:
<?php echo “<a href='http://www.example.com’>Click here</a>” ; ?>
But in my code it's variable not text "esc_attr($top_bar_slogan)" Should I use it like this or it's wrong?
<li class="sadguy"><?php echo “<a href='http://www.example.com’> esc_attr($top_bar_slogan)</a>; ?></li>