Results 1 to 4 of 4

Thread: Thorough Guide On Post Formats

  1. #1
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default Thorough Guide On Post Formats

    Ryan of .Net magazine has a good article that goes in-depth on the Post Formats feature in WordPress.

    http://www.netmagazine.com/features/...mats-made-easy

    What do you think?

  2. #2
    Otto's Avatar
    Otto is offline On The Rocks
    Join Date
    Apr 2009
    Location
    Memphis, TN
    Posts
    865

    Default

    He says this:

    Additional information or restrictions are needed to maintain consistency.
    I both agree and disagree. An additional restriction would make it easier for the user to know how to use the format. However, since it's the theme itself that's interpreting what the format means, the theme designer should be the one who's creating those restrictions and explaining them to the user. It doesn't make sense to add this sort of thing to core until a clear standard on how themes are using these formats emerges.

    Realistically, I'd prefer it if my theme had no restrictions and simply interpreted the post the way I want it to be interpreted. That is to say that the theme should be smart enough to figure out what I mean. If I make a "link" post, and I put in text with a link in it, then the theme should figure it out. If I only put a URL in, then it should figure that out too. Making the user fill in some preset form is worse than making the code smart enough to know what I want. Putting the complication back on the user to fill in the form correctly is lazy programming.

    Also, the theme is perfectly capable of inserting javascript onto the Edit Post page and thus changing the form around when the format is changed. Ideally, such a system wouldn't use any postmeta fields, since they probably wouldn't be necessary.

  3. #3
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by Otto View Post
    He says this:

    Additional information or restrictions are needed to maintain consistency.
    I both agree and disagree. An additional restriction would make it easier for the user to know how to use the format. However, since it's the theme itself that's interpreting what the format means, the theme designer should be the one who's creating those restrictions and explaining them to the user. It doesn't make sense to add this sort of thing to core until a clear standard on how themes are using these formats emerges.

    Realistically, I'd prefer it if my theme had no restrictions and simply interpreted the post the way I want it to be interpreted. That is to say that the theme should be smart enough to figure out what I mean. If I make a "link" post, and I put in text with a link in it, then the theme should figure it out. If I only put a URL in, then it should figure that out too. Making the user fill in some preset form is worse than making the code smart enough to know what I want. Putting the complication back on the user to fill in the form correctly is lazy programming.

    Also, the theme is perfectly capable of inserting javascript onto the Edit Post page and thus changing the form around when the format is changed. Ideally, such a system wouldn't use any postmeta fields, since they probably wouldn't be necessary.
    In an ideal world, some of these Post Format-specific content decisions would have been made as part of the core implementation. The problem with that, of course, is that the user/developer community really needs to settle on a consensus for how each Post Format type will be used. The core development team would have had no opportunity to predict what the eventual consensus will be.

    I imagine that it will all shake out in the end; unfortunately, some users' content will likely be impacted, since various Theme developers will make differing initial assumptions on how certain Post Formats should be implemented. (See also: Post Thumbnails prior to core implementation.)
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  4. #4
    BrianLayman is offline Hello World
    Join Date
    Jul 2009
    Posts
    6

    Default

    Quote Originally Posted by Otto View Post
    Realistically, I'd prefer it if my theme had no restrictions and simply interpreted the post the way I want it to be interpreted. That is to say that the theme should be smart enough to figure out what I mean. If I make a "link" post, and I put in text with a link in it, then the theme should figure it out. If I only put a URL in, then it should figure that out too. Making the user fill in some preset form is worse than making the code smart enough to know what I want. Putting the complication back on the user to fill in the form correctly is lazy programming.
    I agree but I doubt most themes will be implemented with that ability...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •