Giter Club home page Giter Club logo

polypress's Introduction

Polypress

A start of a skeleton theme to integrate Google's Polymer Web Components with WordPress

Notes

Here's a couple notes to keep in mind:

  • This is not a finished product.
  • This will be consistently worked on till I likely get bored.
  • Any help or feedback will be accepted.

Usage

Before you get going you need to setup a few things.

Setting up Polymer

To setup Polymer it's really simple.

If you havn't installed bower yet, do that first.

I've included a bower.json.default. Rename to bower.json and run

bower install

This will initialize your node_modules folder in the root of the theme, and download all of Polymer and it's default web components.

Setting up WordPress

To start to use the extra components you need to access you have to include add support to WordPress:

add_theme_support('polymer');

This is included by default in the skeleton theme.

Now you can easily add any web component included in Polymer.

// a couple poymer elements for examples
$polymer_support = array(
  'paper-toolbar',
  'roboto',
  'paper-menu'
);

add_polymer_support($polymer_support);

Seperate Components

Future Additions

  • Add in all basic theme files, and create navigation options
  • Integrate with different Google APIs.
  • Add in default global theme options.
  • Figure out what's next.

polypress's People

Stargazers

Brian T Fidler avatar

Watchers

James Cloos avatar Nathan Gould avatar

Forkers

zahedbri

polypress's Issues

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.