WordPress Clips For Coda

A few months ago I wrote an article on how to use Coda with WordPress via Clips. Well the creators of Massive Blue and Nonimage have created a site called Coda Clips, featuring a ton of clips for CSS, Expression Engine, HTML, JS, PHP, Textpattern, WordPress, and other coding languages.

While browsing through some of the clips, I noticed some tags I have never even seen before! Here’s a few that are worth mentioning:




Anyways, if you use Coda, make sure to check out this sweet resource. Oh and if you have a few of your own snippets, make sure to submit them!

WordPress QuickTips

Here’s a little snippet of code that could come in handy: a total post count for a blog. Put this in your page to display the total amount of posts you’ve made:

<php the_author_posts(); ?>

This might come in handy when you’d like to display the total number of tutorials on a tutorial blog, sites indexed in a site gallery, etc.

Here’s another WordPress QuickTip that will save you some extra keystrokes. Whenever you want to link to an image, place in your site, etc, this little PHP snippet will save you the hassle of typing in the web address:

<?php echo(get_option('siteurl')); ?>

This will display the complete URL (http://www.yoursite.com) wherever you put this tag.