Keith Devon

  • HTML Fractions

    I wanted to use some pretty fractions in an article today. I don’t like the look of “1 1/2”, not very elegant. Of course, the answer lies within HTML special characters. There are a few ways to achieve the same thing: ¼ will give you ¼. You can change the ‘1’ and ‘4’ to any other number.…

    Read More

  • Drop down menus, z-index and IE

    One of Internet Explorer’s (IE) most commonly encountered bug is when using z-index. I experienced this recently when using the DDSlider plugin for WordPress along with a drop down navigation. Whilst doing some browser testing I noticed that the drop down menu hides behind the DDSlider. I tried to fix this using z-index. I applied…

    Read More

  • Spinning Update progress on WordPress pages

    Spinning Progress Wheel One of my clients recently informed me that a site that I had built had a problem; when some pages were published or updated, the progress wheel would spin until the browser eventually timed out. It had been a month or so since I had finished the site development and there had…

    Read More

  • Web Design Brief

    Every good web site starts with a detailed brief. A good brief will help to ensure the following: Limits scope creep Improves costing accuracy Clearly defines tasks Specifies delivery dates Provides context for the developers Sets expectations Improves communication* * Website Owners Manual (Boag) I have developed a brief questionnaire for you to download. Please…

    Read More

  • New Communications Policy

    In a move to increase working efficiency and effectiveness I am changing my communications policy and systems. My new office number is 02081 330 596. Please save this as my primary contact number. I am currently checking and responding to email and voicemail twice daily, at 12pm and 4pm. If you require urgent assistance (please ensure that…

    Read More

  • Internal Link Layout Issue

    I recently came across an unusual problem when using internal links on a WordPress site. The link in question linked from one page on the site to a specific section on another page of the same site. When this link was followed there was an error with the page layout. More accurately, the new page…

    Read More

  • Custom Post Type Archive Pages – WordPress

    Need to show your custom post types on your category archive pages? Add this to your functions.php file: add_filter(‘pre_get_posts’, ‘query_post_type’); function query_post_type($query) { if(is_category() || is_tag()) { $post_type = get_query_var(‘post_type’); if($post_type) $post_type = $post_type; else $post_type = array(‘post’,’cpt’); // replace cpt to your custom post type $query->set(‘post_type’,$post_type); return $query; } } Now change the variable…

    Read More

  • WordPress Custom Post Templates

    Once you have built a Wordpres custom post, you will often want to style it using it’s own template. I searhed the web for a solution and courtesy of twothirdsdesign, if found the answer. The template used for a custom post view is decided by the ‘get_single_template()’ function in the wp-includes/theme.php file.  And it basically…

    Read More

  • Cufon visited link color fix

    I recently had an issue with the color of visited links when using Cufon. More specifically, I am using the WP-Cufon plugin with WordPress. The issue I had was that the color I set for the link wasn’t being rendered by Cufon. In firebug it showed that the element color was red, but it was showing…

    Read More