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!