• Resolved johannes999

    (@johannes999)


    hello,
    I like to know which way is the best to use google fonts and why?
    1-paste the link in the head section of header.php
    2-impot it to css file ?
    3-enqueue it in function php?
    thanks
    johan

    • This topic was modified 5 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The “best practice” is to enqueue your fonts in functions.php (of your theme or in a child theme). This makes it easier for plugins/themes to manage things through hooks and for optimization plugins to combine/minify CSS.

    It really depends on your circumstances and coding abilities.

    Thread Starter johannes999

    (@johannes999)

    thanks
    johan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘which way is the best to implement google fonts in wordpress?’ is closed to new replies.