Category Archives: Wordpress

Wordpress is a blogging CMS, it is the software powering this site and many others on the internet

WordPress Default Error Codes (also good for other systems)
Date Created: July 13, 2017  Date Modified: July 13, 2017

WordPress error codes sit in functions.php, they are well worth learning–especially if you are not familiar with error codes.


100 => 'Continue',
101 => 'Switching Protocols',
102 => 'Processing',

200 => 'OK',
201 => 'Created',
202 => 'Accepted',
203 => 'Non-Authoritative Information',
204 => 'No Content',
205 => 'Reset Content',
206 => 'Partial Content',
207 => 'Multi-Status',
226 => 'IM Used',

300 => 'Multiple Choices',
301 => 'Moved Permanently',
302 => 'Found',
303 => 'See Other',
304 => 'Not Modified',
305 => 'Use Proxy',
306 => 'Reserved',
307 => 'Temporary Redirect',
308 => 'Permanent Redirect',

400 => 'Bad Request',
401 => 'Unauthorized',
402 => 'Payment Required',
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed',
406 => 'Not Acceptable',
407 => 'Proxy Authentication Required',
408 => 'Request Timeout',
409 => 'Conflict',
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
413 => 'Request Entity Too Large',
414 => 'Request-URI Too Long',
415 => 'Unsupported Media Type',
416 => 'Requested Range Not Satisfiable',
417 => 'Expectation Failed',
418 => 'I\'m a teapot',
421 => 'Misdirected Request',
422 => 'Unprocessable Entity',
423 => 'Locked',
424 => 'Failed Dependency',
426 => 'Upgrade Required',
428 => 'Precondition Required',
429 => 'Too Many Requests',
431 => 'Request Header Fields Too Large',
451 => 'Unavailable For Legal Reasons',

500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
506 => 'Variant Also Negotiates',
507 => 'Insufficient Storage',
510 => 'Not Extended',
511 => 'Network Authentication Required',

I hope this helps for when customizing WordPress.

GreenScreen Updates
Date Created: January 17, 2013  Date Modified: January 27, 2013

the GreenScreen child theme I made for this blog has been updated and the project is now hosted on github. The repository with the CSS and lack of release notes can be easily found.

The theme now supports Disqus comments and is almost ready for live deployment.

UPDATE 27.1.13: I have added the github commits RSS to the right hand widget area on this and the plugin page…

An AGLC3 Plugin
Date Created: October 6, 2012  Date Modified: October 8, 2012

I decided after posting my first LAW150 assignment I realised that lawyers dont really hate HTML, its just too much effort to manually code tags or worse still paste MS Word generated HTML into most web text areas.

A simple solution would be to hack the CSS and add things like Act classes, but that would be out of the scope for some legal bloggers who have to dedicate more time to legal research than learning how to CSS.

It was pointed out early on that one could use the “i” button, well that puts text in <em> tags, which for Accessibility, is not appropriate.

A BETTER solution would be to create a simple WordPress plugin that adds the functionality without having to manually edit any CSS files.

To use this with the shortcode, simply place the square brackets around the [ Act ] Name of the Act [ /Act ] 2001. Im currently working on shortcodes for Australian jurisdictions to make it even easier for those “dumb lawyers” 🙂

This is still in BETA, as I just started this on a rainy Sunday morning; I aim to create a short code for this to simplify it even more, but for now its in a testing stage.

UPDATE: Now prints 12pt Times, but I dont use printers so I cant test it (too many years not printing things @DEC)

Update and revert
Date Created: August 20, 2012  Date Modified: May 12, 2013

I decided that my customisations to the twentyeleven theme were getting a bit unmanageable and my timeline for putting the CSS together in a child theme is running out. Back to square one, goodbye funky CSS3 styles (they will be back). I will have a new theme coming in the new year, but for now its OOTB wordpress.

UPDATE 13-5-2013: Well it’s certainly into the new year and I have been doing a bit of site maintenance, so Im linking any posts mentioning an earlier theme to the GreenScreen Theme page.

WordPress 3.4
Date Created: June 14, 2012  Date Modified: January 21, 2013

Just upgraded wordpress to this blog, and in typical wordpress efficiancy it updated without a hitch. Im not a big fan of the theme editor, but I see it adding value to the brand. Im not going to rag on about it, I’ll just let their promotional video do that:

UPDATE 21.1.13:Since this is random edit your blog day I had decided to centre the vid in a div… Such an exciting life

WordPress 3.3
Date Created: December 12, 2011  Date Modified: May 2, 2012

Well I said I was going to refrain from blogging while Im on contract to DEC, but a new version of WordPress is worth a mention on here–since this site is powered by WordPress. Lets hope all my plugins work as I chose not to run with the Beta on this site..

http://wordpress.org/news/2011/12/sonny/

[VIDEO] The CMS Rap…
Date Created: November 20, 2011  Date Modified: May 2, 2012

I was sent this a while ago but didnt click the link till today… This guy is the Biggie Smalls of WebRappers!–bigger than Heavy-D and his boys.

http://youtu.be/Zw-oflFWiR8

Layout Changes (navigation)
Date Created: September 26, 2011  Date Modified: September 26, 2011

