August 8th, 2012
For all your theme testing and plugin development needs, here’s a huge list of WordPress sample content collections and dummy content generators.[raw]
.entry img, .entry a img
{
max-width: 498px;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 2px 2px 6px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 2px 2px 6px rgba(50, 50, 50, 0.75);
box-shadow: […] Continue Reading…
4 Comments
| Blogging, WordPress Development
| Permalink
Posted by Jānis Elsts
July 30th, 2012
If you’re a WordPress developer, this will probably sound familiar: you make a change to one of your scripts or style sheets, reload the page you’re working on to see the result, and… everything stays the same.
Of course, after a moment of confusion, you realise that you didn’t update […] Continue Reading…
8 Comments
| WordPress Development
| Permalink
Posted by Jānis Elsts
July 25th, 2012
Whether you’re using WordPress for development or simply as a blog or CMS, it is always a good idea to keep an eye on your PHP error log.
As a developer, it helps you notice and fix errors in your code.
As a normal user, it lets you discover plugin bugs, […] Continue Reading…
40 Comments
| WordPress Plugins
| Permalink
Posted by Jānis Elsts
July 17th, 2012
The built-in json_encode() function in PHP puts everything on one line. For development and debugging, it can often be more useful to have properly indented, human-readable JSON that makes it easier to manually inspect the encoded data and check it for problems.
Here’s a function that lets you format/pretty-print any […] Continue Reading…
3 Comments
| Web Development
| Permalink
Posted by Jānis Elsts