<?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>SEO Software Solutions - Internet Madman &#187; WordPress Tips &amp; Tricks</title>
	<atom:link href="http://blog.internetmadman.com/category/web-design-html-xhtml-css/wordpress-tips-tricks/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.internetmadman.com</link>
	<description>SEO, Software, Code &#38; Web Hotness</description>
	<lastBuildDate>Wed, 21 Sep 2011 20:35:15 +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>Update WordPress Post Date via MySQL &amp; PhpAdmin</title>
		<link>http://blog.internetmadman.com/update-wordpress-post-date-via-mysql-phpadmin/509</link>
		<comments>http://blog.internetmadman.com/update-wordpress-post-date-via-mysql-phpadmin/509#comments</comments>
		<pubDate>Wed, 06 Oct 2010 01:16:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[Dates]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.internetmadman.com/?p=509</guid>
		<description><![CDATA[Okay. sometimes you got a new blog from an old blog, and you used the WordPress import XML (WXR) routine, and NOW you&#8217;ve found out that it&#8217;s far from a perfect solution. Let&#8217;s say your the least of your troubles &#8230; <a href="http://blog.internetmadman.com/update-wordpress-post-date-via-mysql-phpadmin/509">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.internetmadman.com%2Fupdate-wordpress-post-date-via-mysql-phpadmin%2F509"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.internetmadman.com%2Fupdate-wordpress-post-date-via-mysql-phpadmin%2F509&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div style="float: left; padding: 5px;"> <script type="text/javascript"><!--
google_ad_client = "pub-1072293186877500";
/* 300x250, created 11/2/09 */
google_ad_slot = "2194248652";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>Okay. sometimes you got a new blog from an old blog, and you used the WordPress import XML (WXR) routine, and NOW you&#8217;ve found out that it&#8217;s far from a perfect solution. Let&#8217;s say your the least of your troubles are the simple fact now your posts have a new date, or better yet, no date at all. (Trust me this can happen)<br />
Anyway, you might be wondering to yourself how to change these dates back to the ones that you had in your old blog. Or you might be wondering &#8220;Where the hell are my posts&#8221; Depending on your level of anxiety, I just wanted to say, calm down, and do this. It&#8217;s not the best fix but&#8230; Log into your cPanel, and log into your PHPmyAdmin. Then enter the following SQL to make your changes. (Don&#8217;t forget to click Go! after your query has been entered.</p>
<pre class="brush: sql; title: Source Code; notranslate">
UPDATE `wp_posts` SET `post_date` = '2010-10-05 08:06:00' WHERE `post_date` = '0000-00-00 00:00:00'
</pre>
<p>This updates the date to October the fifth. You can further refine your query by adding something like:</p>
<pre class="brush: sql; title: Source Code; notranslate">
UPDATE `wp_posts` SET `post_date` = '2010-10-05 08:06:00' WHERE `post_date` = '0000-00-00 00:00:00' AND `post_title` = 'This is the best Blog Post Ever!'
</pre>
<p>To your success!</p>
<p><span style="font-size: 13.3px; font-family: Verdana,Arial,Helvetica,sans-serif;"></p>
<div style="border: 1px solid #e5e5e5; padding: 0.8em 0.8em 0.3em;">
<div style="margin: 0pt 0pt 8px;">
<p style="margin: 0pt;"><img style="border: 1px solid gray; float: left; margin-left: 5px; margin-right: 5px;" src="http://webprofast.com/wp-content/uploads/2010/08/the-pro.jpg" alt="Web Pro" width="128" height="125" />Steve Hill</p>
<p style="margin: 0pt;">Owner</p>
<p style="margin: 0pt;"><strong><span style="background-color: #ffff99;">WebProFast</span></strong> &#8211; <a title="Professional Web Design Fast" href="http://www.webprofast.com/" target="_blank">Professional Web Design Fast</a></p>
<p style="margin: 0pt;"><a title="List My Business" href="http://www.list-corp.com/" target="_blank">List My Business</a> | <a title="Web 2.0 Business Directory" href="http://mybusiness-directory.com/" target="_blank">Web 2.0 Business Directory</a> | <a title="Affiliate Superstore" href="http://www.affiliate-superstore.com/" target="_blank">Affiliate Superstore</a> | <a title="Free Website Analysis" href="http://www.mywebsiteanalyzer.com/" target="_blank">Website Analyzer</a></p>
</div>
<p><span style="color: gray;">My profiles: </span> <a style="text-decoration: underline;" href="http://www.linkedin.com/pub/steve-hill/24/708/a0"><img style="padding: 0px 0px 5px; vertical-align: middle;" src="http://images.wisestamp.com/linkedin.png" border="0" alt="LinkedIn" width="16" height="16" /></a> <a style="text-decoration: underline;" href="http://www.twitter.com/listmybusiness"><img style="padding: 0px 0px 5px; vertical-align: middle;" src="http://images.wisestamp.com/twitter.png" border="0" alt="Twitter" width="16" height="16" /></a></div>
<p><img src="http://s.wisestamp.com/pixel.png?p=mozilla&amp;v=2.0.3&amp;t=1286328063676&amp;u=9596145&amp;e=5041" alt="" width="1" height="1" /></span></p>
<div class="su-linkbox" id="post-509-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://blog.internetmadman.com/update-wordpress-post-date-via-mysql-phpadmin/509&quot;&gt;Update WordPress Post Date via MySQL &amp; PhpAdmin&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://blog.internetmadman.com/update-wordpress-post-date-via-mysql-phpadmin/509/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Category Name in WordPress But Not on a page.</title>
		<link>http://blog.internetmadman.com/display-category-name-in-wordpress-but-not-on-a-page/318</link>
		<comments>http://blog.internetmadman.com/display-category-name-in-wordpress-but-not-on-a-page/318#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:57:44 +0000</pubDate>
		<dc:creator>Internet Madman</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Category]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.internetmadman.com/?p=318</guid>
		<description><![CDATA[If you are like me, you probably want your website to have excellent navigation, and let people know where they are on your website pretty much all the time. SO I WAS LOOKING FOR A WAY TO DISPLAY SOME INFORMATION &#8230; <a href="http://blog.internetmadman.com/display-category-name-in-wordpress-but-not-on-a-page/318">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.internetmadman.com%2Fdisplay-category-name-in-wordpress-but-not-on-a-page%2F318"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.internetmadman.com%2Fdisplay-category-name-in-wordpress-but-not-on-a-page%2F318&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are like me, you probably want your website to have excellent navigation, and let people know where they are on your website pretty much all the time.</p>
<p>SO I WAS LOOKING FOR A WAY TO DISPLAY SOME INFORMATION LIKE CATEGORY NAME IN WORDPRESS (to be a header for an ordered list of that category&#8217;s other posts.) That topic will be covered later by the way.<br />
 <script type="text/javascript"><!--
google_ad_client = "pub-1072293186877500";
/* 300x250, created 11/2/09 */
google_ad_slot = "2194248652";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
So I made it happen, but then my Word Press pages were showing the header for the category &#8216;uncategorized&#8217; (Not cool!)</p>
<p>Here&#8217;s a good way to show the header on all pages except your main web pages.</p>
<p><code><?php<br />
global $post;<br />
$category = get_the_category();<br />
if ( is_page()  ) {<br />
}<br />
else{<br />
echo 'Posting Filed in ' .$category[0]->cat_name;<br />
}<br />
?></code></p>
<p><strong>***UPDATE***</strong></p>
<p>The above code works great, but unfortunately I just noticed that it still shows up even if there are no posts in that category. That&#8217;s fine because I am using that page as an index page, and there aren&#8217;t supposed to be &#8216;POSTS&#8217; in that category, however just having a header hanging out there is kind of stupid (that&#8217;s what I&#8217;m using this code for, a header in a widgetized sidebar)</p>
<p>Use this PHP instead&#8230;</p>
<p><code><?php<br />
global $post;<br />
$category = get_the_category();<br />
if ( is_page()  ) {<br />
}<br />
else{<br />
if ( have_posts()  ) {<br />
echo $category[0]->cat_name;<br />
}<br />
}<br />
?><br />
</code></p>
<div class="su-linkbox" id="post-318-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://blog.internetmadman.com/display-category-name-in-wordpress-but-not-on-a-page/318&quot;&gt;Display Category Name in WordPress But Not on a page.&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://blog.internetmadman.com/display-category-name-in-wordpress-but-not-on-a-page/318/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Custom RSS File into WordPress</title>
		<link>http://blog.internetmadman.com/import-custom-rss-file-into-wordpress/312</link>
		<comments>http://blog.internetmadman.com/import-custom-rss-file-into-wordpress/312#comments</comments>
		<pubDate>Sun, 28 Feb 2010 23:57:22 +0000</pubDate>
		<dc:creator>Internet Madman</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.internetmadman.com/?p=312</guid>
		<description><![CDATA[As you can see, I import from an RSS file sometimes into installations of WordPress. Default PHP installations limit your maximum filed upload size to 2MB. Even if you increase this setting in your php .ini file, the WordPress mechanism &#8230; <a href="http://blog.internetmadman.com/import-custom-rss-file-into-wordpress/312">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.internetmadman.com%2Fimport-custom-rss-file-into-wordpress%2F312"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.internetmadman.com%2Fimport-custom-rss-file-into-wordpress%2F312&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://blog.internetmadman.com/wp-content/uploads/2010/02/import-from-wordpress1.jpg" rel="lightbox[312]"><img src="http://blog.internetmadman.com/wp-content/uploads/2010/02/import-from-wordpress1.jpg" alt="import-from-wordpress" title="import-from-wordpress" width="300" height="619" class="alignleft size-full wp-image-311" /></a>As you can see, I import from an RSS file sometimes into installations of WordPress. Default PHP installations limit your maximum filed upload size to 2MB. Even if you increase this setting in your php .ini file, the WordPress mechanism will not import a much larger file.</p>
<p>I recommend limiting file sizer to about 1.5 MB.</p>
<p>This way, you will not lose any posts that you are trying to import. It seems to break around 950 &#8211; 980 posts. It&#8217;s happened multiple times, even though if you increase you PHP upload file maximum limit to 20 MB or more, and the tool report this setting in the administration &raguo; import area, the import WILL FAIL.</p>
<p>So for people that have went to all the trouble to create  a program to create RSS to import into WordPress, be sure to keep the file size below 2MB.</p>
<div class="su-linkbox" id="post-312-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://blog.internetmadman.com/import-custom-rss-file-into-wordpress/312&quot;&gt;Import Custom RSS File into WordPress&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://blog.internetmadman.com/import-custom-rss-file-into-wordpress/312/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List All Categories on WordPress Front Page (Directory Style)</title>
		<link>http://blog.internetmadman.com/list-all-categories-on-wordpress-front-page-directory-style/280</link>
		<comments>http://blog.internetmadman.com/list-all-categories-on-wordpress-front-page-directory-style/280#comments</comments>
		<pubDate>Tue, 09 Feb 2010 18:28:26 +0000</pubDate>
		<dc:creator>Internet Madman</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[XHTML & CSS Design]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[front page]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plug in]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.internetmadman.com/?p=280</guid>
		<description><![CDATA[List All Categories on WordPress Front Page (Directory Style) <a href="http://blog.internetmadman.com/list-all-categories-on-wordpress-front-page-directory-style/280">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.internetmadman.com%2Flist-all-categories-on-wordpress-front-page-directory-style%2F280"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.internetmadman.com%2Flist-all-categories-on-wordpress-front-page-directory-style%2F280&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://blog.internetmadman.com/wp-content/uploads/2010/02/front-page-categories.jpg" rel="lightbox[280]"><img src="http://blog.internetmadman.com/wp-content/uploads/2010/02/front-page-categories-247x300.jpg" alt="WordPress - front-page-categories" title="front-page-categories - WordPress" width="247" height="300" class="alignleft size-medium wp-image-283" /></a><br />
Wow. Can you believe there&#8217;s not a simple way to do that? It took me fourteen hours to find the right combination of plug ins, theme hacks and cc, and a few other tweaks to do something in WordPress that in my humble opinion should be already built in.</p>
<p>So all I wanted to do over at <a href="http://community.music-city.net">Music City</a> was display all my categories on my WordPress front page (which I use as a CMS). After hours of trying plug ins that didn&#8217;t work, or had limited functionality, or just didn&#8217;t work, I quickly grew frustrated. I&#8217;m not primarily a PHP programmer, so I wasn&#8217;t about to attempt to write my own plug in. Most plug ins are widgets, and I wanted my categories on my static front page, and boy&#8230; It was as if I was asking to move a mountain.</p>
<p><strong>Here&#8217;s step by step how I got it to work. </strong></p>
<p>1. First of all, you&#8217;ll need to search up and install <b>Article Directory Plug In</b> by <a href="http://articlesss.com/article-directory-wordpress-plugin/">Dimox</a> from the WordPress plugin page. *Make sure you follow all the directions in the ReadMe file.</p>
<p>2. Make sure you have made you homepage a static page, and not recent posts.</p>
<p>3. Copy your page template (.php file) to a new file, and upload it to your theme folder.</p>
<p>4. Make sure your copy of the template you just created has this code at the top,</p>
<div style="padding: 10px; border: 1px solid gray; background: lightgray;">
<center><textarea rows="2" cols="50"><?php Template Name: Your Template Name?></textarea></center></div>
<p>Note: where is says, &#8220;Your Template Name&#8221; shows up in page admin area of WorPpress.</p>
<p>5. Okay Wherever you want the categories to show up on this page, insert</p>
<div style="padding: 10px; border: 1px solid gray; background: lightgray;"><center><textarea rows="5" cols="50"><?php if (function_exists('article_directory')) article_directory(); ?></textarea></center></div>
<p>6. Configure your options via the Article Directory options page in the WordPress &#8220;Settings&#8221; admin area.</p>
<p>7. Depending on how you want it to look, you will probably have to edit the article-directory/article-directory.php file via WordPress plugins &gt; edit area. (the .css file for the plugin has to be moved into you themes folder, of the current theme you are using, and use the .css import function to import that css into you themes css file. Then make sure you editing that copy if you want to modify additional styling via that. (Not the copy in the plugins directory)</p>
 <script type="text/javascript"><!--
google_ad_client = "pub-1072293186877500";
/* 300x250, created 11/2/09 */
google_ad_slot = "2194248652";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>8. Edit your front page, and make sure you select that that page will use the copy of the template you named and uploaded and inserted the article directory code into.</p>
<p>9. Note that the front page should be the only page which used that template if you want the categories to only appear on the front page. Of course you can insert the article directory php code to make it show up anywhere in any template file, but that kind of defeats the purpose of what I&#8217;ve explained how to do, and the styling you create is global, remember that.</p>
<p>10. Enjoy your new directory style front end. Don&#8217;t forget to add your regular front page content, and make sure in step #5 you&#8217;ve inserted the article directory code in the correct spot where you want it to show up.</p>
<p>11. Also please not I also had to tweak the plug in to show an image in front of master categories, which I didn&#8217;t show how to do. Hell, if you can follow these directions, you can figure that much out on you own I suppose.</p>
<p>12. I suppose you also would like to turn off comments for your front page, and make sure that it doesn&#8217;t show up as, &#8220;Comment Closed&#8221; or &#8220;Comments Off&#8221; right? There&#8217;s a simple way to do that. Simply edit your comment.php file in your theme, find the string that displays when you have comments turned off, and replace that string with nothing. Then it simply prints a blank string. You might also have to find out if you theme prints a &#8220;Comments&#8221; header label, and remove that as well for that template file.</p>
<p>Good Luck!</p>
<p>I hope you&#8217;ve enjoyed my article on how to place all you WordPress categories on your static front page.</p>
<div class="su-linkbox" id="post-280-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://blog.internetmadman.com/list-all-categories-on-wordpress-front-page-directory-style/280&quot;&gt;List All Categories on WordPress Front Page (Directory Style)&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://blog.internetmadman.com/list-all-categories-on-wordpress-front-page-directory-style/280/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

