README.md in edge_framework-1.2.3 vs README.md in edge_framework-1.2.4
- old
+ new
@@ -344,10 +344,11 @@
The icon name is taken from [melchoyce.github.io/dashicons/](http://melchoyce.github.io/dashicons/).
To enable custom WP Query, create a class with the Post Type's name that extends `Post`.
// still inside functions.php
+
class Product extends Post {}
class Event extends Post {}
Now, you can use the custom WP Query:
@@ -362,13 +363,13 @@
Based on the example above, create `single-product.php` for single **Product** template. If we need to list all products within a brand, create `taxonomy-brand.php` which works the same way as `category.php`.
Naming Convention
-----------------
-All names must be **singular** and no special character.
+All names must be **singular**.
-Space is the only one allowed but its class name is the **combined words**.
+No special character except space. If contain space, the class' name should be its combined word and no camel casing.
add_post_type("Photo Gallery", "format-gallery");
class Photogallery extends Post {}
@@ -629,15 +630,13 @@
![Edge Rails](http://cdn.setyono.net/edge/rails-edge.jpg)
Gemfile:
- gem 'sass', '= 3.2.14'
+ gem 'sass'
gem 'sass-rails', '~> 4.0.0'
gem 'compass-rails'
- gem 'edge_framework'
-
-The latest version of Sass (3.3.x) is not compatible with latest Compass (0.12.x). So until they fixed it, use Sass version 3.2.14
+ gem 'edge_framework', '~> 1.2'
Template generator:
rails g edge:install
\ No newline at end of file