<?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>Emma Weylin &#187; Editing Meta Widget In Wordpress</title>
	<atom:link href="http://emmaweylin.com/archives/tag/editing-meta-widget-in-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://emmaweylin.com</link>
	<description>Domestic Goddess, Creative Eccentric...Uniquely Me</description>
	<lastBuildDate>Sun, 01 Jan 2012 05:00:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Editing Meta Widget In WordPress</title>
		<link>http://emmaweylin.com/archives/307</link>
		<comments>http://emmaweylin.com/archives/307#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:11:49 +0000</pubDate>
		<dc:creator>Emma</dc:creator>
				<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[Editing Meta Widget In Wordpress]]></category>

		<guid isPermaLink="false">http://emmaweylin.com/?p=307</guid>
		<description><![CDATA[In your wp files go to wp_includes folder, and find the default-widgets.php files. You are going to want to find the meta widget function (line 300) and once you have found that, you can edit the Meta Widget as needed. I wanted to delete the wordpress link. This is what I did: function wp_widget_meta($args) { [...]]]></description>
			<content:encoded><![CDATA[<p>In your wp files go to wp_includes folder, and find the default-widgets.php files.  You are going to want to find the meta widget function (line 300) and once you have found that, you can edit the Meta Widget as needed.  I wanted to delete the wordpress link.  This is what I did:</p>
<p>function wp_widget_meta($args) {<br />
	extract($args);<br />
	$options = get_option(&#39;widget_meta&#39;);<br />
	$title = empty($options[&#39;title&#39;]) ? __(&#39;Meta&#39;) : apply_filters(&#39;widget_title&#39;, $options[&#39;title&#39;]);<br />
?&gt;<br />
		&lt;?php echo $before_widget; ?&gt;<br />
			&lt;?php echo $before_title . $title . $after_title; ?&gt;<br />
			&lt;ul&gt;<br />
			&lt;?php wp_register(); ?&gt;<br />
			&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;rss2_url&#39;); ?&gt;&quot; title=&quot;&lt;?php echo attribute_escape(__(&#39;Syndicate this site using RSS 2.0&#39;)); ?&gt;&quot;&gt;&lt;?php _e(&#39;Entries &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#39;); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;comments_rss2_url&#39;); ?&gt;&quot; title=&quot;&lt;?php echo attribute_escape(__(&#39;The latest comments to all posts in RSS&#39;)); ?&gt;&quot;&gt;&lt;?php _e(&#39;Comments &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#39;); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
	<strong>DELETE &#8212;&#8212;&#8211;&gt;</strong>	&lt;li&gt;&lt;a href=&quot;http://wordpress.org/&quot; title=&quot;&lt;?php echo attribute_escape(__(&#39;Powered by WordPress, state-of-the-art semantic personal publishing platform.&#39;)); ?&gt;&quot;&gt;WordPress.org&lt;/a&gt;&lt;/li&gt; <strong>&lt;&#8212;&#8212;&#8212;DELETE</strong><br />
			&lt;?php wp_meta(); ?&gt;<br />
			&lt;/ul&gt;<br />
		&lt;?php echo $after_widget; ?&gt;<br />
&lt;?php</p>
<h4>It will look like this instead</h4>
<p>function wp_widget_meta($args) {<br />
	extract($args);<br />
	$options = get_option(&#39;widget_meta&#39;);<br />
	$title = empty($options[&#39;title&#39;]) ? __(&#39;Meta&#39;) : apply_filters(&#39;widget_title&#39;, $options[&#39;title&#39;]);<br />
?&gt;<br />
		&lt;?php echo $before_widget; ?&gt;<br />
			&lt;?php echo $before_title . $title . $after_title; ?&gt;<br />
			&lt;ul&gt;<br />
			&lt;?php wp_register(); ?&gt;<br />
			&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;rss2_url&#39;); ?&gt;&quot; title=&quot;&lt;?php echo attribute_escape(__(&#39;Syndicate this site using RSS 2.0&#39;)); ?&gt;&quot;&gt;&lt;?php _e(&#39;Entries &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#39;); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;comments_rss2_url&#39;); ?&gt;&quot; title=&quot;&lt;?php echo attribute_escape(__(&#39;The latest comments to all posts in RSS&#39;)); ?&gt;&quot;&gt;&lt;?php _e(&#39;Comments &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#39;); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
			&lt;?php wp_meta(); ?&gt;<br />
			&lt;/ul&gt;<br />
		&lt;?php echo $after_widget; ?&gt;<br />
&lt;?php</p>
<p>Then I saved the file and the offending link was gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://emmaweylin.com/archives/307/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

