<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tomiryu.com &#187; Wordpress</title>
	<atom:link href="http://www-en.tomiryu.com/topics/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www-en.tomiryu.com</link>
	<description>If you always do what you have always done.</description>
	<lastBuildDate>Thu, 05 Jun 2014 12:45:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>How to paste iframe tags onto your posts</title>
		<link>https://www-en.tomiryu.com/wordpress/how-to-paste-iframe-tags-onto-your-posts/</link>
		<comments>https://www-en.tomiryu.com/wordpress/how-to-paste-iframe-tags-onto-your-posts/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 05:18:22 +0000</pubDate>
		<dc:creator>tomiryu</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">https://www-en.tomiryu.com/?p=61</guid>
		<description><![CDATA[Do you have experience of embedded tags in Google maps or calendar that disappear when you paste in WordPress? It&#8217;s caused by WordPress&#8217;s initial setting that removes iframe tags from your posts automatically. Here&#8217;s an explanation of how to paste &#8230; <a href="https://www-en.tomiryu.com/wordpress/how-to-paste-iframe-tags-onto-your-posts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you have experience of embedded tags in Google maps or calendar that disappear when you paste in WordPress?</p>
<p>It&#8217;s caused by WordPress&#8217;s initial setting that removes iframe tags from your posts automatically.</p>
<p><span id="more-61"></span></p>
<p>Here&#8217;s an explanation of how to paste iframe tags onto your posts.<br />
I tried this method in WordPress3.1.1.<br />
(CAUTION: This method is your own responsibility)</p>
<p>METHOD:<br />
Open the file<br />
<strong> wp-content/themes/&lt;your theme directory&gt;/functions.php</strong><br />
and add the below code at the end of the file.</p>
<pre>function extended_enable_elements($init) {
$init['extended_valid_elements']="iframe[src|width|height|name|align|style|scrolling|marginwidth|marginheight|frameborder]";
return $init;
}
add_filter('tiny_mce_before_init', 'extended_enable_elements');</pre>
<p>Actually it may not completely show the frame in the view of &#8220;Visual-Editor&#8221;, but enough is shown in the &#8220;Preview&#8221; window.</p>
<p>If anyone who can find a way to show IFRAME in the &#8220;Visual-Editor&#8221; of WordPress then comments would be helpful.<br />
<iframe src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=japan&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=41.818029,69.785156&amp;ie=UTF8&amp;hq=&amp;hnear=Japan&amp;ll=36.173357,138.251953&amp;spn=21.226665,26.367188&amp;z=4&amp;output=embed" width="300" height="300" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
<small><a style="color: #0000ff; text-align: left;" href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=japan&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=41.818029,69.785156&amp;ie=UTF8&amp;hq=&amp;hnear=Japan&amp;ll=36.173357,138.251953&amp;spn=21.226665,26.367188&amp;z=4">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>https://www-en.tomiryu.com/wordpress/how-to-paste-iframe-tags-onto-your-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
