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. Read more&hellip
- Updating the style: You can update the form’s style by editing the plugin’s
debt.css file
- You can add the calculator to your website’s sidebar by using the shortcode in a text widget
- Use in combination with the Show Content Only plugin as a pop-up window
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','', $content);
return $content;
}
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 also wanted to have the testimonials as a category in WP, rather than as a separate plugin. This code will work for any type of category, not just a testimonial.
Here’s how to create a random post item in your sidebar: Read more&hellip

WordPress, just get the adjacent image links. I’ll tell you what to do with them!
WordPress is normally great about providing functions that have a return and an echo version. In WordPress, if a function has the prefix get_, then it does not echo (print it into the content), but rather returns the result so that it can be saved as a variable, like so: $example = get_example();
There are some functions that only have echo capability, so I wanted to share my work-around with you all. Read more&hellip
Updated image_link functions
- adjacent_image_link() » get_adjacent_image_link()
- previous_image_link() » get_previous_image_link()
- next_image_link() » get_next_image_link()
Nofollow SEO for your WordPress Functions
November 7, 2008Pretty crude idea of nofollow, isn't it?
While working on a recent website, I became frustrated by the lack of nofollow support in many WordPress functions. Make that, most WordPress functions.
There are a few WP functions that I wanted to add nofollow to, so here’s a list and a download link: Read more&hellip