Ack. Tried and can't see the error in the code. Can you help?
Here it is:
// Enqueue Google Fonts
add_action( 'wp_enqueue_scripts', 'pogo_google_fonts' );
function pogo_google_fonts() {
wp_enqueue_style('google-fonts','hidden link|Crimson+Pro:400,500&display=swap|Arimo:400,700&display=swap|Fira+Sans:600&display=swap|Lato:300,400,700&display=swap|Montserrat:400,700&display=swap|Palanquin:400,500,600&display=swap|Roboto:700&display=swap|Signika|Signika+Negative:600,700&display=swap||Spline+ Sans:700&display=swap|Raleway:700&display=swap'|array(), CHILD_THEME_VERSION );
}
hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
Looking into the code you shared, I understand that you'll need to replace the last pipe sign ( | ), with a comma ( , ):
// Enqueue Google Fonts
add_action( 'wp_enqueue_scripts', 'pogo_google_fonts' );
function pogo_google_fonts() {
wp_enqueue_style('google-fonts','<em><u>hidden link</u></em>|Crimson+Pro:400,500&display=swap|Arimo:400,700&display=swap|Fira+Sans:600&display=swap|Lato:300,400,700&display=swap|Montserrat:400,700&display=swap|Palanquin:400,500,600&display=swap|Roboto:700&display=swap|Signika|Signika+Negative:600,700&display=swap||Spline+ Sans:700&display=swap|Raleway:700&display=swap', array(), CHILD_THEME_VERSION );
}
This should fix the error.
regards,
Waqar
You rock, Waqar. Thank you so much.