"Thirty percent of all Dalmatians are deaf in one or both ears. Because bulldogs have extremely short muzzles, many spend their lives fighting suffocation. Because Chihuahuas have such small skulls, the flow of spinal fluid can be restricted, causing hydrocephalus, a swelling of the brain.""The Chihuahua was named after the state in Mexico where they were discovered.""Seeing eye dogs pee and poo on command so that their owners can clean up after them. (The command is usually "Get busy!" and pups will pace back and forth until they do their business.) Male dogs are also trained to do their business without lifting their leg.""Scholars have argued over the metaphysical interpretation of Dorothy’s pooch, Toto, in the Wizard of Oz. One theory postulates that Toto represents Anubis, the dog-headed Egyptian god of death, because Toto consistently keeps Dorothy from safely returning home.""Dogs like sweets a lot more than cats do. While cats have around only 473 taste buds, dogs have about 1,700 taste buds. Humans have approximately 9,000."
"Thirty percent of all Dalmatians are deaf in one or both ears. Because bulldogs have extremely short muzzles, many spend their lives fighting suffocation. Because Chihuahuas have such small skulls, the flow of spinal fluid can be restricted, causing hydrocephalus, a swelling of the brain.""The Chihuahua was named after the state in Mexico where they were discovered.""Seeing eye dogs pee and poo on command so that their owners can clean up after them. (The command is usually "Get busy!" and pups will pace back and forth until they do their business.) Male dogs are also trained to do their business without lifting their leg.""Scholars have argued over the metaphysical interpretation of Dorothy’s pooch, Toto, in the Wizard of Oz. One theory postulates that Toto represents Anubis, the dog-headed Egyptian god of death, because Toto consistently keeps Dorothy from safely returning home.""Dogs like sweets a lot more than cats do. While cats have around only 473 taste buds, dogs have about 1,700 taste buds. Humans have approximately 9,000."
Home>Projects>

angular.js-Wordpress-SPA

ANGULAR.JS-WORDPRESS-SPA

Wordpress SPA with angular.js

This is a Wordpress Theme based on angular.js and V2 Wp-Api

Setup


Requirements
Dependencies
Steps
  1. Download and Install Wordpress

  2. Download and Install Wp-Api (Tested on version 2.0-beta12)

  3. Clone this Repo into the Themes Directory ('wordpress/wp-content/themes/')

  4. Run:

    # if gulp is not alredy installed:
        $ npm install gulp -g
    # endif? :D
    
    $ npm install
    $ gulp
    
  5. Finished! The Theme should now be rendered in dist/


Gulp

Here is a list of the gulp commands

$ gulp sass 
# generates the css-file from src/scss/style.scss

$ gulp resources 
# Copies everything from src/resources/ to dist/ (for images etc.)

$ gulp vendor 
# Copies and concatenates the needed dependencies from node_modules/

$ gulp js
# Concatenates the js-files in src/app/

$ gulp core
# Copies the files from src/php/

$ gulp views
# Copies the files from src/views/

$ gulp templates
# Copies the files from src/templates/

$ gulp dist
# Runs every command from above

$ gulp watch
# Watches for changes src/**/* and runs the depending Task

$ gulp
# Runs dist and starts the watch-task

Feel free to use to a full extend and have fun with it :D

If you use the Theme i would like to be linked but you don't have to

forthebadge

Footer