Coder Social home page Coder Social logo

purecss-wp's Introduction

PureCSS WP - WordPress Theme

A simple WordPress blog theme built from the ground-up with Yahoo's PureCSS framework (v0.6.0).

Here's a screenshot of the theme in action, as of 04/10/16

Notable features

PureCSS-focussed functions

  • <li> and <a> tags that generated by wp_nav_menu() use the pure-menu-item & pure-menu-link classes
  • <form> tag generated by get_search_form() and comments_template() use the pure-form pure-form-stacked classes
  • Buttons generated by get_search_form() and comments_template() use the pure-button class

General functions

  • <p> tag that wraps the_excerpt() output has been given a post-excerpt class for better targeting
  • pwp_featured_image($post_id, $output) returns either the src URL or the alt tag for the current post's featured image. Set $output to either 'url' or 'alt' for the desired output. E.g., echo pwp_featured_image($post->ID, 'url'); will output http://example.com/image.jpg.

To Do

  • Fix padding and margins in single.php
  • Style the footer
  • Include an auto-generated copyright notice in the footer
  • Apply category widget styles to tag widget
  • Move post loop summary to own template
  • Create archive.php
  • Create author.php
  • Style post comments list
  • Add Schema.org markup
  • Add OpenGraph tags
  • Add child themes(!)

purecss-wp's People

Contributors

tristanojbacon 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.