Code Monkey home page Code Monkey logo

wp-cogitate's Introduction

Cogitate

v. To take careful thought or think carefully about; ponder.

Cogitate is a Twenty Twelve child theme that I built for evansolomon.me. I wanted to make a theme that:

  • Has ridiculously readable text
  • Is as minimalist as possible without sacrificing fanciness
  • Supports a blog and an independent-but-consistently-styled front page

To me, those are the most important elements of a theme. Cogitate is what I came up with.

Assumptions

Cogitate is not especially flexible, because I wrote it entirely for my own use. Cogitate assumes you have two menus you want to show on your front page. One of them ("Front page profiles") will be titled "I am" and the other ("Front page projects") will be titled "I make". This is hard-coded into the theme, so that's that. Cogitate also assumes you want site titles to link to your blog, not to the front page. This one happens to be changeable with the cogitate_header_link filter. Finally, Cogitate assumes you're using Typekit and have these fonts:

Cogitate will fall back to Open Sans in the case that these fonts are not installed, but I have no idea what it will look like.

Dependencies

Since it's a child theme of it, Cogitate requires the Twenty Twelve theme. I don't think there are any WordPress dependencies that aren't already enforced by Twenty Twelve.

Cogitate requires PHP 5.4 because I am using a some features added in 5.4. Right now that includes the new short array syntax ($array = [ 1, 2, 3 ];) and short echo syntax (<?= "Print this"; ?>). Cogitate also uses some features added in 5.3 (closures), but that requirement is largely irrelevant thanks to requiring 5.4 anyway.

WordPress only requires PHP 5.2.4 right now, so it's entirely possible for WordPress to work fine on your server and for Cogitate to break it.

Proceed with caution.

wp-cogitate's People

Contributors

chexee avatar evansolomon avatar lancewillett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.