<?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>Corey Campbell &#187; Wordpress</title>
	<atom:link href="http://www.webmastercorey.com/category/tutorials/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmastercorey.com</link>
	<description>Portfolio of Corey Campbell</description>
	<lastBuildDate>Wed, 22 Sep 2010 02:57:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Replace HTML Tags with Images via CSS</title>
		<link>http://www.webmastercorey.com/2010/replace-html-tags-with-images-via-css/</link>
		<comments>http://www.webmastercorey.com/2010/replace-html-tags-with-images-via-css/#comments</comments>
		<pubDate>Tue, 04 May 2010 18:57:51 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.webmastercorey.com/?p=262</guid>
		<description><![CDATA[In this tutorial I will be demonstrating how to replace HTML Elements and Tags with images through CSS. Why is this applicable? Suppose you are using WordPress and you want to add your logo to a theme. By default WordPress adds something like the following code: &#60;div id=&#34;headerimg&#34;&#62; &#60;h1&#62;&#60;a href=&#34;/&#34;&#62;Your Blog Name&#60;/a&#62;&#60;/h1&#62; &#60;div class=&#34;description&#34;&#62;Description&#60;/div&#62; &#60;/div&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will be demonstrating how to replace HTML Elements and Tags with images through CSS.</p>
<p><strong>Why is this applicable?</strong><br />
Suppose you are using <a href="http://www.wordpress.org/">WordPress</a> and you want to add your logo to a theme. By default WordPress adds something like the following code:</p>
<pre>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;headerimg&quot;</span>&gt;</span>
<span class="sc2">&lt;<a href="http://december.com/html/4/element/h1.html"><span class="kw2">h1</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">&quot;/&quot;</span>&gt;</span>Your Blog Name<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/h1.html"><span class="kw2">h1</span></a>&gt;</span>
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">class</span><span class="sy0">=</span><span class="st0">&quot;description&quot;</span>&gt;</span>Description<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></div>
</div>
</pre>
<p>And instead of having <em>Your Blog Name</em> you want to have your logo. Well, you can do that all through CSS. This same technique is great for replacing plain text with images for menus.</p>
<p>First the CSS and then I&#8217;ll explain.</p>
<pre>
<div class="codesnip-container" >
<div class="css codesnip" style="font-family:monospace;"><span class="re0">#headerimg</span> h1 <span class="br0">&#123;</span>
<span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="st0">'images/logo.jpg'</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span> <span class="re3">0px</span> <span class="re3">0px</span><span class="sy0">;</span>
<span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span>
<span class="kw1">height</span><span class="sy0">:</span> <span class="re3">0px</span><span class="sy0">;</span>
<span class="kw1">padding-top</span><span class="sy0">:</span> <span class="re3">40px</span><span class="sy0">;</span>
<span class="kw1">overflow</span><span class="sy0">:</span> <span class="kw2">hidden</span><span class="sy0">;</span>
<span class="kw1">width</span><span class="sy0">:</span> <span class="re3">220px</span>
<span class="br0">&#125;</span></div>
</div>
</pre>
<p><strong>The Explanation</strong><br />
So in order to do this all through CSS we need to add a background image that is aligned to the top left or <strong>0px 0px</strong>.  We want this image to be displaying as a <strong>block</strong> so that we can mess with the height and width. The height we are setting to <strong>0px</strong> because we do not want to have the words <em>Your Blog Name</em> to be showing up on top of our logo. Instead we will use <strong>padding</strong> to change the height of the container to the size of our logo image. Make sure to make the <strong>overflow</strong> set to <strong>hidden</strong> so that the blog title does not show up underneath.</p>
<p><strong>Why not just add an image?</strong><br />
Images are great and all, but this way is helpful for search engines and browsers without CSS support. When CSS is disabled or not read the words <em>Your Blog Name</em> still appear in both search engines and CSS disabled browsers. You could use the <strong>alt</strong> tag to put the name of your title in, but when images are not displayed the typographical hierarchy is lost.</p>
<p>Well that it for this tutorial. I&#8217;ll hopefully be adding an addition to this later on for CSS menus that will include rollover states.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2010/replace-html-tags-with-images-via-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Comments are Here!</title>
		<link>http://www.webmastercorey.com/2008/facebook-comments-are-here/</link>
		<comments>http://www.webmastercorey.com/2008/facebook-comments-are-here/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 02:09:59 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blogs.mkcproductions.com/webmastercorey/2008/03/25/facebook-comments-are-here/</guid>
		<description><![CDATA[With all of the credit going to James Low, MKCblogs now have the option to import Facebook comments to your posts. Simply go to Options &#62; Facebook Comments &#62; and then enter your Facebook account information. Your note url will be found by navigating to the notes section of your facebook profile and copying the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webmastercorey.com/wp-content/uploads/2008/03/facebook-wordpress.jpg" /></p>
<p>With all of the credit going to James Low, MKCblogs now have the option to import Facebook comments to your posts. Simply go to <strong>Options &gt; Facebook Comments &gt; and then enter your Facebook account information</strong>. Your note url will be found by navigating to the notes section of your facebook profile and copying the url in the address bar. Your comments will by default import every hour from facebook. Next endeavor&#8230; Facebook albums.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2008/facebook-comments-are-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MKC and WordPress</title>
		<link>http://www.webmastercorey.com/2008/mkc-and-wordpress/</link>
		<comments>http://www.webmastercorey.com/2008/mkc-and-wordpress/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 19:33:37 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blogs.mkcproductions.com/webmastercorey/2008/03/25/mkc-and-wordpress/</guid>
		<description><![CDATA[MKC has gone through some major changes. The configuration of wordpress for the blogging section of mkc is finally starting to wrap up a bit. I&#8217;ve finally got the menu bar fully functional and, if you login, you&#8217;ll be able to see the top user navigation that will be available throughout the blogging section of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webmastercorey.com/wp-content/uploads/2008/03/wordpress-mkc.jpg" /></p>
<p>MKC has gone through some major changes. The configuration of wordpress for the blogging section of mkc is finally starting to wrap up a bit. I&#8217;ve finally got the menu bar fully functional and, if you login, you&#8217;ll be able to see the top user navigation that will be available throughout the blogging section of MKC. My next projects will include a design for the discussion section of MKC and updated navigation bar on the home page. Grant and I are discussing a new home page idea that will update users profile pictures throughout the site (including the homepage) that will be done in flash.</p>
<p>I&#8217;m still in search of a video script that will integrate with the mkc system a bit better. I&#8217;m still waiting for buddypress to come out, which will hopefully be a better social networking platform for mkc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2008/mkc-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The day has come&#8230;</title>
		<link>http://www.webmastercorey.com/2007/the-day-has-come/</link>
		<comments>http://www.webmastercorey.com/2007/the-day-has-come/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 17:46:31 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blogs.mkcproductions.com/webmastercorey/2007/10/04/the-day-has-come/</guid>
		<description><![CDATA[So it&#8217;s been a really really&#8230; really&#8230; long time. But after much work, I&#8217;ve solved a few glitches that WordPress has given me and now MKCblogs are back. Some of the features are still not working. I think the login redirect is broken right now. So you&#8217;ll have to go login at the discussion board [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been a really really&#8230; really&#8230; long time. But after much work, I&#8217;ve solved a few glitches that WordPress has given me and now MKCblogs are back. Some of the features are still not working. I think the login redirect is broken right now. So you&#8217;ll have to go login at the discussion board and then travel over to your blog to get it. Also the comments redirect is messed up. You can still post comments, but it takes you to a blank page after posting. I&#8217;m trying to fix these problems. This is the first time I&#8217;ve been able to get into my blogs though. Hopefully I can resolve those matters quickly.</p>
<p>I&#8217;ve also implemented an anti-spam system. Some, if not all of you, have been getting disney comments. You can now mass delete these and hopefully kiss these good bye forever.</p>
<p>Please tell me if you see any other glitches within the system. The theme is not yet finished but I can finally get back to designing it now that this huge issue has been resolved.</p>
<p>Thanks,<br />
Corey</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2007/the-day-has-come/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Faster!!! FASTER!!!!</title>
		<link>http://www.webmastercorey.com/2007/faster-faster/</link>
		<comments>http://www.webmastercorey.com/2007/faster-faster/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 23:09:51 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blogs.mkcproductions.com/webmastercorey/2007/06/25/faster-faster/</guid>
		<description><![CDATA[Yeah. So I&#8217;m again working on the mkc website. I&#8217;ve almost finished the above toolbar and hopefully will be adding new themes for everyone to select from. I bet everyone has noticed the super long time it takes for the blogs to download&#8230; I&#8217;m also trying to fix that. I&#8217;ve been chatting with Globat and [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah. So I&#8217;m again working on the mkc website. I&#8217;ve almost finished the above toolbar and hopefully will be adding new themes for everyone to select from.</p>
<p>I bet everyone has noticed the super long time it takes for the blogs to download&#8230; I&#8217;m also trying to fix that. I&#8217;ve been chatting with Globat and WordPress. Hopefully we&#8217;ll find a solution to this excruciatingly annoying problem.</p>
<p>I&#8217;m currently having my integrity tested. That battle is completely won already. I can&#8217;t believe some people&#8217;s want for money, it&#8217;s a bit extreme sometimes.</p>
<p>May I live happy, and you too, money or no&#8230;</p>
<p>~Corey</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2007/faster-faster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress MU Avatar Pack Subdomain Fix</title>
		<link>http://www.webmastercorey.com/2007/wordpress-mu-avatar-pack-subdomain-fix/</link>
		<comments>http://www.webmastercorey.com/2007/wordpress-mu-avatar-pack-subdomain-fix/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 23:00:58 +0000</pubDate>
		<dc:creator>Corey Campbell</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blogs.mkcproductions.com/webmastercorey/2007/04/15/wordpress-mu-avatar-pack-subdomain-fix/</guid>
		<description><![CDATA[I made a fix for Mohammed Suleiman&#8217;s WPMU Avatar Pack that fixes the subdomain problem while configuring the WordPress Add-on. Suleiman will add the bug-fix in his next update, but for anyone needing the fix right now it can be found in the following text file. Just replace the lines of code with the fix [...]]]></description>
			<content:encoded><![CDATA[<p>I made a fix for Mohammed Suleiman&#8217;s <a href="http://suleiman.hadithuna.com/wpmu-avatar-pack-release/" target="_blank">WPMU Avatar Pack</a> that fixes the subdomain problem while configuring the WordPress Add-on. Suleiman will add the bug-fix in his next update, but for anyone needing the fix right now it can be found in the following text file. Just replace the lines of code with the fix and configure it to your web site&#8217;s preferences.</p>
<p>Here&#8217;s the fix:<br />
<a href="http://blogs.mkcproductions.com/WPMU-Avatar-Pack-Release-Subdomain-Fix.txt">WordPress MU Avatar Pack Subdomain Fix.txt</a></p>
<p>Here&#8217;s Suleiman&#8217;s WPMU Avatar Pack:<br />
<a href="http://www.hadithuna.com/sitewide/wpmuavatars.zip">http://www.hadithuna.com/sitewide/wpmuavatars.zip </a></p>
<p>I hope it all comes in handy,</p>
<p>Corey</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastercorey.com/2007/wordpress-mu-avatar-pack-subdomain-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

