Archived topic
Mobile Lightweight Social Icons
21 replies · Started by Heath on November 13, 2015
No worries, glad I could help :)
Hello Tom or colleague,
With me the code doesnt't work for this and the previous website. Did something change?
Hi there,
Yeah this post is quite old.
Can you start a new topic and link us to your site?
Thanks!
Hi Leo,
Ok will do, thanks:)
No problem :)
I know this is an old thread, but maybe Tom or Leo can help. I've had this child theme working for a couple years now with no issues. The child theme creates my social icons on the *mobile* menu bar using the php that Tom helped me with.
It still works. The problem is that I want to delete Google+. When I try to delete that one line from the php text (leaving the rest intact), then "update file"... It tries for a long time, then says that the file was reverted back to its previous state because the file could not be updated.
<?php
/**
* Generate child theme functions and definitions
*
* @package Generate
*/
add_action( 'generate_inside_mobile_menu_bar','generate_add_mobile_bar_items' );
function generate_add_mobile_bar_items()
{
?>
<a href="http://www.twitter.com/dadkingdom"><i class="fa fa-twitter"></i></a>
<a href="http://www.facebook.com/dadkingdom"><i class="fa fa-facebook"></i></a>
<a href="http://www.google.com/+dadkingdomplus"><i class="fa fa-google-plus"></i></a>
<a href="https://instagram.com/dadkingdom/"><i class="fa fa-instagram"></i></a>
<a href="http://dadkingdom.tumblr.com/"><i class="fa fa-tumblr"></i></a>
<?php
}
Any clue why this might be happening?
Thanks!
Hi there,
are you trying to make edit within the Theme Editor? If so try editing the file from the Site FTP or any file editor your server console provides.