Web development , php , ajax , symfony, framework, zend
In: Coding|php|programming
29 Jul 2011Easily replace WordPress editor font Don’t like the default font used by WordPress editor? No problem, the following code will allow you to change it. Simply paste it to your theme functions.php file. You can define which font to use on line 5. add_action( 'admin_head-post.php', 'cwc_fix_html_editor_font' ); add_action( 'admin_head-post-new.php', 'cwc_fix_html_editor_font' ); function cwc_fix_html_editor_font() { ?> [...]
In: Coding|php|programming
7 Jun 2011Color animate any shape with CSS3 and a PNG Let’s start this compilation with an interesting effect created using only CSS3: A png image with a changing background. The background is using CSS3 transitions. Not the kind of effect you’ll put on your website, but definitely an interesting demo of what CSS3 can do. View [...]
In: Coding|php|programming
7 Jun 2011Before editing your .htaccess file, always make a backup so you can restore it if needed. Remove www in url For SEO reasons, you might always remove (or use) the www prefix in your urls. The following snippet will remove the www from your website url and redirect any url with the www to the [...]
In: Coding|php|programming
7 Jun 2011Getting started View Demo Download files 1 – Add HTML5 doctype The first thing to do is create a valid HTML5 document. The HTML5 doctype is easier to remember than ones used for xhtml: <!DOCTYPE html> <html> … Create a file named index.html, or get the example files from my CSS3 media queries article to [...]
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.