A WordPress theme for a news/magazine site. Originally used on travelllll.com.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache Initial commit Sep 10, 2013
departures Initial commit Sep 10, 2013
library Initial commit Sep 10, 2013
404.php Initial commit Sep 10, 2013
LICENSE.md Initial commit Sep 10, 2013
README.md Initial commit Sep 10, 2013
archive-departures.php Initial commit Sep 10, 2013
archive.php Initial commit Sep 10, 2013
comments.php Initial commit Sep 10, 2013
departures.php Initial commit Sep 10, 2013
editor-style.css Initial commit Sep 10, 2013
footer.php Initial commit Sep 10, 2013
functions.php Initial commit Sep 10, 2013
header.php Initial commit Sep 10, 2013
index.php Initial commit Sep 10, 2013
loop-departures.php Initial commit Sep 10, 2013
loop-grid.php Initial commit Sep 10, 2013
loop-single-essays.php Initial commit Sep 10, 2013
loop-single-photos.php Initial commit Sep 10, 2013
loop-single-videos.php Initial commit Sep 10, 2013
loop-single.php Initial commit Sep 10, 2013
loop.php Initial commit Sep 10, 2013
page.php Initial commit Sep 10, 2013
screenshot.png Initial commit Sep 10, 2013
search.php Initial commit Sep 10, 2013
searchform.php Initial commit Sep 10, 2013
sidebar.php Initial commit Sep 10, 2013
single-departures.php Initial commit Sep 10, 2013
single.php Initial commit Sep 10, 2013
style.css Initial commit Sep 10, 2013
taxonomy-content_type-departures.php Initial commit Sep 10, 2013
taxonomy-content_type-photos.php Initial commit Sep 10, 2013
taxonomy-content_type-videos.php Initial commit Sep 10, 2013
taxonomy-crew.php Initial commit Sep 10, 2013
taxonomy-organizer.php Initial commit Sep 10, 2013
template-blank.php Initial commit Sep 10, 2013
template-fullwidth.php Initial commit Sep 10, 2013
template-mustread.php Initial commit Sep 10, 2013
template-sopa.php Initial commit Sep 10, 2013
template-survey.php Initial commit Sep 10, 2013
template-tbex.php Initial commit Sep 10, 2013
thumb.php Initial commit Sep 10, 2013
user.php Initial commit Sep 10, 2013
yarpp-template-t5-simple.php Initial commit Sep 10, 2013
yarpp-template-t5.php Initial commit Sep 10, 2013

README.md

Travelllll

This is the WordPress theme that powered Travelllll.com for just under 2 years. Following the close of the site, I've decided to Open Source the code and make it available to anyone who wants to use it.

Usage

This is a very complicated theme. It will not "just work" out of the box. It requires certain categories, certain tags, and those certain categories and certain tags to have certain ID's. This theme makes a veritable shit-ton of queries, so your server will pretty much die if you don't use a caching plugin.

In short, you can use this theme as a starting point for developing your own theme - but if you simply install it on any WordPress site - it won't really work. Below I've tried to provide some rough guidance on what's in the theme and what it does.

Basic Structure

index.php - This is the home page. It calls a partial for trending stories which only appears on page 1 of the site.

everything prefixed with "loop" - These are the different styles of output for different content types. Eg. a normal post has a title/description/link - a video post has just a title and embed.

everything prefixed with "template" - These custom page templates used for 1-off page designs.

Advanced Features

functions.php - Most of the magic is in here, and it imports the two next things:

library/functions - This is an old copy of the WooFramework, quite heavily modified, to power custom fields, shortcodes, and various handy things for the admin ui.

departures - This is a custom post type which we built to show off blogtrip departures. It never worked exactly right, and caused some bugs through the rest of the theme. We outsourced most of this code and then I rewrote about half of it. I'd strip this out - it's probably the weakest part of the theme.

The Rest

You'll have to figure out for yourself.

PRs are welcome to make this a more stable and publicly usable theme.

License

The Travelllll theme is Copyright ©2013 John O'Nolan, and is released under the GNU GPLv2 License, contained within this repository.