Testing Translation Function Speeds in WordPress

Speed of memory

After reading Pippin Williamson’s post about gettext speed issues, I wanted to learn more. My IDX+ plugin has 815 translatable strings, and I was worried that it was having a performance impact on the plugin. I created a test that looped through different methods of outputting and printing strings to try and determine their relative […]

Bradycardia & Cardiac Arrest for WordPress 3.6

WordPress Heartbeat

Bradycardia is the resting heart rate of under 60 beats per minute…. Wikipedia A new feature in WordPress 3.6 is an upgrade to the autosave functionality that’s been around for years. It’s called “Heartbeat” and it makes sure you have valid authentication credentials, aren’t working on the same post as other people, and more. The problem […]

Passing parameters from PHP to Javascripts in plugins » Otto on WordPress

Much cleaner. One static and unchanging JS file to cache. Parameters get put into your HTML itself as a one-liner. You can deal with the parameters using a normal PHP array before passing them over. No need to screw around with generating Javascript from PHP or looking for wp-load or even messing with tricky actions. […]

Storing Data in WordPress Plugins – A Quick Rundown

abbey-road

Coding better WordPress plugins As I’ve worked with WordPress plugins, I’ve learned new ways of working with WordPress. WordPress has tons of built-in functionality that is very useful and easy to use once discovered. I am by no means a great PHP coder. I am still learning OOP principles and how to write code better. […]

EasyVideoPlayer WordPress Plugin

evp-2-0

Embed EasyVideoPlayer videos to WordPress Finally add videos inside your WordPress content without the hassle! Download the plugin from WordPress.org It’s been hard — and very technical — to embed EVP videos inside WordPress content…until now. The EVP plugin for WordPress changes everything – it is now simple to add EVP videos to your content.

Lottery Results – A New WordPress Plugin

Lottery-Balls

Download the plugin at WordPress.org For plugin support, please visit the support forum. Show lottery results from all 43 states with lotteries Choose which games you want to display Choose from different lotto results layouts Embed results in your content using the lottery] shortcode. The widget automatically gets updated results every 6 hours, then they are […]

5 Easy Ways to Disable the Gravity Forms CSS Stylesheet

89626f825f68beee72e5bb3e7dcbdf31

We can do this the easy way or the hard way. What’ll it be? The WordPress form plugin Gravity Forms (if you don’t use it, you should — it’s great) comes with a stylesheet found at [plugin-directory]/plugins/gravityforms/css/forms.css. SEODenver.com’s is found here. If you want to turn off styles for Gravity Forms, there are a few […]

WordPress.org Changes Plugin Page Layout

Wordpress.org plugin page from 2008

WordPress.org plugin page layout change likely for usability A couple of weeks ago, WordPress.org changed the layout of their plugins directory plugin pages. The update was likely to improve usability for users trying to determine whether a plugin is trustworthy and what it does. I believe the re-arranging of the page has achieved those goals. […]

Auto-Optimize WordPress Database without a Plugin

1245541_11014135

These horses are somehow not cool. Speeding up your blog is. I am working on a WordPress project that has a pretty heavy database, and I want to be able to auto-optimize the WordPress database. Even though they are integrating this functionality into WordPress 3.0, I want it now, and without having to use a […]

WordPress Debt Calculator

Debt Calculator Screenshot

Download the plugin from WordPress.org Add a debt calculator to your WordPress blog Do you have a financial blog or a blog about debt, money management, or household spending? Add a free debt calculator to your blog with no coding required. Updating the style: You can update the form’s style by editing the plugin’s debt.css […]

Add Custom Titles for Tags and Categories in WordPress

Merge two WordPress SEO plugins for the best SEO value

The Best WordPress SEO Plugin? A combination of two. All in One SEO Pack (AIOSEO) is the leader in WordPress SEO plugins. It offers great functionality and simple integration into the process of writing a post. AIOSEO is not a perfect plugin, however, because it lacks some very important functionality: Custom category title tags Custom tag […]

Save Coding Time by Creating Special-Case Categories in WordPress

Sorting Fruit as WordPress Categories

When you would use excluded categories: When using WordPress as more of a content management system (CMS) than a blogging platform, there are many things that you need control over. One of them is special-case categories. Frequently asked questions Testimonials Case studies Press releases When you have a category of posts that you don’t want […]

Strip Extra ImageScaler Attribute from Plugin-Generated Code

I am using the ImageScaler plugin for WordPress on a project, and I like what it does, but it adds a non-standards-compliant attribute to images, such as: <img class=”" src=”http://www.example.com/imagescaler/generated-image.jpg” alt=”Example” width=”258″ height=”234″ imagescaler=”http://www.example.com/imagescaler/original-image.jpg” /> To strip imagescaler’s imagescaler attribute, add the following into your functions.php file: add_filter(‘the_content’, ‘strip_imagescaler’); function strip_imagescaler($content) { $content = preg_replace(‘/imagescaler=”(.*?)”.?/s’,”, […]

Simple Taxonomies Formatting — Improve the Plugin's Code Output

Making the Simple Taxonomies WordPress Plugin Semantic

I’ve been using Joost de Valk’s Simple Taxonomies plugin for a couple of projects, and I’ve been very disappointed by the formatting of the terms output code. When configuring the plugin, you have the option of choosing “Add terms to the end of posts” or “Add terms to the end of excerpts.” If you do, […]

How to Display a Random Testimonial or Post in WordPress

Set up a testimonials category — no need for a plugin. There are a couple of plugins designed specifically for testimonials, but I didn’t want to use them; they use their own databases, and don’t keep with WordPress’ simplicity. If possible, the best way to work with WordPress is to use it’s built-in functionality. I […]