
Tag: Wordpress


Automated Scripted Install of WordPress on CentOS7/RHEL7 Linux
Add SyntaxHighlighter Evolved Plugin Third Party Brushes To Your WordPress Installation
SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev. It is prepackaged with a select handful of brushes, which includes several third-party brushes. There are many more third-party brushes that are available and not part of the plug-in package….
Read More »How to use multiple blockquotes in WordPress using CSS
There was a need to use blockquotes for different uses. Warning, Informational, Stop, Go, or as a blockquote. The possibilities are endless. This is possible by giving the blockquote element a class attribute within your (X)HTML or post, and define the class in the style.css file of your theme. This technique was found here. In this example, where the following…
Read More »WordPress SQL Queries for database cleanup
With time your WordPress database may grow out of control. A couple contibuting factors are post revisions, RSS feeds fed through the dashboard. There are plugins that handle basic database optimizations, however, the command line is a quick and dirty way to handle some of these. I have always been aware of the transient RSS entries in the wp_options of…
Read More »Useful Tools that May Help Determine and Fix Hacked WordPress Installations
For one reason or another, your WordPress site may get hacked. Code may be attached to various files throughout the site that could do a wide range of things including site redirection. There are many different types of hacks, however, there are several tools and commands that may prove useful for remediation. If these tools do not re-mediate, then these…
Read More »
Automated Scripted Install of WordPress on CentOS/RHEL Linux
Resolved: Could Not Backup Website with CPanel
For years the practice had been to backup the website using the Full Backup functionality from within CPanel. It has worked valently until recently. Recent backup attempts would proceed as usual and upon completion send out an email alerting the administrator that the backup had succesfully completed. However, the backup did not successfully complete. The backup was far from complete….
Read More »WordPress: Display Recently Updated Posts with Shortcode
Floating around the Internet is a piece of PHP code that is designed to display recently updated posts/pages in WordPress. For some reason or another, I was unable to get the code to work with the expected results. I attempted to convert the code for use with functions.php and shortcodes with little success. After submitting a request to experts-exchange for…
Read More »Solution to the WordPress Plugin WPTouch Returns a 404 Error when the Category is Empty.
There is an excellent plugin for WordPress called WPTouch. It’s purpose is to format web content to display more appropriately on portable devices such as the iPhone, BlackBerry, and other similar interfaces. It is extremely customizable. One of the nagging issues that I had had with this plugin is that it contains it’s own function for displaying categories. The problem…
Read More »WordPress plugin Simple Tags fix for WordPress 2.9
Simple Tags is broken with the upgrade to WordPress 2.9. Simple Tags offer many advanced tagging features, that include mass tag editing, embedded tagging, auto tags, dynamic tag clouds, and many other feature. There is a “simple” fix to make it work. The author had hardcoded WordPress versions. Here is the original line of code, found in the file simple-tags.php…
Read More »WordPress 2.9 Add Post Image
WordPress 2.9 among other things offer built-in support for post-thumbnails. Although it is available, there are two things to change to the theme. Add the following line to the functions.php file. In many cases, the index.php file will contain the loop. Add the following A great reference: wpengineer.com and ulyssesonline.com
Read More »