## plugins – get url from @import in inline style and enqueue

Question

In your function.php file you can add the following

add_action('wp_enqueue_scripts', 'bt_enqueue_fonts');
function bt_enqueue_fonts () {
}


If you want each page to have different enqueue you can wrap the function in a condition, like this.

add_action('wp_enqueue_scripts', 'bt_enqueue_fonts');
function bt_enqueue_fonts () {
if (is_front_page()) {

This will enqueue the fonts only for front page, you can add else if (...) for all your other pages as needed.