<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Google Font API</title>
		<link>http://www.themolitor.com/forums/topic/google-font-api</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Google Font API</description>
		<language>en-US</language>
		<pubDate>Fri, 12 Jun 2026 13:09:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/google-font-api" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34574</link>
			<pubDate>Fri, 22 May 2015 12:17:26 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">34574@http://www.themolitor.com/forums/</guid>
			<description><p>Really appreciate that ;-)
</p></description>
		</item>
		<item>
			<title>klebinger on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34567</link>
			<pubDate>Fri, 22 May 2015 10:52:33 +0000</pubDate>
			<dc:creator>klebinger</dc:creator>
			<guid isPermaLink="false">34567@http://www.themolitor.com/forums/</guid>
			<description><p>Done. 5* :)
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34551</link>
			<pubDate>Fri, 22 May 2015 09:06:02 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">34551@http://www.themolitor.com/forums/</guid>
			<description><p>You bet! :-)</p>
<p>If you're enjoying the theme, PLEASE don't forget to rate it on your downloads page on ThemeForest. Positive ratings REALLY help me out and encourage further development and updates.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>klebinger on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34540</link>
			<pubDate>Thu, 21 May 2015 10:06:50 +0000</pubDate>
			<dc:creator>klebinger</dc:creator>
			<guid isPermaLink="false">34540@http://www.themolitor.com/forums/</guid>
			<description><p>Okay, stupid me</p>
<p>That did the trick:</p>
<pre><code>&#60;link href=&#039;http://fonts.googleapis.com/css?family=Lato&#039; rel=&#039;stylesheet&#039; type=&#039;text/css&#039;&#62;</code></pre></description>
		</item>
		<item>
			<title>THE MOLITOR on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34537</link>
			<pubDate>Thu, 21 May 2015 09:39:30 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">34537@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Did you update the API link to support the "Lato" font? We were working with Roboto, so if you didn't update the API it won't be able to pull a different font.</p>
<p>Just to clarify, you need a unique API link for each font you want to use.</p>
<p>Let me know.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>klebinger on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34535</link>
			<pubDate>Thu, 21 May 2015 09:26:38 +0000</pubDate>
			<dc:creator>klebinger</dc:creator>
			<guid isPermaLink="false">34535@http://www.themolitor.com/forums/</guid>
			<description><p>Hm, one step closer - firebug now says:</p>
<p>h1, h2, h3, h4, h5, h6 {<br />
  font-family: "Lato",sans-serif;<br />
}</p>
<p>but obviously the font is not used... (www.klebinger-musik.de)
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34532</link>
			<pubDate>Thu, 21 May 2015 09:13:16 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">34532@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>I see the issue. The 'link' tag used for the API is being removed due to new WordPress requirements for sanitation. Here's the fix:</p>
<p>Open functions.php and copy/paste the following to the very bottom of the page...</p>
<pre><code>////////////////////////////
//ALLOW LINK FOR SANTIZING
////////////////////////////
add_filter( &#039;wp_kses_allowed_html&#039;, &#039;esw_author_cap_filter&#039;,1,1 );

function esw_author_cap_filter( $allowedposttags ) {

	//Here put your conditions, depending your context
	if ( !current_user_can( &#039;publish_posts&#039; ) )
	return $allowedposttags;

	// Here add tags and attributes you want to allow
	$allowedposttags[&#039;link&#039;]=array(
		&#039;href&#039; =&#62; true,
		&#039;media&#039; =&#62; true,
		&#039;rel&#039; =&#62; true,
		&#039;type&#039; =&#62; true,
	);
	return $allowedposttags;
}</code></pre>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>klebinger on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34523</link>
			<pubDate>Thu, 21 May 2015 03:22:58 +0000</pubDate>
			<dc:creator>klebinger</dc:creator>
			<guid isPermaLink="false">34523@http://www.themolitor.com/forums/</guid>
			<description><p>Sorry, doesn't work.<br />
I used Roboto, "Roboto" and 'Roboto' in the Google Font Keyword field b(with and without "&#60;link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'&#62;" in the Google Font API field...<br />
but the CSS for the Body-Tag still is "font-family: sans-serif;" when you inspect it with firebug.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34508</link>
			<pubDate>Wed, 20 May 2015 13:07:20 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">34508@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>You do not need to enter the CSS you posted above. You just need to enter "Roboto" in the Google font keyword field below the API field. </p>
<p>Hope that helps!</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>klebinger on "Google Font API"</title>
			<link>http://www.themolitor.com/forums/topic/google-font-api#post-34499</link>
			<pubDate>Wed, 20 May 2015 10:52:11 +0000</pubDate>
			<dc:creator>klebinger</dc:creator>
			<guid isPermaLink="false">34499@http://www.themolitor.com/forums/</guid>
			<description><p>I put this under Google Font API:</p>
<pre><code>&#60;link href=&#039;http://fonts.googleapis.com/css?family=Roboto&#039; rel=&#039;stylesheet&#039; type=&#039;text/css&#039;&#62;</code></pre>
<p>And this under CSS: </p>
<pre><code>body { font-family: &#039;Roboto&#039;, serif; }</code></pre>
<p>But the page only shows "serif" after saving.<br />
When I come back to Customize the "&#60;link href...&#62;"-part is gone and the Google Font API input is empty again...
</p></description>
		</item>

	</channel>
</rss>
