[Resolved] Widget with font awesome not working on blogpost

Home Forums Support Widget with font awesome not working on blogpost

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #316338
    Pablo Querol

    Hi Tom!

    How’s everything going at Vancouver?

    Let me explain my issue:

    • I have a footer widget (the one on the right) with font awesome pointing to my social networks.
    • They show up fine in every static page, even at /blog.
    • However, when viewing any blogpost, they just disappear.
    • I’ve deactivated plugins specifically working at blogposts (social warfare, thrive leads, etc.) and even the cache plugin (wp rocket) but that doesn’t solve the issue.
    • Following your recommendations, I have the following snippet working on frontend:
      add_filter( 'generate_fontawesome_essentials', 'generate_fontawesome_essentials' );
      function generate_fontawesome_essentials()
      {
          return true;
      }
    • But I believe the previous point is pointless.

    So yeah, I’m lost.

    Any tip?

    I’d appreciate a lot.

    Thanks Tom!

    GeneratePress 1.3.46
    GP Premium 1.2.96
    #316364
    Tom
    Lead Developer
    Lead Developer

    Hi Pablo,

    Using that function (generate_fontawesome_essentials), will only load the absolute necessary icons for the theme to work (dropdown arrows, search icon etc..). It won’t load any of the social icons.

    I’m not sure why it’s working on the other pages (it shouldn’t). It’s possible you have a plugin loading the icons as well that isn’t loading them on single posts.

    Let me know 🙂

    #316627
    Pablo Querol

    Hi Tom!

    Thanks for your answer.

    I’ve deactivated the filter so now I can see the widget everywhere on my website.

    But, as you say, it’s strange I was able to see it when on a static page.

    Anyways, issue resolved, thanks!

    #316773
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.