Home › Forums › Front-end Issues › How to get the data outside the loop? › Reply To: How to get the data outside the loop?
That did the job! The format is just good it’s just some font names and thats it!
I made from the echo:
<?php foreach ($values as $value) {
echo '<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=' . $value .':100,300,400,500,700,900">';
}
?>
And every font load in so that is working nice now!
Big thank you John!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.