Picasa2Coppermine Project

I just uploaded to Google Code the source code of Picasa2Coppermine. This makes it possible to add a button in Picasa that when clicked will upload selected files into a Coppermine Photo Gallery running version 1.5. CPG 1.5 has not been officially released yet, so it is only available via subversion checkout.

The ability to import from [...]

How to Add RSS Feed Link to archive.php for Wordpress

archive.php (in the Wordpress theme folder) is the file that handles the output of posts grouped by categories, tags (in WP 2.3) and by dates. Since I have a wide variety of topics, I figured it would be helpful to provide feeds specific to a reader’s particular interest(s). The problem was I didn’t know how [...]

How to Display All Blog Posts

For reasons I will explain in another post about Linked Custom Search Engines, I wanted to generate a page that would include all of my posts in their entirety. There didn’t seem to be a ready-made solution. I found a plugin but it didn’t show all posts the way I wanted. This is different from [...]

How I Create Widgets for Wordpress

I haven’t been able to find clear instructions on how to add widgets to Wordpress. This widget tutorial for developers was as close as I could get, but it applies to the Widget Plugin before Wordpress included Widgets in v 2.2.

I’ve figured out a system that has worked for me. I can’t say that it [...]

Wordpress Widget: Spread Firefox

I coded a widget to help Spread Firefox via a Wordpress widget. Here is the code:

function wp_widget_firefox($args) {
extract($args);
?>
<?php if (strpos($_SERVER['HTTP_USER_AGENT'], ‘MSIE’) !== false) {?>
<?php echo $before_widget; ?>
<?php echo $before_title; ?>
<?php _e(‘Try Firefox’); ?>
<?php echo $after_title; ?>
<ul><li>
<a href=”http://www.spreadfirefox.com/?q=affiliates&id=YOUR_ID&t=210″><img border=”0″ alt=”Firefox 2″ title=”Firefox 2″ src=”http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1b.png”/></a>
</li></ul>

<?php echo $after_widget; ?>
<?php
}
?>
<?php

}

I honestly don’t know if this exact code will work [...]