Web Design Weekly #68

Headlines Blue Beanie Day In this rapidly unfolding age of multiple device platforms and web access experiences, standards are more important than ever, even as they come under renewed pressure. There will always be those who proclaim that standards are a failed process, an obstruction, an anachronism. The desire to go faster and be shinier will always tempt developers to run down proprietary box canyons. Come November 30th, thousands of us will don our blue beanies. I hope you’ll be among us. – Eric Meyer. (meyerweb.com) Proposal for Touch-Based Animation…

Web Design Weekly #67

Headlines In Defense of Descendant Selectors and ID Elements Big bad Zeldman is back to his best. The argument between IDs and classes is not going to end any time soon, but as always, this piece is worth a read. It’s entertaining with some very thoughtful points. (zeldman.com) Native CSS feature detection Chris Mills over on the Opera development blog gives a run down on the very cool CSS3 @supports rule. At the moment this is only in a few browsers, which will no doubt change soon. So in the…

In Defense of Descendant Selectors and ID Elements

http://www.zeldman.com/2012/11/21/in-defense-of-descendant-selectors-and-id-elements/ Jeffrey Zeldman: In this particular (and rare) circumstance, where dueling developers have added rule after rule to a huge, shapeless style sheet that is more of an archeological artifact than a reasonable example of modern code, Nicole’s admonition to avoid descendant selectors based on id is probably wise. If you have the misfortune to work on a huge, poorly developed site where you will never have permission to refactor the templates and CSS according to common sense and best practices, you may have to rely on class names and…

Keeping up with Chrome Developer Tools

In today’s world, as the web evolves so do the tools. Keeping up with what’s happening is important in our industry. However, keeping up with everyday development tools is as important, if not more so. The Developer Tools in Chrome have been in rapid development for the last couple of years, and I certainly have not been using them to their fullest potential. Hopefully the resources below will bring you up to speed. Wait, Chrome Dev Tools could do THAT? Your browser is one of the most and best instrumented…

Can the Next/Prev Post links be ordered by menu order or by a meta key?

I have a series of posts that are ordered by a meta_key value. They could also be arranged by menu order, if necessary. The next/prev post links (generated by next_post_link, previous_post_link, or posts_nav_link all navigate by chronology. While I understand this default behaviour, I don’t understand how to change it. I found that it maps through to adjacent_post_link in link-template.php, but then it starts to seem fairly hard-coded. Is it recommended to re-write this from scratch to replace it, or is there a better solution. Source: https://wordpress.stackexchange.com/feeds

wp_query to display custom taxonomy terms

I have a custom post type named ‘tours’ and custom taxonomy named ‘tourtypes’ so i can categorize it into terms like ‘cultural tour’, ‘sports tour’ etc. I’m not the original author of this theme and don not know much about dealing with taxonomy. But I want to extend it so that instead of outputting all ‘tours’ post, user can also choose which tour category they want. in the theme template taxonomy-tourtypes.php this is part of the code to display the term title which work: <?php $terms = get_the_terms($post->ID, ‘tourtypes’); foreach…

Web Design Weekly #66

Headlines Design Salary Guide Since 2001 Coroflot has collected and reported salary information from tens of thousands of design and creative professionals around the world. A great resource to use in your own salary negotiations or as a resource when building your team. (coroflot.com) Hot in web standards: September/October 2012 Lea Verou explains the latest developments at the W3C including the new W3C Dev Relations initiative, WebPlatform.org, the speech API proposal and the Test The Web Forward event. (netmagazine.com) Bugs and tricks any Senior Frontend Web Developer should know (andrespagella.com)…

Web Design Weekly #65

Headlines HTML5 Boilerplate Web Development Book! Pre-order Divya Manian’s new book! The book aims to be a practical guide rich with information on getting the best out of the boilerplate. This book is for all developers who are familiar with creating web projects using HTML, CSS, and JavaScript, however, no deep knowledge is necessary. (amazon.com) Ratchet Prototype iPhone apps with simple HTML, CSS and JS components. Built by Dave Gamache, Connor Sears, and Jacob Thornton who all worked at Twitter once upon a time… Awesomely executed product and site! (github.com)…

Slow Query for the wp_options table

I have been tracking the slow queries log of the WP based site (with the default value of the a long_query_time set to 10), and I have noticed that the following query is often getting logged – # User@Host: root[root] @ localhost [] # Query_time: 0 Lock_time: 0 Rows_sent: 394 Rows_examined: 458 SELECT option_name, option_value FROM wp_options WHERE autoload = ‘yes’; I do not understand how such a small table can take so much time to execute. Is this just a symptom of some other problem? (Currently running Moodle, phpbb…