Archive for the ‘Coding’ Category

Posted in Coding, Tips, Wordpress at 10:11 pm September 29, 2007

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 [...]

Read the rest of this entry »
Posted in Coding, Tips, Wordpress at 10:30 am June 30, 2007

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 [...]

Read the rest of this entry »
Posted in Coding, Tips, Wordpress at 9:04 am June 28, 2007

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 [...]

Read the rest of this entry »
Posted in Coding, Wordpress at 8:30 am

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 [...]

Read the rest of this entry »
Posted in Coding, Wordpress at 12:48 am June 26, 2007

After reading this post at Google's Webmaster Group, I was inspired to find out how to stop displaying full content on pages where posts were listed in categories, archives, etc. I am not so concerned about duplicate content as much as I don't like for people to find a result in a category page but [...]

Read the rest of this entry »
Posted in Coding, Coppermine, Wordpress at 8:10 am June 24, 2007

rphMedia over at the Coppermine forums has offered a mod called Image Scroller - based on iTunes. It looks so cool that I couldn't help but implementing it at my Take Thu gallery and my blog (at the bottom of the blog's homepage).
For those who want an includable version of flow.htm, create a file in [...]

Read the rest of this entry »
Posted in Coding, Wordpress at 12:25 am

I installed the Search Everywhere Plugin in the hopes of enabling Wordpress search to find posts that have been tagged with Jerome Keywords Plugin. Alas, it didn't have that capability built-in, nor could I find an available solution, so I tweaked the Search Everywhere code to search tags for results. I based the code modifications [...]

Read the rest of this entry »