Archive for the ‘WordPress’ Category
Posted on November 12, 2008
I was taking part in developing an interesting web application - the Thank You Project. During which I made an item rotator script that swaps a list of messages in and out from the message board. I find the rotator script is very useful, so I decide to share it. To get an overview of [...]
Posted on April 30, 2008
Creating a Digg This button is very easy. Here's a non-plugin approach:
<script type="text/javascript">
digg_url = '< ?php the_permalink() ?>';
digg_title = '< ?php the_title() ?>';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Copy and paste above script to anywhere between your WordPress' theloop:
digg_url = 'http://thecodecentral.com/2008/04/30/creating-a-digg-this-button-for-your-wordpress-blog';
digg_title = 'Creating a Digg This Button for Your WordPress Blog';
Instead post specific Digg button, you can create [...]
Posted on February 21, 2008
For WordPress veteran this might not be new, which is, let visitor preview multiple themes in one WordPress installation. It puzzled me quite a while before I figured out how to do it. The very reason for the need of this feature is that I want to allow regular users to view different themes on [...]