Technology Insights

Remove the Website Field For Comment Posting on WordPress Using Mandingo Theme

In an attempt to promote as much community as possible I would suggest removing the Website field for when people post comments to your WordPress blog. In this scenario below the Mandingo Theme is being used however it is just as easy to remove the Website field from the default field as well. If people still want to post their web site when making a comment they can do so in the body of the comment.

If you are using the Mandingo Theme then you will need to modify two files but if using the default WordPress Theme you should only need to modify one file. The lines to remove should be the same or very similar no matter what Theme you are using.

In Mandingo follow the below directions to remove the Website field from the comments form when people are not logged in.

Technology Errors

WordPress Blog With Mandigo Theme Not Displaying Via Firefox

As you can see we have the Mandigo theme installed for this WordPress blog. Earlier today I was doing some testing I and noticed the site was not displaying when trying to view the site with FireFox version 3.0.1 which is the newest release at this time. I was running Mandigo version 1.36.2 and a new version (Mandigo 1.3.7) had been released so I decided to start my troubleshooting by upgrading. After the upgrade the problem still existed so I had to dig deeper.

I went through all sorts of steps to locate the issue but ended up contacting Tom at OneHertz.com the creators of Mandigo and he provided a resolution. He thinks that Google may have changed the Adsense code thus causing the problem with Mandigo and Firefox. The true issue is not with Mandigo but with Google Adsense ads JavaScript conflicting with jQuery use in the Mandigo Theme. The fix was to replace code in the Mandigo theme footer.php as follows.

Technology Insights

How To Easily Post Code Snippets In Your WordPress Blog

Ever since we started this site I have been struggling with posting code snippets into WordPress blog posts. First I was attempting to use the <pre> and <code> tags but they would blow out the side of my Mandingo theme with two columns. I would then try to go through the code and break the lines at the right places trying to do the formatting myself… no a brilliant idea. Justin whom also posts on this site suggested Markdown which works great. I even put some effort into learning it and don’t mind using it at all. I installed the Text Control plugin and replaced its markdown.php with Markdown Extras markdown.php file which worked like a charm. My problem was that I was still blowing out the side of my theme. After a fairly long search I found a plugin that I did not find on WordPress.org but directly on the developers site called QuickCode which you can locate here