Yummy Wakame Weblog

Archive: PHP


Jan13

WordPress HOW TO: Add Facebook “Like” and “Share” buttons on index.php

You can find instructions everywhere on how to add these buttons to individual pages in WordPress, but when it comes to the index page (the main blog list page), just putting the code into the loop doesn’t work. You need to also specify the page URL for each post, or facebook will unhelpfully link to your main blog page every time. Here’s the code:

(more…)

Read the full article »2 comments

Apr15

Making It So

After over 5 years Yummy Wakame finally has a sleek new look! This has been a work-in-slow-progress for over a year now, as always with personal projects it’s been the last priority after paid work. At one point I thought it would never happen and didn’t touch it for about 4 months, figuring I’d work on it once work slowed down completely, but that never happened, and since October last year I suddenly found myself revelling in a whole lot more free time than I was used to. So YAY for Yummy Wakame! I guess now I’ll be passing around the business cards instead of cringingly giving out the URL to new clients. This design is a much better fit, inspired by something very meaningful to me. The portfolio isnt groaning under the weight of crusty 7 year old projects anymore. The new site and portfolio is so much easier to keep fresh thanks to WordPress, without needing to do a further stitch of code. I can make you a WordPress powered site too!

Oh and I’m working on the issue with the homepage taking a year to load. The hidden portfolio pieces are massive and unfortunately are loading before they are needed, so I still have to figure out how to load them on demand. Hopefully you all have broadband.

If anyone knows what that Kanji character is in the favicon you get +10hp!

Read the full article »16 comments

Apr2

New Sock Dreams Launches Today!

After a long production that felt like a bajillion years ago the all new and improved Sock Dreams site has finally launched! Today! I am so excited! Dan Foley did the backend, all the scripting and heavy duty stuff. He created it completely custom from scratch for Sock Dreams. I designed all the pages and created the XHTML template files for every page you see. And Monique Natosi is the owner and genius mastermind behind it all. In fact Sock Dreams was my very first freelance client all those years ago when I created the old site with my developer friend Sybrand Strauss. We never predicted it would take off in such a huge way and become the biggest sock store in the universe! We’ve been bursting out of the seams for years now so it feels so great to stretch out in a whole new lovely space that caters for a wider audience.

Love you Niq! Without you guys I may have never had the guts to go freelance! And without that I wouldn’t have the amazing travelling life I have now. Thanks for being the most wonderful client I could ever dream of and for making me feel like part of the family. Here’s to many more years of increased sales and shiny new website happiness!

Read the full article »9 comments

Jun13

Wowee! What happened to Yummy?

yummy wakameA whole new site has been designed just for you! I’m now using the wonderfully elegant WordPress because it supports my strict XHTML doctype requirements and because it gives me more flexibility than Blogger and is completely reliable. So all the old Blogger posts have been imported into the new site, but sadly all your wonderful old comments have been lost.

I’ve manually added in all the comments from the last week to make it a bit easier. If you would like to trawl through the old site begin here. It won’t be up forever though.

So what’s changed?
Well you might notice the domain is now www.yummy-wakame.com. This is because I bought this domain and a fantastic new PHP hosting server option to develop the new site on while the old site remained undisturbed. All old page links will eventually point to this new domain.

You’ll notice the site is now a LOT bigger. I desperately needed a proper portfolio site since going freelance, so that’s tucked away in there too.

The old site wasn’t standards compliant at all. It had scruffy code which I wasn’t too happy with, since I was only just learning CSS when I built it. The new Yummy Wakame validates as XTML strict, so it should render properly on all browsers that support web standards. It is AAA accessible, which means that people with disabilities and with special browsers can access the information without any problems. It is also accessible from handheld devices that can get online. And of course its all done with pure CSS. No tables or old-style HTML. Nice and clean! A lot of web designers sigh and complain that its impossible to design anything pretty under the restrictions of CSS and AAA accessible requirements, but hopefully this is an example of what can be achieved if you put your mind to it.

What’s left to do?
A special stylesheet for hand-held devices is coming soon.

And the archive, well it doesnt work so well at the moment since all the old blogger posts had no titles… so over time I will have to go in and manually edit every single post and give them titles. This will take me a long time to complete since there are a few thousand posts to fix.

I also need to send invites out to all my editors!

Oh and you might come across some pages I forgot to complete. Let me know if you do. Well, enjoy! I had fun making it.

