Q. Got a theme that needs two different excerpt lengths? A. Found here: set the standard, longer excerpt as normal in the functions.php file and the override locally using this code:
Nice little write-up on pushing your local GIT repo to a live web site: http://toroid.org/ams/git-website-howto
treesaverjs.com/ Incredible, clever, simple looking demo: http://demo.nomadeditions.com/real-eats/index.html
Do what this guy says and add /usr/local/mysql/bin back into your paths file
Easy solution to this basic HTML coding need posted over at Stack Overflow by a random clever bloke. Thanks RCB. My only issue was with UTF-8 characters coming through garbled. Bodged a workaround using this encode entities plug-in for Dreamweaver.
Specifying line-height on an <a> in a <li> will not work in your webkit based browsers. Line-height needs to be set on the containing <li> to work at all in Chrome or consistently in Firefox. Now you know.
The grandaddy of all CSS resets hits version 2.o beta: Eric Meyer’s Reset Revisited. See also the subsequent thoughts on how to handle :focus. Update! Now at Beta 2.
Found this link to a whole bunch of mostly crassly sexist adverts from way back but but there’s other NO-NOs in there too: TOP 48 ADS THAT WOULD NEVER BE ALLOWED TODAY. Still not seen Mad Men yet but I… Continue Reading →
Great to finally see [forgive my split infinitive] a well documented walkthrough on how to create these little bit of magical CSS that add triangular pointers onto your navigation elements – or Talk Bubbles as Stubbornella OOCSS has them –… Continue Reading →
Made me grin/grimace…. A piece on how retarded Microsoft’s latest incarnation of Internet Explorer may turn out to be, despite the hype: http://css3wizardry.com/2010/08/14/ie9-is-the-ie6-of-css3/ Oh dear.
At some point in the last month (been on holiday mostly) an Apple system update caused MySQL to stop running – all local development sites using MySQL would give the dreaded “Error establishing a database connection” error message. And phpMyAdmin… Continue Reading →
Do you need to print an oversized graphic document onto multiple sheets of paper (that your printer can handle) so you can then assemble/[Sello]tape/mount an accurate large format version? This is a very simple task but strangely difficult to find… Continue Reading →
It’s really very simple – everything you need is in ~/Libaray/Safari/LastSession.plist just quit Safari and restore that file from when it was good and you’re done. What’s this about? Well I tend to use open Safari windows/tabs to help keep… Continue Reading →
So you’re doing the right thing and crafting internal links within your site to give the thing meaning and usefulness (or SEO)… but WordPress then adds superfluous trackbacks in the comments of the pages/posts your linking to… There are plugins… Continue Reading →
Here’s how I managed to get this loop to work for the custom WordPress theme I whacked off for my friend and erstwhile colleague Phil Morse AKA Digital DJ Tips The challenge I set myself was to get the loop to… Continue Reading →
[ This post is now largely if not entirely redundant now thanks to WordPress 3 menu options ] Problem: WP titles are too long to fit in your navigation. Solution: Make the title short enough to fit in the navigation… Continue Reading →
Want to just show just your sticky posts in a WordPress template? This guide tells you how (and much more) – but you’re hacking a theme and are stuck when it says “add this code before the loop” – well… Continue Reading →
“MND research is not so different from the Apollo Program and our ‘one small step’ will be taken too.” Dr Martin Turner, Neurologist. By Patrick Joyce, friend.
Please forgive this re-/cross-/multiple-posting/email but I have a cause… Here’s a call for support for Johnny “Sticky” Budden: Parkour Traceur/free runner extraordinaire… He’s speeding 1,000 miles on foot across and around the length of the UK and on to Paris… Continue Reading →
or I *sync* my Mac Pro and MacBook Pro with Dropbox and Gmail Cloud enabled local web development? That’s an oxymoron — right? Explain. I prefer to develop/design using MAMP as it’s quicker and doesn’t rely on a sketchy internet… Continue Reading →
Wondering which you should use? Use both. (As recommended by Mr WordPress himself…) The WordPress.com Stats WordPress plugin provides all the basic daily dose of stats you need – and all easily accessible from the WordPress Dashboard. Google Analytics gives… Continue Reading →
What on earth is this? I’ve no idea what this is but it’s been haunting me (in a good way) since yesterday. First impression was mediocre but let is steep a while…
CSS hacks are here to stay but lets bundle them up in a single style-sheet… After trying to “hide my shame” [was it Zeldman that turned me on to CondComs with this phrase?] by using conditional comments for IE specific… Continue Reading →
Spotted on Hicksdesign. They liked it, I concur.
So I’m developing several sites from one end of an ADSL line with a dynamically assigned IP address. All of which use Google Anaytics. Obviously I don’t want traffic from my activities to get registered and skew any GA data… Continue Reading →
I’ve been hacking somebody else’s CMS (without access to the main engine) and needed to calculate a mathematical function on some prices. Specifically needed to display a percentage drop when given an original price as well as the current price…. Continue Reading →
[notes to self] Shadowbox Tooltip highlightFade http://jquery.offput.ca/highlightFade/old.php jquery.validate.js Lovely, lightweight carousel: http://www.gmarwaha.com/jquery/jcarousellite/ 50+ Amazing Jquery Examples- Part1 http://www.jasonbradbury.com/
[thanks to my favourite Geekologie]
I love dafont.com. Looking for a missing font and finding that on the home page. For some things there’s Mastercard. If that’s not enough to whet your wotsit – have a look at these classy artefacts: Go on… Enter
The best [and only!] wide-angle photographer’s compact to come to market in ten years. Or so it seems. There have been many quality compacts produced since digital imaging came of age. You know those arrogant/insecure youths stutting about showing off… Continue Reading →
Jason Forrest, "War Photographer", Shamelessly Exciting, Sonig Records, Dir. Joel Trussell. Mash it up.
How quickly one forgets IE7 will not add a border to a link if it’s set to display:inline. Make the little beggars display:block and your worries will fall away. Of course I knew this already…
/code.google.com/p/virtualhost-sh/ code.google.com/p/virtualhost-sh/wiki/VirtualhostsOverNetwork patrickgibson.com/utilities/virtualhost/ how-to-setup-development-domains-on-os-x/
[Update – see here. I wouldn’t recommend the Apple PHP distro anymore as it has shortcomings. Roll your MAMP!] See full description for PHP here, for activating SSI here. Add PHP with debugging Activate: goto /private/etc/apache2/httpd.conf and uncomment LoadModule php5_module… Continue Reading →
…or xkcd is inspired today I guess a link to explain Burma Shave is necessary. Tom Waits made me wonder with his song.
Update 2009 I’ve now jumped to the other side of the fence. In the name of speed and slowly [oh so slowly] dying share of IE6 I’ve stopped trying to pander to it. There’s a few extra bugs and issues… Continue Reading →
As IE can only work reliably in exclusion of other versions. the most (or only) reliable way to test various versions of IE on one machine is using virtualization. Amazing but oh-so-true. VPC images for ie6 ie7 and ie8 for… Continue Reading →
Web Developer Web Developer Firebug Yahoo YSlow for Firebug Live HTTP Headers Video grabbing Clipta. There’s plugin out there – but you won’t be able to find it on the Clipta site – Google my friend.
According to Photojojo that is. Look here for their list. It’s a good one. SmartSetr is an instant fave; does smart sets like iTunes et al.
I looked and I looked and I looked. In the wrong places, obviously. In the end I found a site that calculated the local time of sunrise, noon and sunset. There it goes for posterity.
Gold old Mac OS X Hints. I’ve looked for this shortcut several times over the last fifteen years across versions – never found it. Not online or in the Help files. Here it is: Control-U. GRRRREAT!
Finding a Flash slideshow generator to use for a fancy site we’re working on… The Daddy Monoslideshow. Fully featured and customisable Flash slideshow generator. The best bet for us cheap ass developers. A bargain at $19.95. The also-rans Slideroll. Free Flickr/Youtube-like… Continue Reading →
Update 2 Thanks to this great list of open-source apps for Mac OS X there another option to look at: AbiWord. I’ve not tried it yet but it looks set to beat my non-starting attempts with OpenOffice (office Mac is PowerPC… Continue Reading →
I couldn’t get Drupal to generate Clean URLs yesterday despite following all the steps. Couldn’t work out why my test install wouldn’t do this simple trick when this blog already has a mod_rewrite (RewriteEngine) activated – and the Drupal test site in… Continue Reading →
The great work of others pt1 The great work of Jim Schomberg. Found thanks to Steve Smith’s Tumblelog.
[Update 2009 – OK now I’m not the total newbie anymore and would have to recommend Shadowbox on top of jQuery for it’s versatility and power. Slimbox is still great though.] The Contenders Slimbox The true successor to the king… Continue Reading →
It’s taken quite a few hours of trial and error and things not working – but in the end it’s not too complicated. In essence getting your video onto a webpage is a two part process – encode into FLV… Continue Reading →