May 17th, 2012
I wanted to familiarize myself with the much-touted canvas element, so I used it to build an interactive celtic knot generator/editor. Give it a try.
Launch the celtic knot generator.
Note: Requires a fairly modern browser.
Instructions
When you first load up the knot generator, you will see a 10×10 grid filled with […] Continue Reading…
14 Comments
| Web Apps, Web Development
| Permalink
Posted by Jānis Elsts
May 3rd, 2012
You’ve probably seen the small notification bubble that shows up in the Dashboard menu when a new update is available. Here’s how you can add a menu bubble to your own custom menu:
function add_menu_with_notification_bubble() {
$bubble = sprintf(
' <span class="update-plugins"><span class="update-count">%d</span></span>',
42 //bubble contents
);
add_dashboard_page(
'Example Menu',
'Example Menu' . $bubble,
'read',
'example-menu-item'
);
}
add_action('admin_menu', 'add_menu_with_notification_bubble');
The resulting […] Continue Reading…
No Comments »
| WordPress Development
| Permalink
Posted by Jānis Elsts
April 10th, 2012
Now that spring has arrived (at least in the Northern Hemisphere), it is an excellent time to clean up and decruft your WordPress site. In this post I will show you a number of plugins and techniques that you can use to do just that.
Note: Back up your database […] Continue Reading…
22 Comments
| Blogging
| Permalink
Posted by Jānis Elsts