• Resolved cwrichardson

    (@cwrichardson)


    In partials/social-bar.php, the icons are output with
    if (!empty($options['youtube_uid'])) echo '<li><a title="'. esc_attr_x('Youtube', 'flat-responsive').'" href="' . esc_url($options['youtube_uid']) . '" target="_blank"><div id="youtube" class="icomoon icon-youtube"></div></a></li>';

    This results in the “title” attribute being echoed to output, and therefor displayed (e.g., in the above, the word Youtube is displayed in the menu before the icon).

    I believe the correct way to achieve the desired output is

    if (!empty($options['youtube_uid'])) echo '<li><a title="'. esc_attr(__('Youtube', 'flat-responsive')).'" href="' . esc_url($options['youtube_uid']) . '" target="_blank"><div id="youtube" class="icomoon icon-youtube"></div></a></li>';

    I’ve made that modification locally, but it would be nice if it got into the theme (or, alternatively, some other fix that prevents the words from displaying).

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug with social networking icons, name displays’ is closed to new replies.