• Portfolio
    • Posters & Logos
    • Websites
    • Galleries
    • Blog
    • About
  •  
  • View All
  • |
  • Design
  • Featured
  • HTML & CSS
  • Misc
  • PHP
  • Uncategorized
  • Wordpress
  •  Sunday June 12th, 2011
    Posted in: Design & Featured
    Share: Twitter ∞ Facebook
    No comments ∞
  • Making of: Bass on cloud nine

    Sunday June 12th, 2011
    Posted in Design & Featured
    Share: Twitter · Facebook
    No comments

    Recorded the making-of my latest work — I’ve been wanting to make one of these videos for years.. Music from a podcast, I can’t find the first track, but the second one is Ghosts ‘n’ Stuff by Deadmau5. Screen recorded using Quicktime 10, & put together with iMovie ’11. Elapse span: just over 4 hours.

    continue reading →

    Tags: <editing>, <graphic>, <howto>, <making of>, <photomanipulation>, <photoshop>
  •  Friday December 17th, 2010
    Posted in: Design, Featured, Misc
    Share: Twitter ∞ Facebook
    No comments ∞
  • Through My Lens

    Friday December 17th, 2010
    Posted in Design, Featured, Misc
    Share: Twitter · Facebook
    No comments

    This is a stop motion sort of video I made from a collection of 8000+ pictures I took of Natalie thoughout summer 2009 – showing the moments between the published pictures.. Music Dawn Chorus by Boards of Canada. Put together with QuickTime 9, and iMove ’10.

    Tags: <Boards of Canada>, <stop motion>, <Summer>, <Video>
  •  Thursday October 6th, 2011
    Posted in: Wordpress
    Share: Twitter ∞ Facebook
    No comments ∞
  • WordPress WPIndexatic Theme

    Thursday October 6th, 2011
    Posted in Wordpress
    Share: Twitter · Facebook
    No comments

    WPIndexatic (derived from: WordPress – indexhibit – thematic) is a open source WordPress Theme inspired by Indexhibit.org (an open source cms, primarily for artists showcasing their work).

    The clean look and easy to use horizontal scrull makes the website very user friendly. WPIndexatic uses WordPress + Thematic + Attachments + a few settings customizable theme settings to build a similar look to indexexhibit.org, but in the familiar wordpress interface.

    DEMO SITE 1   DEMO SITE 2   Download

    Requirements
    • At Least WordPress 3.2
    • Thematic (the parent theme) by Automattic
    • Attachments (or Attachments Pro) by Johnathan Christopher
    Features:
    • horizontal gallery for any/all pages
    • Facebook comments
    • Settings page to easily change layout dimensions (width, spacing, height,ect.)
    Future Development:
    • Different gallery layouts (tile, slideshow, thumbnail, ect)
    • CSS GUI for admin
    • Alternate Commenting systems (Highlander once it becomes available)
    • Create independent theme (separate from thematic)
    FAQ
    • Images I uploaded before are all different heights! It looks really weird!
      • You need to regenerate your thumbnails – it’s only a few clicks! It will make them all the standard height of your new theme. Every time you change your theme’s height this the images need to be regenerated
    • How can I can an images before a pages description?
      • Using wordpress’s “Featured Image” puts a featured image before the description,
    • Why do I have to install the “Themeatic” theme as well as the “WPIndexhibit” theme?
      • The guys at themeatic are genius’ – they’ve developed a system that allows rapid development of wordpress themes. It uses “Parent > Child” theme logic, so this theme is just a modified version of “Thematic” that requires it’s source code.
    • How do I turn off comments for a page?
      • Just as you would normally, In your edit page screen, uncheck “Allow comments.”  is the “Discussion” meta box
    • What’s the ✍ icon for?
      • When you’re logged into WordPress, that hand icon ✍ is a “Edit Page” link, allowing you to directly edit any page instead of navigating to it manually.
    Installation
    • Download and Install WordPress
    • Download and activate Thematic & WPIndexhibit
    • Set WPIndexhibit as current theme
    • Download, install and activate Attachments
    • (Add Pages & text content, if not exist)
    • Attach images to pages
      • To attach: make sure pages have the “Attachments” plugin (Settings > Attachments > [x] Pages)
      • Go to desired attachment page, “Attachments” meta box, button opens pop-up. Use “Attach” button (where “insert in to post” usually is in pop up) to insert into page
      • Add Title/Caption
      • Publish!
      • Change the layout, customize CSS, upload site logo, turn off site name/tagline: “WPIndexhibit Settings”
    Support
    • tweet me: @david_sword
    Notes
    • “Featured Images” will show/tile horizontally just as Page Descriptions and Attachments do, but “featured images” will show before the page description.
    Showcase
    • carriewalker.com
    • (submit yours: @david_sword)
    Change Log
    • Version 1.0
      • May 19, 2012
      • Initial Release, submission to WordPress.org
  •  Saturday August 27th, 2011
    Posted in: PHP & Wordpress
    Share: Twitter ∞ Facebook
    No comments ∞
  • Get IDs of WordPress Menu Items

    Saturday August 27th, 2011
    Posted in PHP & Wordpress
    Share: Twitter · Facebook
    No comments

    WordPress 3 introduced Custom Menu’s, which is a great feature, but when calling a menu with wp_nav_menu() it builds the menu with the ID’s relative to the menu itself, and not the actual object ID’s the menu items represent.

    I needed to get the ID’s of a menu list, here’s how I did it:

    function get_ids_of_nav_menu($nav_slug) {                              
     
        // lets get all wordpress menus
        $terms   = get_terms('nav_menu');
     
        // cycle through terms (custom menus) and find $nav_slug
        $term_id = '';
        foreach ($terms as $aterm) {
           if ($aterm->;slug == $nav_slug || $aterm->name == $nav_slug)
                $term_id = $aterm->term_id;    
        }
     
        // get all objects in found menu
        $items        = get_objects_in_term( $term_id , 'nav_menu' );
     
        // get the custom navigations ID's of pages
        $menuids      = array();
        foreach ($items as $uselss => $menu_id) {
           $realitem                       = get_post($menu_id);
           $object_id                      = get_post_meta( $realitem->ID, '_menu_item_object_id', true );
           // get the specified menu order, use as key for sorting after
           $menuids[$realitem->menu_order] = array('menu_id' => $menu_id, 'object_id' => $object_id );
        }
     
        // order by the the custom menu as seen in appearance > menus
        ksort($menuids);
     
        // rebuid &amp; the array
        $return = array();
        foreach ($menuids as $order => $ids) {
           $return[$ids['menu_id']] = $ids['object_id'];
        }
        return $return;
    }
  • ← Previous Page 
  • Page:   1  |  2  |  3  |  4  |  5  |  6  |  7                
  •  Next Page →
 
  • David Sword
    David Sword
    Digital Artist & Developer
    davida @daavid_ sword.cacom
    Always having the same reoccurring thought at gym... "damnit, forgot to wear deodorant"
    5 hours ago.

    Follow @david_sword

  • Contact Me


  • Online Print Store
    • limited edition
    • hand signed
    • seq. numbered
    • qlty paper+ink
    • never reprints
    • Paypal/Interac
    Visit Store! →

    Coming soon.

  • Instagram
    • Good eatin

© Copyright 2006 - 2012 David Sword. All Rights Reserved   ∞   Credit & Resources   ∞   Links   ∞   Proudly powered by Wordpress & heyyou   ∞   Mobile Site