Skip to content

Instantly share code, notes, and snippets.

Created June 9, 2014 03:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8e6634352c2b2bca5a57 to your computer and use it in GitHub Desktop.
Save anonymous/8e6634352c2b2bca5a57 to your computer and use it in GitHub Desktop.

AngularJS Theme for Wordpress

Directions for installing:

  1. Install and activate the JSON API plugin
  2. Change your Permalink Settings to a custom structure with the value /%postname%
  3. Add this code to your .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) /index.php/#/$1 </IfModule>
  4. Install/activate this theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment