• Resolved dieuit07

    (@dieuit07)


    After install plugin 1.0.5, and activate it.
    I add [wpfai_social icons=”linkedin,facebook,twitter,renren” shape=”square” inverse=”yes”] to my post.
    In client site I checking it generate html:

    <ul class="wpfai-list"><li class="wpfai-list-item linkedin">
          <a href="http://linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fdinoradio.com%2Four-dinner-in-new-york-on-april-27-is-sold-out%2F&title=OUR DINNER IN NEW YORK ON APRIL 27 IS SOLD OUT" title="Linked In" class="wpfai-linkedin wpfai-link">
            <span class="fa-stack ">
              <i class="fa fa-square fa-stack-2x"></i>
              <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
            </span>
          </a>
        </li><li class="wpfai-list-item facebook">
          <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fdinoradio.com%2Four-dinner-in-new-york-on-april-27-is-sold-out%2F&t=OUR DINNER IN NEW YORK ON APRIL 27 IS SOLD OUT" title="Facebook" class="wpfai-facebook wpfai-link">
            <span class="fa-stack ">
              <i class="fa fa-square fa-stack-2x"></i>
              <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
            </span>
          </a>
        </li><li class="wpfai-list-item twitter">
          <a href="http://twitter.com/home?status=OUR DINNER IN NEW YORK ON APRIL 27 IS SOLD OUT%20http%3A%2F%2Fdinoradio.com%2Four-dinner-in-new-york-on-april-27-is-sold-out%2F" title="Twitter" class="wpfai-twitter wpfai-link">
            <span class="fa-stack ">
              <i class="fa fa-square fa-stack-2x"></i>
              <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
            </span>
          </a>
        </li><li class="wpfai-list-item renren">
          <a href="http://share.renren.com/share/buttonshare?link=http%3A%2F%2Fdinoradio.com%2Four-dinner-in-new-york-on-april-27-is-sold-out%2F&title=OUR DINNER IN NEW YORK ON APRIL 27 IS SOLD OUT" title="Renren" class="wpfai-renren wpfai-link">
            <span class="fa-stack ">
              <i class="fa fa-square fa-stack-2x"></i>
              <i class="fa fa-renren fa-stack-1x fa-inverse"></i>
            </span>
          </a>
        </li></ul>

    But the icon not showing. Tag <i> not have css font-family: fontawesome. (no css for it).
    Inside folder wp-font-awesome-share-icons I see folder fontawesome.
    Could I missing some config or it is bug of new version.
    Thanks a lot 🙂

    https://wordpress.org/plugins/wp-font-awesome-share-icons/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dieuit07

    (@dieuit07)

    I see in code have filter:

    if (wpfai_check_css('font-awesome.css') == 0 && wpfai_check_css('font-awesome.min.css') == 0 && get_option('wpfai_loadfa') == 'yes')

    where could I setting for wpfai_loadfa ?

    Thread Starter dieuit07

    (@dieuit07)

    I think property of shortcode in post not work.
    loadfa, popup

    And maybe it stack with setting global. If not active it in settings in settings/font…
    It generate not correct

    Thanks for the great plugin. 🙂

    Plugin Author Nitroweb

    (@spyrosvl)

    Hi dieuit07,

    The plugin checks if font awesome is already loaded.
    If it is loaded by your theme or another plugin, it will not load it again. So, you will have to make sure that any plugin or theme loading font awesome has the latest version, hence all the required icons.

    If font awesome is not found, as you correctly spotted on the code above, the plugin will load it.

    I am glad you liked the plugin. 🙂

    Regards,
    Spyros

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin not load fontawesome’ is closed to new replies.