Tutorials Page 134

  • By
    HTML5 hidden Attribute

    HTML5 has given us some simple but incredibly useful HTML attributes:  placeholder, download, and autofocus to name few.  Another new attribute is the hidden attribute.  When applied to an element, the hidden attribute acts very much like CSS' display: none;  the element disappears...

  • By
    WordPress Plugin:  Remove Posts in Category From Homepage

    Being a WordPress user for some time, I've always wanted to create a WordPress plugin but I've hesitated.  I've not run into an issue that I couldn't find an existing plugin for, and the thought of maintenance on a WordPress plugin seemed daunting because...

  • By
    Prevent Posts in a Category From Displaying in WordPress’ Loop

    This code snippet has become a WordPress plugin! Categories are obviously a major "classification" utility for websites and blogs that use WordPress.  Sometimes you want a category to represent more than just a basic post subject classification -- you may want a category of your blog...

  • By
    Python Decorator for Preventing Robot Indexing

    Much of my time at Mozilla has been spent catching up to the rest of the MDN team with respect to python.  The new MDN backend, codenamed Kuma, is entirely Django-based and has been a joy to learn.  My latest python adventures have been focused on...

  • By
    Disable WordPress autop

    Back when I first started this blog, and in turn using WordPress, the most annoying part of blogging was WordPress' auto-formatting.  WordPress would strip out custom attributes, mess with my DIV and paragraph structure, and just generally raise havoc.  It bugged me so much that since...

  • By
    Full Width Textareas

    Working with textarea widths can be painful if you want the textarea to span 100% width.  Why painful?  Because if the textarea's containing element has padding, your "width:100%" textarea will likely stretch outside of the parent container -- a frustrating prospect to say the least.  Luckily...

  • By
    Mighty Deals:  Win an iPhone 5!

    Mighty Deals has been putting together some great deals lately but this is the best one yet!  Mighty Deals is simply giving away an iPhone 5 to one lucky person, anywhere in the world!  All you have to do is click the button below! Not like I...

  • By
    Retrieve Headers with cURL

    We all know the cURL is incredibly useful.  We can retrieve remote content with curl, post to a remote URL, and perform hundreds of other tasks.  One simple task that can be completed is simply retrieving basic response headers.  To test the robot...

  • Media Temple Hosting
  • By
    Prevent Robot Indexing with Response Headers

    Every so often you have parts of your website that would be better off not indexed by search engines.  API calls, search result pages, PDF documents -- all examples of responses which may not have value outside of the current user.  No we all know we...

  • By
    12 Incredible CodePen.IO Demos

    Whenever I need to put my ego in check, I go to Chris Coyier's new CodePen.IO site.  CodePen.IO is an incredible showcase of HTML, CSS, and JavaScript, displaying the talents of developers creating effects that 99% of the world's front-end developers couldn't create.