<?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>MHough &#187; Wordpress</title>
	<atom:link href="http://mhough.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://mhough.com</link>
	<description>You know yo ass is doomed</description>
	<lastBuildDate>Sun, 28 Feb 2010 19:25:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-beta-2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Image Rotator WordPress plugin released!</title>
		<link>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released</link>
		<comments>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released#comments</comments>
		<pubDate>Thu, 21 Aug 2008 22:29:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released/</guid>
		<description><![CDATA[I’m proud to release my newest plugin for Wordpress titled “Image Rotator Pro”. What does it do? It adds images to your blog that will rotate based on 7 different time options.
 Features are as follows:

Rotates the images based on 7 different time variables
You can upload and delete directly from the admin options page
You can [...]]]></description>
			<content:encoded><![CDATA[<p>I’m proud to release my newest plugin for Wordpress titled “Image Rotator Pro”. What does it do? It adds images to your blog that will rotate based on 7 different time options.</p>
<p> Features are as follows:</p>
<ul>
<li>Rotates the images based on 7 different time variables</li>
<li>You can upload and delete directly from the admin options page</li>
<li>You can link the images to any URL you specify</li>
<li>No limit to the number of pictures</li>
<li>You can style the CSS directly from the admin options pages</li>
<li>A total of 5 sections, which can be turned on and off, give you the flexibility to add multiple rotating sections. Each section will rotate according to it’s own schedule</li>
<li>File types supported: .gif, .jpg, .png, .tiff, .tif, .jpeg, .raw, .bmp, .ppm, .pgm, .pbm, .pnm, .cgm, .svg, .psd, .psp, .ai, .drw, .dxf, .eps, .indd, .mng, .pct, .pdf, .ps, .svg, .flv</li>
</ul>
<p>You can go download it here: <a href="http://wpimagerotator.com/image-rotator-plugin/">WPImageRotator.com</a></p>
<p>
And here&#8217;s a video tutorial of how to install it and what it can do&#8230;<br />
<embed id="VideoPlayback" style="width:449px;height:366px" allowFullScreen="true" src="http://video.google.com/googleplayer.swf?docid=5038055594981621603&#038;hl=en&#038;fs=true" type="application/x-shockwave-flash"> </embed></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Header Image Rotator version 2.0 released!</title>
		<link>http://mhough.com/wordpress/2008/header-image-rotator-version-2</link>
		<comments>http://mhough.com/wordpress/2008/header-image-rotator-version-2#comments</comments>
		<pubDate>Sun, 13 Jul 2008 06:57:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/web-design/2008/header-image-rotator-version-2/</guid>
		<description><![CDATA[NOTICE: The location of this plugin has been moved to www.WPImageRotator.com, a new site dedicated totally for the plugin! Please go there to get the plugin.
&#160;

&#160;&#160;&#160;&#160;&#160;After a long time, I finally have gotten off my lazy behind and updated my original Header Image Rotator plugin for Wordpress. I included a bunch of user submitted suggestions, [...]]]></description>
			<content:encoded><![CDATA[<p><strong><font color="red">NOTICE:</font> The location of this plugin has been moved to <a href="http://wpimagerotator.com/">www.WPImageRotator.com</a>, a new site dedicated totally for the plugin! Please go there to get the plugin.
<p>&nbsp;</p>
<p></strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After a long time, I finally have gotten off my lazy behind and updated my original Header Image Rotator plugin for Wordpress. I included a bunch of user submitted suggestions, optimized the code, and hopefully have created a more enjoyable and intuitive end-user experience. I listed some of the changes below. Enjoy!</p>
<ul>
<li>Certified to work with WP 2.5</li>
<li>Streamlined the install process</li>
<li>Cleaned up the options panel interface and made it easier to understand</li>
<li>Cleaned up and organized error and exception handling</li>
<li>Users now have the ability to change the CSS header tag directly from the plugin option page instead of having to manually edit the php file</li>
<li>Users now also have the ability to manage and change the CSS image styling directly from the plugin option page so you can get the image to play nice with your theme</li>
<li>Hyperlinking to your blog URL was added. Further, hyperlinking can be turned on and off from the options panel for more flexibility</li>
<li>You can specify to use either the Google AJAX API to serve the jQuery javascript libraries or you can use a local version provided with the plugin. With this choice, you can select which method is better depending on your performance or bandwidth concerns</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/wordpress/2008/header-image-rotator-version-2/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Wordpress plugin: Header Image Rotator</title>
		<link>http://mhough.com/wordpress/2008/header-image-rotator-plugin</link>
		<comments>http://mhough.com/wordpress/2008/header-image-rotator-plugin#comments</comments>
		<pubDate>Sun, 13 Jul 2008 06:50:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/wordpress/2008/header-image-rotator-plugin/</guid>
		<description><![CDATA[NOTICE: The location of this plugin has been moved to www.WPImageRotator.com, a new site dedicated totally for the plugin! Please go there to get the plugin.
&#160;

&#160;&#160;&#160;&#160;&#160;I recently finished my first Wordpress plugin titled the &#8220;Header Image Rotator&#8221;. What does it do? Well, like the title says, it rotates your blog header images. Why is this [...]]]></description>
			<content:encoded><![CDATA[<p><strong><font color="red">NOTICE:</font> The location of this plugin has been moved to <a href="http://wpimagerotator.com/">www.WPImageRotator.com</a>, a new site dedicated totally for the plugin! Please go there to get the plugin.
<p>&nbsp;</p>
<p></strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I recently finished my first Wordpress plugin titled the &#8220;Header Image Rotator&#8221;. What does it do? Well, like the title says, it rotates your blog header images. Why is this one different you may ask? Well, after being disappointed by the limited functionality of other header image plugins, I decided to create my own plugin.</p>
<p><strong>Features:</strong></p>
<ul>
<li>Add as many images as you like.</li>
<li>Will take any kind of image file (jpg, gif, etc).</li>
<li>The interval at which the images are rotated can be controlled.</li>
<li>Different rotation intervals are minute, half hour, hour, daily, and weekly.</li>
<li>You can preview your images and delete them from the option panel.</li>
<li>Certified and tested in Wordpress 2.5.</li>
<li>Works with PHP 4 and PHP 5.</li>
<li>Streamlined the install process</li>
<li>Cleaned up the options panel interface and made it easier to understand</li>
<li>Cleaned up and organized error and exception handling</li>
<li>Users now have the ability to change the CSS header tag directly from the plugin option page instead of having to manually edit the php file</li>
<li>Users now also have the ability to manage and change the CSS image styling directly from the plugin option page so you can get the image to play nice with your theme</li>
<li>Hyperlinking to your blog URL was added. Further, hyperlinking can be turned on and off from the options panel for more flexibility</li>
<li>You can specify to use either the Google AJAX API to serve the jQuery javascript libraries or you can use a local version provided with the plugin. With this choice, you can select which method is better depending on your performance or bandwidth concerns</li>
</ul>
<p><strong>Installation:</strong><br />
Installation is simple and easy. Here are the steps:</p>
<ol>
<li>Download the zip file and unzip it into your /wp-content/plugins/ directory.</li>
<li>Create a directory in your /wp-content/ folder named &#8220;header-images&#8221;.</li>
<li>Add some images into the &#8220;header-images&#8221; folder.</li>
<li>Activate the plugin from the admin panel.</li>
<li>Go to &#8216;Options&#8217; in the admin panel, and then &#8216;Header Image Rotator&#8217; to configure.</li>
<li>Enjoy!</li>
</ol>
<p><strong>Version History</strong><br />
<em>Version 1.0 &#8211; 1/18/07</em><br />
&nbsp;&nbsp;&nbsp;&nbsp;Plugin released and made compatible with PHP 4.<br />
<em>Version 1.1 &#8211; 3/7/07</em><br />
&nbsp;&nbsp;&nbsp;&nbsp;Fixes function names that were interfering with other Wordpress Plugins.<br />
<em>Version 2.0 &#8211; 7-13-2008</em><br />
&nbsp;&nbsp;&nbsp;&nbsp;Too many updates to list. Hence, the new version number!<br />
</font></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/wordpress/2008/header-image-rotator-plugin/feed</wfw:commentRss>
		<slash:comments>116</slash:comments>
		</item>
		<item>
		<title>Header Image Rotator Tutorial: How to customize the plugin to work with your theme</title>
		<link>http://mhough.com/wordpress/2007/header-image-rotator-tutorial-how-to-customize-the-plugin-to-work-with-your-theme</link>
		<comments>http://mhough.com/wordpress/2007/header-image-rotator-tutorial-how-to-customize-the-plugin-to-work-with-your-theme#comments</comments>
		<pubDate>Fri, 08 Jun 2007 17:24:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/wordpress/2007/header-image-rotator-tutorial-how-to-customize-the-plugin-to-work-with-your-theme/</guid>
		<description><![CDATA[NEW VERSION RELEASED!!! VERSION 2.0 NOW OUT.
Go out and grab this new version, it should fix most to all of these problems. Thanks!
Link to Header Image Rotator version 2.0 here
After receiving a bunch emails about how to modify the Header Image Rotator plugin to work with Wordpress themes, I decided to write this brief tutorial. [...]]]></description>
			<content:encoded><![CDATA[<p><strong><font color="red">NEW VERSION RELEASED!!! VERSION 2.0 NOW OUT.</font></strong><br />
<strong>Go out and grab this new version, it should fix most to all of these problems. Thanks!</strong><br />
<a href="http://mhough.com/wordpress/2008/header-image-rotator-plugin/">Link to Header Image Rotator version 2.0 here</a></p>
<p><span style="text-decoration: line-through">After receiving a bunch emails about how to modify the Header Image Rotator plugin to work with Wordpress themes, I decided to write this brief tutorial. </span></p>
<p><span style="text-decoration: line-through">Problem description:&#8221;The plugin does not work with my Wordpress theme even though I have everything else set up correctly and am receiving green check marks in the plugin admin panel. I can only see the default image that comes with my theme.&#8221;</span></p>
<p><span style="text-decoration: line-through"><strong>What is happening:</strong> The plugin uses a Javascript function to insert CSS information into the head of your blog. At the time of this writing there are well over 1,000 custom WP themes, and each theme has a unique CSS style structure. In my plugin, I tried to use the most common CSS ID for the header image as it would have been impossible to cover them all. The Header Image Rotator plugin uses the CSS ID <code>#header</code>. However, if your theme uses a different CSS ID for the header styling such as <code>#header-image</code>, the plugin will not work. This tutorial will show you how to remedy this issue.</span></p>
<p><span id="more-162"></span></p>
<p><span style="text-decoration: line-through"><strong><font color="blue">Step One:</font> Verify the plugin is working correctly.</strong> In the plugin admin panel, you should be seeing all green check marks. The plugin performs a self-test when initializing to make sure all of your settings are correct.</span></p>
<p><span style="text-decoration: line-through"><strong><font color="blue">Step Two:</font> Verify that the Javascript function is inserting CSS code into the head of your blog.</strong> After the plugin is activated and configured correctly, browse to your blog&#8217;s home page. Once the page has loaded, view the source code (this will be done differently depending on your web browser&#8230;if you&#8217;re having trouble think Google). In your source code start searching through the head of the HTML document. Specifically, we&#8217;re looking for code that resembles the following:</span></p>
<p><code>&lt;script type="text/javascript" language="javascript"&gt;<br />
	var img = new Image();<br />
	img.src = 'http://mhough.com/wp-content/header-images/5.jpg';<br />
	&lt;/script&gt;<br />
	&lt;style type="text/css"&gt;<br />
	#header {<br />
    background: url('http://mhough.com/wp-content/header-images/5.jpg') no-repeat;<br />
    background-position: top left;<br />
	}<br />
	</style>
<p></code></p>
<p><span style="text-decoration: line-through">This is the CSS code that is inserted by the Javascript function. If you can find this then the plugin is working correctly and we can move on to modifying the CSS ID. If you can&#8217;t find this, start over at step one.</span></p>
<p><span style="text-decoration: line-through"><strong><font color="blue">Step Three:</font> Find out what CSS ID your blog is using.</strong> As the saying goes: there are many ways to skin a cat. And as such, there are many ways to find out this information. In this tutorial and for the sake of brevity, I will post two of these ways. The first way is to browse to your blog home page and inspect your header image for it&#8217;s properties. You can right-click on it if it&#8217;s a picture and inspect the element properties. We want to find out what the name of the image is so we will be able to browse the theme&#8217;s CSS ID and find what CSS ID is placing the picture in the header. We can do this by logging into your admin section of your WP blog, then browsing to the &#8216;Presentation&#8217; tab then the &#8216;Theme Editor&#8217; tab. Then go into your Stylesheet and search for where that image is coming from (I&#8217;m not going to go into CSS basics here). Usually the header images are in CSS ID tags such as #header, #header-id, #header-image, etc. When you find where the pic is coming from, write down the CSS ID tag. The second way to get this info is, in my opinion, easier and more accurate. If you use Firefox, download and install the Firebug plugin. Then, using the plugin, inspect the CSS and find out which CSS ID is displaying the picture or image. </span></p>
<p><span style="text-decoration: line-through"><strong><font color="blue">Step Four:</font> Modify the header-image-rotator.php file. </strong>Here we will replace the CSS ID in the script with the CSS ID of your theme. Open the php file in the editor of your choice. We will be editing the hir_add_css() function. Where it says <code>#$headerID</code>, change that to reflect the CSS ID from your theme. Example: <code>#$headerID</code> would become <code>#header-image</code> if your theme was using the #header-image CSS ID to display the image. Save the file.</span></p>
<p><span style="text-decoration: line-through"><strong><font color="blue">Step Five:</font> Update the plugin.</strong> First, deactivate the plugin from the plugin admin panel within the Wordpress admin page. Then delete the existing header-image-rotator.php file residing on your server. Upload your modified php file and reactivate the plugin. You may get an error in the plugin initialization check in regards to your CSS ID. Disregard this error. Test and it should now be working.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/wordpress/2007/header-image-rotator-tutorial-how-to-customize-the-plugin-to-work-with-your-theme/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Welcome to MHough 2.0</title>
		<link>http://mhough.com/events/2007/welcome-to-mhough-20</link>
		<comments>http://mhough.com/events/2007/welcome-to-mhough-20#comments</comments>
		<pubDate>Sat, 03 Feb 2007 07:39:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/events/2007/welcome-to-mhough-20/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;If you noticed the site down today it was due to a major upgrade I was performing. I upgraded to the new version of Wordpress, Ella 2.1. It was a pretty major task since I extensively hacked and gutted my original Wordpress installation and theme. I also reconfigured and upgraded my plugins. To help me [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you noticed the site down today it was due to a major upgrade I was performing. I upgraded to the new version of Wordpress, Ella 2.1. It was a pretty major task since I extensively hacked and gutted my original Wordpress installation and theme. I also reconfigured and upgraded my plugins. To help me setup a test environment I loaded <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> onto my local computer and began migration process documentation (this is a complicated way of saying I was figuring out the best way to do the migration without messing everything up). If anyone is about to undertake this process, or any major software upgrade for that matter, I can&#8217;t stress how important it is to setup test environments. I saved myself a ton of headaches and problems by ironing out the bugs on my local machine before I went into production.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Among some other small styling differences you may notice, the biggest changes are the removal of the &#8216;Where to eat in San Diego&#8217; and &#8216;What to do in San Diego&#8217; pages. I just wasn&#8217;t all that inspired to maintain those anymore. However, I also added some new features including a sitemap page for easier navigation, some &#8216;On this day&#8217; links which display events that happened on the current date, and a YouTube page (under construction).<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;So I hope you enjoy the site. I still have a lot to do as far as nailing down the small styling details so please pardon the dust!</p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/events/2007/welcome-to-mhough-20/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TubePress: A YouTube plugin for Wordpress</title>
		<link>http://mhough.com/wordpress/2006/tubepress-a-youtube-plugin-for-wordpress</link>
		<comments>http://mhough.com/wordpress/2006/tubepress-a-youtube-plugin-for-wordpress#comments</comments>
		<pubDate>Thu, 12 Oct 2006 05:52:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://freestd.net/~matt/mhough/?p=58</guid>
		<description><![CDATA[Check out my little brother&#8217;s new plugin for Wordpress. It&#8217;s called TubePress and basically allows you to share your favorite YouTube videos. Here&#8217;s a working version and here&#8217;s the link to download it.
]]></description>
			<content:encoded><![CDATA[<p><img width="128" height="41" style="margin: 0px 8px 5px 0px; float: left" id="image92" alt="tubepressthumbnail.jpg" class="noborder" src="http://mhough.com/wp-content/uploads/2006/10/tubepressthumbnail.jpg" />Check out my <a title="EHough" href="http://ehough.com">little brother&#8217;s</a> new plugin for Wordpress. It&#8217;s called TubePress and basically allows you to share your favorite YouTube videos. Here&#8217;s a <a target="_blank" title="EHough Tubepress" href="http://ehough.com/youtube">working version</a> and here&#8217;s the link to <a title="EHough TubePress" target="_blank" href="http://ehough.com/youtube/tubepress">download</a> it.</p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/wordpress/2006/tubepress-a-youtube-plugin-for-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Removing EditorMonkey from Wordpress</title>
		<link>http://mhough.com/wordpress/2006/tutorial-removing-editormonkey-from-wordpress</link>
		<comments>http://mhough.com/wordpress/2006/tutorial-removing-editormonkey-from-wordpress#comments</comments>
		<pubDate>Tue, 10 Oct 2006 04:26:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://freestd.net/~matt/mhough/?p=51</guid>
		<description><![CDATA[A few weeks ago I published a post of my favorite Wordpress plugins. In that list I included a plugin called EditorMonkey. Unfortunately, the plugin turned out to be a lemon and was a real pain to remove. When I first tried to remove it by deactivating the plugin from the Wordpress admin panel, I [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I published a post of my favorite Wordpress plugins. In that list I included a plugin called EditorMonkey. Unfortunately, the plugin turned out to be a lemon and was a real pain to remove. When I first tried to remove it by deactivating the plugin from the Wordpress admin panel, I could not restore the Wordpress TinyMCE editor and what remained was a meager toolbar that left me handcoding my posts in pure HTML. So, after scouring the internet blogs I was able to piece together a solution to remove the plugin and return Wordpress back to it&#8217;s original state. Enjoy!</p>
<ol>
<li>Deactivate the plugin from within the Wordpress admin panel.</li>
<li>Go to your database, and search for the wp_usermeta table. <em>Caution: be very careful making changes here! You can end up corrupting your entire site if you aren&#8217;t paying attention. Make sure to backup your site before proceeding.<br />
</em></li>
<li>Browse within the wp_usermeta table and delete any entries that start with an em_ .</li>
<li>Next, within the same table, go to the rich_editing field and set the value from false to true.</li>
<li>Delete the plugin from your wp-content/plugins directory.</li>
<li>Voila! EditorMonkey is gone and the default TinyMCE editor has returned.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/wordpress/2006/tutorial-removing-editormonkey-from-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making custom user roles in Wordpress</title>
		<link>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress</link>
		<comments>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress#comments</comments>
		<pubDate>Wed, 16 Aug 2006 05:39:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://freestd.net/~matt/mhough/?p=13</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;I finally figured out how to hack the user roles in wordpress to control exactly what they could and couldn&#39;t do. Although the default user roles were adequate, it didn&#39;t provide the type of control I needed. Wordpress 2.0 assigns user roles with an associated user level for backwards compatibility. These access levels are labeled [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I finally figured out how to hack the user roles in wordpress to control exactly what they could and couldn&#39;t do. Although the default user roles were adequate, it didn&#39;t provide the type of control I needed. Wordpress 2.0 assigns user roles with an associated user level for backwards compatibility. These access levels are labeled 0-10; 10 being the highest access level granted.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; So, exactly how do you customize these default user roles? The first thing to do is go to <a href="http://codex.wordpress.org/Roles_and_Capabilities">http://codex.wordpress.org/Roles_and_Capabilities</a> and read the user level vs. role conversion details and brush up on the different user roles.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next, let&#39;s familiarize ourselves with exactly what happens when a user logs in to Wordpress. This is a very obtuse and basic overview of the process; please don&#39;t hold me accountable for details. When a user logs in they are redirected to the admin.php page. Once they enter their id and password admin.php calls other php files to check the user roles then calls menu.php to build the admin page and menu. The menu is built based on access levels (0-10). So if your profile is set as a level 7 and the &quot;Write Page&quot; button is set with a level 8; you can&#39;t see it. In a nutshell, we are going to alter this menu.php document to give us the custom access we want. Let&#39;s get busy and start coding!</p>
<p>Step 1: Go to your Wordpress root, then \wp-admin\menu.php. Open it in the editor of your choice.</p>
<p>Step 2: Now edit any menu item or sub-menu item according to different user levels. See below for my example.</p>
<p>Example: I had a user setup as&nbsp;with the role of&nbsp;&quot;Editor&quot;, but, due to a custom Wordpress build I did not want the user creating, editing, or managing pages or categories. So I found the items I wanted to edit&#8230;</p>
<ul>
<li><font color="#003399">$submenu[&#39;post.php&#39;][10] = array(__(&#39;Write Page&#39;), &lsquo;edit_pages&#39;, &lsquo;page-new.php&#39;);</font></li>
<li><font color="#003399">$submenu[&#39;edit.php&#39;][15] = array(__(&#39;Categories&#39;), &lsquo;manage_categories&#39;, &lsquo;categories.php&#39;)</font></li>
</ul>
<p>Since the default Editor role has an access level of 7, I needed to change the level of these sub-menu items to 8 by adding the following lines of code:</p>
<ul>
<li><font color="#003399">$submenu[&#39;post.php&#39;][10] = array(__(&#39;Write Page&#39;), <font color="#ff0000">8,</font> &lsquo;edit_pages&#39;, &lsquo;page-new.php&#39;);</font></li>
<li><font color="#003399">$submenu[&#39;edit.php&#39;][15] = array(__(&#39;Categories&#39;), <font color="#ff0000">8,</font> &lsquo;manage_categories&#39;, &lsquo;categories.php&#39;)</font></li>
</ul>
<p>Save the file and copy it over ther old and now when the user logs in they no longer see the &quot;Write Page&quot;, &quot;Manage Page&quot;, or any Categories menu items. All done!</p>
<p><!--  				 		 				--></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
