template/wordpress/functions.php in edge_framework-1.3.1 vs template/wordpress/functions.php in edge_framework-1.3.2
- old
+ new
@@ -1,22 +1,20 @@
<?php include "code/main.php";
+/* -------------------------------------------
+ WordEdge
+ - Requirement: Wordpress 3.8 and PHP 5.3
+------------------------------------------- */
+
// THEME SUPPORT
-add_theme_support("post-thumbnails");
+
+add_theme_support("post-thumbnails");
add_theme_support("menus");
+// CUSTOM POST TYPE
+// post-type-name, <icon>, <taxonomy-name>
-
-/* 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
-*/
-// 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