Read the full article »+ comments

May10

PHP

“One reason for this explosive growth is that PHP is free and open source. It’s also a relatively easy language to learn and the de facto standard for developers creating dynamic Web pages. But it is also perfectly suited for deploying CSS and many other Web technologies.”

Generating Dynamic CSS with PHP
One of the things I’ve done with the new yummy wakame (I know I know, it will be launched eventually!) is used PHP in my main stylesheet. This is because each section has identical styles, but a different colourscheme. So at the top of each page (in a section server side include) I declare new values for the colour variables that page will use, and the stylesheet looks for these values when it’s loaded, filling in the colours where Ive put placeholders. This way I can avoid creating separate stylesheets for each section, keeping the site size down to a minimum, and eliminating the need to make changes across a whole bunch of stylesheets every time I make a small change.

Anyway, I found this article today which explains how it’s done. I wish I’d found it before when I originally got the idea months back. This one does it in a different way though… but it works just as well.

Read the full article »+ comments


Protect the Western Arctic Reserve From Big Oil

The Western Arctic Reserve, also known as the National Petroleum Reserve-Alaska, is the largest tract of unprotected, relatively pristine public land in the United States. The 23.5 million-acre reserve is home to imperiled polar bears, seabirds and one of the densest populations of nesting raptors in the world. Its shores and lagoons harbor beluga whales, seals, walruses and other marine mammals. The BLM is accepting comments on a planning document that sets the stage for oil and gas leasing in the western Arctic for decades to come. Help save this national treasure by telling the BLM to protect the Western Arctic Reserve from dirty fossil fuel development »

May 2012 / April 2012 / March 2012 / February 2012 / January 2012 / December 2011 / November 2011 / October 2011 / September 2011 / August 2011 / July 2011 / June 2011 / May 2011 / April 2011 / March 2011 / February 2011 / January 2011 / December 2010 / November 2010 / October 2010 / September 2010 / August 2010 / July 2010 / June 2010 / May 2010 / April 2010 / March 2010 / February 2010 / January 2010 / December 2009 / November 2009 / October 2009 / September 2009 / August 2009 / July 2009 / June 2009 / May 2009 / April 2009 / March 2009 / February 2009 / January 2009 / December 2008 / November 2008 / October 2008 / September 2008 / August 2008 / July 2008 / June 2008 / May 2008 / April 2008 / March 2008 / February 2008 / January 2008 / December 2007 / November 2007 / October 2007 / September 2007 / August 2007 / July 2007 / June 2007 / May 2007 / April 2007 / March 2007 / February 2007 / January 2007 / December 2006 / November 2006 / October 2006 / September 2006 / August 2006 / July 2006 / June 2006 / May 2006 / April 2006 / March 2006 / February 2006 / January 2006 / December 2005 / November 2005 / October 2005 / September 2005 / August 2005 / July 2005 / June 2005 / May 2005 / April 2005 / March 2005 / February 2005 / January 2005 / December 2004 / November 2004 / October 2004 / September 2004 / August 2004 / July 2004 / June 2004 / May 2004 / April 2004 / March 2004 / February 2004 / January 2004 / December 2003 / November 2003 / October 2003 / September 2003 / August 2003 / July 2003 / June 2003 / May 2003 / April 2003 / March 2003 / February 2003 / January 2003 / December 2002 / November 2002 / October 2002 / September 2002 / August 2002 / July 2002 / June 2002 /

Site Search


My Life Is a Circle…

I live for love. I love to travel. I travel for life.
Find out more…


Recent Comments


Avidly Reading


#5 is Alive!

1 user viewing this page:
1 guest

visitors browsing this site:
8 guests, 3 bots

Most visitors ever recorded at one time is 167 on March 22, 2011 @ 2:01 am

See? view 'em


AN Hosting

Mega hosting for $5.95/month
FREE site move
FREE domain registration

Thanks AN Hosting! YOU GUYS ROCK!

Site Map { snoop snoop dee doop! }

Freelance Portfolio: Latest Portfolio » About

Expertise: My Background » My Coding Standards » Testimonials » Accessibility & SEO » Custom WordPress Template Design

Captain’s Blog

Love & Karma: Discount for Non-profits & Charities That Love » Environmental Policy » Ethical Policy » Sharing the Bounty » Site Credits

Get In Touch

{ 2002 - 2012 © yummy-wakame.com | all rights reserved }

^ back to top