We have the gallery area set up in WordPress it's spitting out what we need it to spit out, but there is almost no styling at all on the page yet.

We start by going over the code in the functions.php file that sets up the custom post type that "Screenshots" are built from on this site. It's a little involved, since there is no only a the custom post type and all the custom verbiage and whatnot that goes with that, but also a custom taxonomy and all the custom verbiage for that. This is so I can tag screenshots but not infest the global "tags" taxonomy.

For the record, that stuff should be in a functionality plugin not my functions.php file, but I'll get to that eventually.

For the rest of the video we do what we've been doing on other pages: go line by line through out static mockup and move the relevant stuff over into the WordPress template file. There is some stuff in the WordPress area that we keep around because we'll need it later, like where it outputs tags and where each image is wrapped in a link instead of a div.

Comments

  1. User Avatar
    vanmen
    Permalink to comment#

    Hi Chris,

    Since you have added a lot more videos I cannot view them on my iphone nor ipad anymore…??? The browser just crashes whenever I click the “Go to the video list” button. This used to work fine before you had over 80 video’s in the list.

    Maybe you can paginate the video pages in stead of loading the 120 plus posts in one row?? Am I the only one here??

    • User Avatar
      Chris Coyier
      Permalink to comment#

      I just pushed out some pagination stuff. Lemme know if it’s still a problem by emailing me at chriscoyier@gmail.com

      I’m going to bury this just because it’s a specific technical issue not related to this particular video.

Submit a Comment

Posting Code

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.

icon-closeicon-emailicon-linkicon-logo-staricon-menuicon-searchicon-staricon-tag