Feature
Post

Category
General

Wordpress Hops on the Shuttle

What happens when a bunch of designer greats get together to work on improving the Wordpress Admin Panel? Great things.

Brokenkode unvailed the future of the Wordpress admin panel, which is codenamed “Shuttle”. Shuttle has been in the works since December 2004, long before Wordpress was such a staple in the blogging industry.

The project combined the likes of Michael Heilemann (K2 and Kubrick Wordpress Fame), Joen Asmussen, Chris Davis, Joshua Sigar, Ryan Boren, and Bryan Veloso. The multi-talented designers and coders worked together for a good year in a half, and the result is superb.

WP Shuttle Dashboard

It becomes evident looking at these screenshots, that Wordpress is heading in all the right directions. Currently, the wordpress admin is lacking. It is easily bogged up with multiple things all jumbled together (say, a write post page with plugins installed), but Shuttle hopes to change all that. Everything is neatly organized and clean, the whole interface itself is more like running a desktop application than a web application. Be prepared for Wordpress beauty in it’s future versions.

WP Shuttle Writing With Descriptions

For more, check out brokenkodes project page.

Feature
Post

Category
Strategy

Paying for Content: Worth It?

The days, quality content is a must to the success of any site. Content has always been essential to a great website. But, it’s how we get our daily content that has changed.

Introducing: Contents Writer

Before, you couldn’t get away with having the title as a “Content Writer” unless you wrote for a newspaper or magazine. Now, you can be a “professional content writer”, and even earn money doing it. How you ask? and Why? We find ourselves sitting here asking the same question.

Paying for Content

It makes sense that, like everything else, you should be able to pay to get certain things done. In many cases, a busy webmaster doesn’t always have the time or effort to put together daily content updates, and they need someone to take care of it for them. That’s where today’s hired content writers come up. They will write original articles for your site, for a fee per article, week, etc.

This can become a savior for the webmaster, who can worry less about content, and focus on other site management and maintainence.

But at the same time, what does this mean for the user?

The Truth Behind Paid-For-Content

Don’t get me wrong, paid for content contributors can be great, but it depends on the type of site and type of content you have. In Devlounge’s case, I made the decision not to go with paid content.

A few things paid content seems to lack.

  • Real Meaningful Posts - No matter how well the writer is, and how much they know the subject they’re covering, in the end they are writing for commission, not for the benefit of the visitors.
  • Caring About the Community - When you have a group of editors willing to contribute freely, you get a more connected feel between your regular site visitors and your staff. There are follow-up posts, tips, comments from the autor, follow-up discussion, and you know the author was in it to help the community, not to help themselves.

    The same seems to be true for buying out posts and forum members on a forum. This idea emerged a few years ago, and has taking off, with companies and such offering members and posts to your forums, to boast your site traffic and community members. But, are you really gaining anything? No. In situations like that, the members you are receiving really don’t have interest in your site / forums, otherwise they would have joined on their own.

    Solutions

    The best solution - write your own content.
    Have original articles written by yourself and a home-grown group of staff dedicated to contributing good, quality entries and supporting the site and it’s visitors.

    Your Turn - Voice Your Opinion

    What do you think about Content Writers for hire? Good idea or bad? We want to hear from you. Discuss below, and we will post a follow-up article in the near future.

  • Feature
    Post

    Category
    Webapps

    Democracy Player

    In our first interview with Matt Brett, we briefly touched on a project he is a part of that had recently launched, called the Democracy Player.

    Democracy is a video player of sorts, that utilizes rss feeds to extract video files from certain sites, and allows the user to download and play those files through it’s interface. Weighing in at around 17 MB, we take a look at Democracy in it’s early months.

    Early Beginnings

    In Democracy’s short time, it has grown and made a number of improvements. The interface features a Itunes and Songbird like appearance, in a striking black. The core of the player is designed to be easy to use, while clean at the same time, and it accomplishes that just fine.

    Democracy Player

    The program starts up by loading the Channel Guide, a quick look through some of Democracy’s most popular videos of that given time. From here, you can browse the top videos, or search for your own.

    Democracy Player Search

    Subscibe - To Videos?

    By using rss, Democracy offers users the chance to subscribe to a station, allowing for the program to automatically download new videos as they are released. This turns Democracy into a TiVo of sorts, so you can sit back and let Democracy do the work.

    Ease of Downloads

    Downloading through Democracy is also super easy. Democracy integrates Bittorrent, allowing downloads to be fast and accurate. Once a download is complete, you can head over to the “New Videos” tab to watch it for the first time, where it will then be moved to your “My Collections” tab.

    Democracy Player Downloads - Enlarged

    Full Screen Videos

    Finally, you get to the goods - the chance to watch the video you just spent time downloading. One press of play, and the player enlarges the video to full screen. Usuing simple player controls (stop, pause, play, volume, etc), the video is controlled. Not overlly advanced, by gets the job done. Even videos with low quality appear to come out alright in full screen playback. A big plus.

    Democracy Player - Playback

    Open Source

    The greatest thing of all about Democracy is it’s fully open source. Democracy is still new, and there our a lot more that has to be done before it becomes and ultimate piece of software, but it is slowly making it there, and by being open source, Democracy has the chance to excel into something great. Internet TV and Democracy will soon go hand in hand. Democracy is definitely leading a revolution.

    Feature
    Post

    Category
    General

    Devlounge Flickr Group

    Devlounge now has it’s own Flickr group. Maybe you should join?

    Feature
    Post

    Category
    Code

    Customizing Wordpress: Layout

    Introduction

    Welcome back. Now that you've had a week to play around with your Wordpress header file, your probably itching to get designing, and move along with your layouting. Believe it or not, the jump from html to Wordpress templates is not a hard one to make at all - in fact, it's more like walking up stairs then jumping.

    That ever dangerous Index.php

    Everything that happens in Wordpress goes down in the index.php, the center of your blogging universe. This one file is usually the deciding factor in your visitors either saying "I should check this out" or, "WTF" - and leaving.

    The index is what's going to grab the readers attention. If it's impossible to navigate, read, and is a mess organization wise, your blog or site is a bust. While ultimately, content usually proves king over design, design plays a major role in visitors attitudes towards a site.

    Breaking down that mess

    Let's take a look at that wonderful index.php, in this case, it's Wordpress 2.0's default theme, Kubrick. This is the theme everyone installing wordpress starts with, and the theme most beginners stick with, simply because customizing Wordpress is such a hard concept to grasp.

    First things first. If you've never found it to this file yet, nows the time to do it. Head over to the Presentation tab, then Theme Editor. Make sure you're on the Wordpress Default theme, as it will make it much easier to understand and follow along with my examples.

    Php get my help

    The very first thing you notice is a small line of php code, looking like below:

    PHP:
    1. <?php get_header(); ?>

    Look familiar? That's our friendly header.php being called into the template. You'll notice there are a few more of these php get functions throughout the file, including one for the footer and one for the sidebar. You'll also notice that these appear frequently - in every theme file to be exact. These functions make it much easier to include things in each different theme file. Instead of copying all the header, footer, and sidebar code into every theme file, these functions do it all for you. This becomes a real time saver, because to change the header of the blog, you simply modify that one file (header.php), and wham, the changes are seen on all pages.

    Wasn't that last weeks article?

    Alright, alright, back on task. If you continue down the index.php, you'll notice a whole jumble of code between the function for getting the header, and the function for getting the sidebar and footer.

    The first line you'll stumble upon sets up the overall look of the page:

    HTML:
    1. <div id="content" class="narrowcolumn">

    By quickly scrolling down to the bottom of the Index template, you'll notice that div we just opened for id "content" gets closed right before that sidebar function. This will become important, but we'll get to that later.

    The next block of code you see is essentialy the whole thing between the first opening and closing div we saw. It looks like this:

    PHP:
    1. <?php if (have_posts()) : ?>
    2.        
    3.         <?php while (have_posts()) : the_post(); ?>
    4.                
    5.             <div class="post" id="post-<?php the_ID(); ?>">
    6.                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    7.                 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    8.                
    9.                 <div class="entry">
    10.                     <?php the_content('Read the rest of this entry &raquo;'); ?>
    11.                 </div>
    12.        
    13.                 <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    14.             </div>
    15.    
    16.         <?php endwhile; ?>
    17.  
    18.         <div class="navigation">
    19.             <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    20.             <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    21.         </div>
    22.        
    23.     <?php else : ?>
    24.  
    25.         <h2 class="center">Not Found</h2>
    26.         <p class="center">Sorry, but you are looking for something that isn't here.</p>
    27.         <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    28.     <?php endif; ?>

    Wow, what a mess

    Believe me, if I was new to code, I would quit right there after seeing all that. I'd have no place to start.

    So, let's make things a little easier for you.

    Take a look at the first few lines of this php block. These functions are very easy to understand, simply by looking at them. Together, they're saying, if there's a post available, then show it. Now, it's up to you to give it the parameters so it nows how and what to display, otherwise those functions go unused.

    PHP:
    1. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    The parameter setup all goes down in the next few lines, beginning with another opening div, this time for class "post".

    HTML:
    1. <div class="post" id="post-<?php the_ID(); ?>">
    2.                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    3.                 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    4.                
    5.                 <div class="entry">
    6.                     <?php the_content('Read the rest of this entry &raquo;'); ?>
    7.                 </div>
    8.        
    9.                 <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    10.             </div>
    11.    
    12.         <?php endwhile; ?>

    This is where Wordpress, stylesheets, and php combine to provide you with your posts. First, the post id is called upon. Usually, this is not shown, which is this case in this theme. Between the opening and closing h2 tags are php functions calling for the post title name, as well as the permanent link to them. In the opening and closing small tags, you get a function that will output the time of the post, as well as the authors name, as specified in the Wordpress Dashboard.

    Next, we have the div that does all the displaying for each and everyone of your posts.

    HTML:
    1. <div class="entry">
    2.                     <?php the_content('Read the rest of this entry &raquo;'); ?>
    3.                 </div>

    What this is doing, is grabbing the article content, in this case, the whole article content, and, if specified as a cutoff text limit in the Wordpress Dashboard, or if you decided to insert the More tag into your post, a link to the rest of the post (Read the rest of this entry...).

    Below that is the final class in this file, which is "postmetadata". This is where extra stuff like text links to categories the article was posted in, comments and the number of comments go. It's fairly easy to see what php functions to which.

    Feature
    Post

    Category
    Homepage News

    Minor Things Wrapped Up

    Finally got a chance to finish the Sidenotes section of the homepage. Now, you'll get the 4 latest Sidenotes posts, along with the 5 latest comments, in one location. Tested in FF and IE, if you do run into any display problems, please let me know what screen res you were on and what browser.

    Feature
    Post

    Category
    General

    Some DL Tweaks

    You may have noticed the new look news section of Devloung on the homepage. Before, we had an excerpt from the latest post under out Homepage News category. Now, that section is pulling four (and will probably be upped to 6) latest news posts, with some cool highlight-able block links. Right now, they are yellow, but this may change over the next few days. First things first. Is this better than having one post excerpt, or did you like it how it was?

    Feature
    Post

    Category
    Homepage News

    New Community

    I've updated the community and made the switch from Punbb to Vanilla. Over the next few days I'll be styling it, but for right now, why don't you head over and register, and better yet, tell your friends!

    Update: The commubity is closed, and we are now running a flickr group. DL on Flickr

    Feature
    Post

    Category
    Homepage News

    May Reboot Up

    The May Reboot Page is now up, with my very on top 15 sites from the May 1st CSS Reboot. There are some great ones, along with some short descriptions. In other news, be sure to check out the new series on Wordpress Customization. Also, remember, Devlounge is a community, so start putting it to use! Get active in the forums and comments!

    Feature
    Post

    Category
    Code

    Customizing Wordpress: Headers

    Wordpress Customization Series Introduction

    Over the next few weeks, Devlounge will chronicle all customization elements of wordpress, from headers, to layout, and even what plugins you need to have. By the end of the series, you'll be on your way to using harvesting all of the power of Wordpress, to do much more than a blog.

    It All Gets Started:

    Sometimes, headers become lost as an way of customization for wordpress. But in many ways, your wordpress header can be the kickstarter of your blog, in both terms of search placement, and display for every wordpress based page.

    Understand It's Purpose - Header.php

    The Wordpress Header is, by default, generated dynamically, with such things as the blog title and description, theme name, author, and stylesheet url. Usually, you'd prefer to keep these settings untouched, as it ensures that stylesheets will work correctly with your blog, and everything will flow right. But, in order for your blog to stand out, small tweaks to the header can make all the difference.

    Output Better Titles

    By default, Wordpress outputs titles as "blog name - description - page/post title". While in most cases this would be fine, there comes a time when you may want to change the page title to your own. Maybe you want all pages to have just the site name, or, you'd like to remove the description tagline. These edits are extremely easy to make, but first timers who know basic html become nervous when they see php being used to generate the title tag.

    Wordpress Title Tag

    Looking at the php tags for the first time, you'll find it's easy to see the meanings behind them. In the Wordpress Default's theme header.php, you'll come across the title tags being filed with the tags from the screenshot above. So, what does it all mean? In between the title tags is php code calling for information from the Wordpress Options, Options tab, where you specify the blog name and description. The next few php requests check to see if the page is a single page or part of the archives, and then assigns them with the corresponding name, usually "blog name - page or post title".

    So, how do you get around this? Start off by deleting everything between the title tages, so only the opening and closing tags remain. Next, you can enter the page title as you wish, for example, My Site. If you plan to include what page you're on, you may want to include a space after your title, followed by a hyphen, space, and then the approriate php code. In this case you'd take all of the php code after the php tag containing "blog info" is closed.

    You'll now have a title that's been customized, and doesn't rely on the Wordpress Options to generate it. This gives you the ability to include your own slogan, and not include page and post titles at all if you'd like to keep them out.

    Adding Style to Your Sheets

    Another benefit of editing the header is the ability to assign alternative style sheets, such as custom stylesheets for Printing, which normal wordpress headers would not have. Adding an alternative style sheet is easy, and it only requires one line of code, pointing to the location of your print style.

    HTML:
    1. <title>Hello <php code></title>

    Setup A Common Header

    Since all theme files call for both the header and the footer (Index, Page, Single, Archives, Etc), the header is a great place to setup parts of your design which will repeat on every page, for example, a graphical banner and navigation. In the Wordpress Default Theme, there are some quick stylesheet classes and allow for easy changing of elements such as a header background color and image. The actual page design begins after the stylesheet ends, following the body. Underneath the opening body tag, you can begin adding elements that you'll want to be located on every single page.

    HTML:
    1. <body><div id="page">

    Meta Your Blog

    Another thing Wordpress leaves out which is essential to earning blog popularity is metadata, such as keywords, descriptions, etc. These can be easily added, by adding just a few lines of code and filling in your best choice of keywords and site description. This will greatly increase your rank of search engines, and benefit your blog in the long run.

    HTML:
    1. <meta name="description" content="devlounge, code, help, etc" />
    2. <meta name="keywords" content="site, blog, content" />

    Up Next

    Next week, we break down early layout techniques, and get you started with turning your blog into your own. Over the next few weeks, I'll also be bringing you Advanced Layouting, Customizing the Sidebar, Making the Footer leave a better print, and Plugins you need to have.