Skip to content

it.megocollector.com

The information technology compendium

Archive

Category: Wordpress

wordpress-4SyntaxHighlighter 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. There are two approaches to adding these brushes. One method that is not recommended by the author of the plugin is to hack up the existing plugin by adding brushes to the third-party directory and editing syntaxhighter.php file. As updates to the plug-in become available, your customized hacks will be overwritten. The other approach, is the recommended approach and is easy enough....
Continue reading ...

The usual approach for placing a background image is by placing the background within the body using CSS. No modifications are needed to the HTML file for the background to be displayed....
Continue reading ...

wordpress-4There 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....
Continue reading ...

wordpress-4

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....
Continue reading ...

wordpress-4

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 could serve as a basic framework for customization to fit the current need....
Continue reading ...

wordpress-4

There is a plugin called WP-Ratings. It has worked well over the years until recently. It may have been as a result of a Wordpress upgrade. Whatever the cause, WP-Ratings failed to work. The symptoms is that the rating stars were visible, until the user clicked on them. The ratings would become invisible or blank and result in an error message produced by Internet Explorer. The error had to do with prototype.js.php....
Continue reading ...

wordpress-4

Many WordPress users have enjoyed WordPress using an Internet host provider or on an XAMPP installation on a Windows installation. This exercise is a combination of several guides with some personal tweaks to install WordPress on a fresh install of Linux. More specifically an install of CentOS or Red Hat Enterprise Linux (RHEL)....
Continue reading ...

Recently created a WordPress theme where I wanted rounded corners around text boxes, buttons, and forms. Being not too patient with the creation of little corner images to satisfy this requirement within Internet Explorer, I decided to use the -moz-border-radius within the stylesheet. The drawback is that this -moz-border-radius will only work within Mozilla based Internet explorers and not the Microsoft Internet Explorer. I found a "solution" or two, however after some trial and error, figured a solution that worked for me. It is PIE....
Continue reading ...