Posts tagged: javascript

Flickr

A Flickr Badge using WordPress Shortcodes

Flickr provides a neat little snippet of javaScript to supply various image galleries direct to your site – a so-named Flickr badge. Here’s a good way using WordPress shortcodes to grab a gallery…

json with wordpress

Using JSON with WordPress

With the popularity of jQuery, AJAX, and client-side programming operations in general, there’s more use made of JSON as a format for getting data backwards and forwards.

For example, the Twitter API offers data as JSON – and more manageably than accessing their RSS XML feeds for user timelines.

jquery slideshow

A jQuery Slideshow for WordPress 2.9

You want a jQuery slideshow for your WordPress blog? – on the front page, or maybe in the sidebar? No real problem, all the javascript is taken of with the help of a jQuery plugin, all we have to do is figure out how to get the post data.

And to keep things really simple, this is going to use the thumbnail functions in WP 2.9 – no need to mess around with custom fields any more.

wordpress-tools

Using Google Code libraries with WordPress

By default, WordPress loads the version of jQuery that comes with the package. But there is an alternative way of doing it and that’s to use the AJAX Libraries API at Google Code – use their bandwidth, why not… A few lines added to your functions.php in the theme you’re building and you’re ready to [...]

wordpress-themes

WordPress Theme Frameworks

Since the arrival of WordPress 2.7, the true framework is based on the concept of parent/child WordPress themes. A child theme is dependent on its parent – here, the framework – for its template files and functions, it’s not going work without it.

JQuery, Cufon and WordPress

Just at the moment the best font replacement technique around is cufón – so how to get this technique into your WordPress theme design?

More WordPress and jQuery

To refine a previous post on WordPress and jQuery and the use of the wp_enqueue_script function, its paths and dependencies. As a barebones example, this is how we do it when we we’re enqueueing – if that’s a word – the jQuery Cycle plugin, so that we can make a slideshow on the page.

Using jQuery with WordPress

If you’re a theme developer, you’ll (perhaps) be looking at keeping up with the latest in javascript/AJAX and incorporating a few tweaks into your brand new theme – in some ways, it’s been made very easy for you (and in one or two ways it’s just a little tricky…)