template/wordpress/functions.php in edge_framework-1.0.0 vs template/wordpress/functions.php in edge_framework-1.1.0
- old
+ new
@@ -2,17 +2,21 @@
// THEME SUPPORT
add_theme_support("post-thumbnails");
add_theme_support("menus");
+
+
/* CUSTOM POST TYPE
1: Type name, MUST be singular
2: (opt) Icon name, check http://melchoyce.github.io/dashicons/
3: (opt) Taxonomy name, MUST be singular
*/
-add_post_type("Product", "cart", "Brand"); // Sample
-// Allow the use of Product::find()
+// Example:
+add_post_type("Product", "cart", "Brand");
class Product extends Post {};
+
+
/* Remove Unnecessary ADMIN SIDEBAR
- Use the slug
*/
function remove_menu_items() {
\ No newline at end of file