Sha256: f0c7d04608e3e5cfd5f0b43f88e599183c7d075c5a8f4ea715a2855d9ef4719a
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
<?php include "code/main.php"; // 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() class Product extends Post {}; /* Remove Unnecessary ADMIN SIDEBAR - Use the slug */ function remove_menu_items() { $items = array( "upload.php", ); foreach($items as $item) { remove_menu_page($item); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
edge_framework-1.0.0 | template/wordpress/functions.php |