Adding ‘menu order’ column to custom post type admin screen

I want to use the menu order attribute to control ordering for a custom post type that’s going to be used for a specific purpose. It’s easy enough to add this to the CPT via supports => array(‘page-attributes’) but how do I expose the menu order value on the admin listing screen for this CPT? Source: https://wordpress.stackexchange.com/feeds

Get all categories and posts in those categories

I am looking for a solution that allows me to print the following: Cat 1 Cat 2 Cat 3 Post 1 Post 1 Post 1 Post 2 Post 2 Post 2 Post 3 Post 3 Post 4 EDIT I am looking for something that will only require one database query! So if you have a foreach in your code followed by a new WP_Query then that is not what I am looking for (I am planning to put this onto my website’s homepage). Source: https://wordpress.stackexchange.com/feeds

Web Design Weekly #32

Headlines The Industry This new blog brings a new voice to tech media. Highlighting design focused startups and people. They are an independent news entity and strive to be a positive force in our community. Founded in November of 2011, with the main goal is to shed light on those overlooked by the mainstream media. (theindustry.cc) Responsive Images Community Group If you think Responsive Web Design needs responsive images in HTML, a new w3 ccommunity group has just started. (w3.org) Starbucks get’s a makeover: Responsive + Modernizr + H5BP (starbucks.com)…

Web Design Weekly #31

Headlines Offscreen Magazine Ladies & gentlemen. Offscreen Magazine – Issue No1! Offscreen is a collectible print magazine with an in-depth look at the life and work of people that create websites and apps. (offscreenmag.com) Lea Verou talks about Kittens & -webkit- In our eagerness to use the new bling, we often forget how many people fought in the past decade to enable us to write code without forks and hacks and expect it to work interoperably (sic). (alistapart.com) A brand new look for HTML5 Rocks (html5rocks.com) Responsive text is a…

how to compare different timestamps in wp-query for events custom post types?

I have a custom post type with custom metaboxes (as seen on wptheming.com) and would like to make a query to show upcoming events, say in the sidebar, where past dates are left out. But I need a value of the current time to compare with the events start time. Right now i got a current time from current_time(‘mysql’) that looks like this: 2012-02-16 13:15:31 And a start time from the meta that looks like this: 201108121100 How can I make the two dates comparable? Can i do it inside…

Web Design Weekly #30

Headlines Mobile Web Resources “Where do I go to learn about all this stuff?” An extensive list of helpful tools and resources that can help you create great mobile web experiences. Maintained by Brad Frost. AWESOME!!!! (mobilewebbestpractices.com) Remote-Tilt Testing motion events was never going to be an easy task. You have two options, both of which suck. Thats why Remy Sharp developed Remote-Tilt. By including a single line of JavaScript you can emulate device motion events. (remote-tilt.com) Moving an element along a circle (lea.verou.me) CSS Variables (W3C draft specification) (dev.w3.org)…

Web Design Weekly #29

Headlines Twitter’s Bootstrap toolkit hits 2.0 Bootstrap 2 brings a plethora of changes and new features to the toolkit. Much of their work was guided by the experiences while working on Twitter.com’s latest redesign. Mark Otto and Jacob Thornton have added more features, better documentation, smarter default styling, and more. (twitter.github.com) Designing for touch Fingers and thumbs turn desktop conventions on their head. Interaction designer Josh Clark explains what you need to keep in mind when designing for mobile touch screens and compares finger-friendly touch interfaces for iPhone, iPad and…