So I have spent the afternoon knee deep in CSS customizing the navigation and Im nearly happy with the layout. Now my problem is to go thru and edit each post to fit within the layout, there are about 6 blogs of mine I have bought together in this site and none had the same template, tho most of my blogger accounts are not the issue–its the bleepin Murdoch blog that has given me the most drama so far–and it does not suprise me given that we could only choose from a few templates and no access to the template files.

Im yet to check this site in IE; I know thats not best practice but I spent the last 12 months building spesifically for IE (UNDA company policy was Microsoft-centric), so now that Im free to work on my own site Im quietly avoiding that little blue “E”…

On the topic of IE: one thing I did notice is that the Twenty Eleven theme sitll supports IE6. Great for people with computers that still have windows 98–but not nessisary for anyone (read: everyone) else. Im tempted to take out all the “if IE6” CSS, or put a javaScript browser detectioin that redirects IE6 users to Microsoft’s downloads page but thats a bit conceded and arrogant.

The market share of IE6 is now at 2.0%, less than Safari, less than the more standards compliant Opera. Im not forced to support it but if I dont, its basically saying Im only 98% of a web developer, as Im only serving potentially 98% of the market.

I guess its something to think for another day, I’ve done enough for now..

Ch-Ch-Ch-Ch-Changes…
Date Created: September 19, 2011  Date Modified: January 22, 2013

playing with the CSS today so the site might look wacky.. I dont like the OOTB twentyEleven theme..

Im baseing it on my blogger site layout that kind of evolved its own CSS over the years. At least I am hacking together my own style here from twentyEleven–even if im not building a theme from scratch..

Still have a few more elements to sort out before the theme is stable…

UPDATE: All thats left to do now is customise the navigation and then I think we’re done with the CSS for now.. DONE

UPDATE: I commented this out of the original post but I have decided to have it visible because this is all too common and it cheapens my industry

I think its worth pointing out that there are some design agency’s (read: more than one person unlike myself) are using OOTB paid for themes sans any custom CSS.

Im also going to add OracleDigital this list as they are another web “company” who dont even use their own theme. Im going to continue cateloguing every so called web designer in WA that, as I said in the commented out sections of this post:

Yes I am annoyed at the lack of knowledge and skills some people manage to make a living from.

I beilive in industry self-regulation–if you are making money from other peoples hard work, be afraid!.

Hacked WP? for some reason this was saved as a draft?
Date Created: September 10, 2011  Date Modified: September 10, 2011

“Πάλιν τὸ παραπέτασμα τῆς εἰς τὰ ἅγια τῶν ἁγίων παρόδου, κίονες τέτταρες αὐτόθι, ἁγίας μήνυμα τετράδος διαθηκῶν παλαιῶν, ἀτὰρ καὶ τὸ τετράγραμμον ὄνομα τὸ μυστικόν, ὃ περιέκειντο οἷς μόνοις τὸ ἄδυτον βάσιμον ἦν*λέγεται δὲ Ἰαουε, ὃ μεθερμηνεύεται ὁ ὢν καὶ ὁ ἐσόμενος. Καὶ μὴν καὶ καθʼ Ἕλληνας θεὸς τὸ ὄνομα τετράδα περιέχει γραμμάτων.”

google translate tells me the above reads:

“Again the veil of the Holy of Holies Lane, columns tettares ibid, holy message quartet wills old, ATAPI and tetragrammon name secret, the periekeinto ois monois sanctuary merits not * said he Iaoue the translates is and is esomenos . And do not and during the Greek god name contains four letters. “

I didnt notice the draft prior to migrating to the new domain, but it could have been imorted from the blogger accounts I merged into here… I dont have time nor inclination to investigate. Surviving a new city is my prority

This rant was posted in CMS, Hacks, Wordpress on by .

My new WordPress driven Site
Date Created: September 4, 2011  Date Modified: September 19, 2011

Well after years of working with CMS systems–and avoiding having one drive my own online content, I have now bitten the bullet and setup wordpress! (is the exclamation mark intellectual property of Joomla!?)…

Currently have just imported a couple of my blogs, and a few questions that came to me via formspring here and there is no REAL content, I aim to get that in coming weeks. and also change the CSS so its not looking so default.. (I avoided using the word “Designer” in the title because of this.)..

Anyway, Ive left UNDA and Im off to explore the fine city of Melbourne so Im not having much time to maintain this site.

Peace

I have decided to move my site to…
Date Created: November 8, 2009  Date Modified: September 4, 2011


This post was the Hello World for this wordpress installation that I had on my site, but only used as a sandbox and sample site for projects; both my own and for clients. At the time I chose not to use wordpress as the CMS driving this site–I was wanting to be taken seriously as a CMS developer and it would, as I thought, have been counter-intuitive to use a blogging platform as a Content Management System.

Some time has passed since then and I have worked with a number of systems and considered at one point even using MySource Matrix here. At first some might consider that as overkill but as a Web Developer who deals with multiple sites, an enterprise level CMS built for multi-site, multi-domain deployment could have been an interesting way of managing projects… I decided against it for obvious reasons.

Anyway, nearly two years passed without any software driving these pages–but now we have it. WordPress. Lets see how long it is before I switch to Drupal (which I also have on this server for the same reasons and length of time as WP).

ots late and there is much to do. at least this migration wont take too long…