Display WP Post Category without link

Here is a small piece of code that will display the category name of a WordPress post without a hyperlink to the category page. Typically, the category data is retrieved with the_category( ). This function is not useful for manipulating the category name in plain text. Displaying the category in plain text is easy with [...]

How to: Stop Spam on your MediaWiki website

This past week I deleted a few hundred wiki pages and user accounts from the MediaWiki installation our company uses to track software features and technical issues. Here is how you can stop your public MediaWiki website from becoming the victim of relentless spam bots. Limit exposure My wiki was operating smoothly for about a [...]

WordPress latest twitter sidebar widget

Last updated 2011 August 1 I made a WordPress widget to display latest Twitter updates for any Twitter user in a WordPress website’s sidebar. A widget is activated just like a plugin on any “widget ready” theme and can be positioned within the sidebar using the drag and drop Widgets page in the Administration Dashboard. [...]

PHP4 Friendly htmlspecialchars_decode

I needed to use the PHP function htmlspecialchars_decode( ) for a WordPress widget I am making. This function is built into PHP versions 5.1.0 and greater and is used to convert special HTML entities to characters. As defined, htmlspecialchars_decode( ) is the opposite of htmlspecialchars( ). Someone named Thomas commented on the PHP man page [...]

WordPress recently updated pages or posts

This WordPress plugin creates a list of links to the most recently updated pages and posts on any WP website. The following image is a screen shot of the widget output. I am running this widget on this website, so forget the screen shot. Look at the sidebar on this page and you will find [...]

No Blog Clients WordPress Plugin

I wrote a small WordPress plugin today to prevent these link elements from showing up in the header of my wordpress websites: <link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”WPURL/xmlrpc.php?rsd” /> <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”WPURL/wp-includes/wlwmanifest.xml” /> The first of these link elements instruct blog clients where to find the WordPress XML-RPC interface via really simple discovery (RSD). The [...]

 

Thanks for reading!

Sign up for email updates: