Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- function series() {
- $labels = array("name" => _x("Series", "Post Type General Name", "text_domain"), "singular_name" => _x("Series", "Post Type Singular Name", "text_domain"), "menu_name" => __("Series", "text_domain"), "name_admin_bar" => __("Series", "text_domain"), "archives" => __("Series Archives", "text_domain"), "parent_item_colon" => __("Parent Series:", "text_domain"), "all_items" => __("All Series", "text_domain"), "add_new_item" => __("Add New Series", "text_domain"), "add_new" => __("Add New", "text_domain"), "new_item" => __("New Series", "text_domain"), "edit_item" => __("Edit Series", "text_domain"), "update_item" => __("Update Series", "text_domain"), "view_item" => __("View Series", "text_domain"), "search_items" => __("Search Series", "text_domain"), "not_found" => __("Not found", "text_domain"), "not_found_in_trash" => __("Not found in Trash", "text_domain"), "featured_image" => __("Featured Image", "text_domain"), "set_featured_image" => __("Set featured image", "text_domain"), "remove_featured_image" => __("Remove featured image", "text_domain"), "use_featured_image" => __("Use as featured image", "text_domain"), "insert_into_item" => __("Insert into series", "text_domain"), "uploaded_to_this_item" => __("Uploaded to this series", "text_domain"), "items_list" => __("Series list", "text_domain"), "items_list_navigation" => __("Series list navigation", "text_domain"), "filter_items_list" => __("Filter series list", "text_domain"));
- $args = array("label" => __("Series", "text_domain"), "description" => __("Post Info Anime or Drama", "text_domain"), "labels" => $labels, "supports" => array("title", "editor", "thumbnail", "comments"), "taxonomies" => array("genres", "year", "country", "channel", "quality"), "hierarchical" => false, "public" => true, "show_ui" => true, "show_in_menu" => true, "menu_position" => 5, "menu_icon" => "dashicons-screenoptions", "show_in_admin_bar" => true, "show_in_nav_menus" => true, "can_export" => true, "has_archive" => true, "exclude_from_search" => false, "publicly_queryable" => true, "capability_type" => "post");
- register_post_type("series", $args);
- return;
- }
- function movies() {
- $labels = array("name" => _x("Movies", "Post Type General Name", "text_domain"), "singular_name" => _x("Movies", "Post Type Singular Name", "text_domain"), "menu_name" => __("Movies", "text_domain"), "name_admin_bar" => __("Movies", "text_domain"), "archives" => __("Movies Archives", "text_domain"), "parent_item_colon" => __("Parent Movies:", "text_domain"), "all_items" => __("All Movies", "text_domain"), "add_new_item" => __("Add New Movies", "text_domain"), "add_new" => __("Add New", "text_domain"), "new_item" => __("New Movies", "text_domain"), "edit_item" => __("Edit Movies", "text_domain"), "update_item" => __("Update Movies", "text_domain"), "view_item" => __("View Movies", "text_domain"), "search_items" => __("Search Movies", "text_domain"), "not_found" => __("Not found", "text_domain"), "not_found_in_trash" => __("Not found in Trash", "text_domain"), "featured_image" => __("Featured Image", "text_domain"), "set_featured_image" => __("Set featured image", "text_domain"), "remove_featured_image" => __("Remove featured image", "text_domain"), "use_featured_image" => __("Use as featured image", "text_domain"), "insert_into_item" => __("Insert into movies", "text_domain"), "uploaded_to_this_item" => __("Uploaded to this movies", "text_domain"), "items_list" => __("Movies list", "text_domain"), "items_list_navigation" => __("Movies list navigation", "text_domain"), "filter_items_list" => __("Filter movies list", "text_domain"));
- $args = array("label" => __("Movies", "text_domain"), "description" => __("Movies post area", "text_domain"), "labels" => $labels, "supports" => array("title", "editor", "thumbnail", "comments"), "taxonomies" => array("genres", "year", "country", "quality"), "hierarchical" => false, "public" => true, "show_ui" => true, "show_in_menu" => true, "menu_position" => 5, "menu_icon" => "dashicons-format-video", "show_in_admin_bar" => true, "show_in_nav_menus" => true, "can_export" => true, "has_archive" => true, "exclude_from_search" => false, "publicly_queryable" => true, "capability_type" => "post");
- register_post_type("watch", $args);
- return;
- }
- function video() {
- $labels = array("name" => _x("Videos", "Post Type General Name", "text_domain"), "singular_name" => _x("Videos", "Post Type Singular Name", "text_domain"), "menu_name" => __("Videos", "text_domain"), "name_admin_bar" => __("Video", "text_domain"), "archives" => __("Video Archives", "text_domain"), "parent_item_colon" => __("Parent Video:", "text_domain"), "all_items" => __("All Videos", "text_domain"), "add_new_item" => __("Add New Video", "text_domain"), "add_new" => __("Add New", "text_domain"), "new_item" => __("New Video", "text_domain"), "edit_item" => __("Edit Video", "text_domain"), "update_item" => __("Update Video", "text_domain"), "view_item" => __("View Video", "text_domain"), "search_items" => __("Search Video", "text_domain"), "not_found" => __("Not found", "text_domain"), "not_found_in_trash" => __("Not found in Trash", "text_domain"), "featured_image" => __("Featured Image", "text_domain"), "set_featured_image" => __("Set featured image", "text_domain"), "remove_featured_image" => __("Remove featured image", "text_domain"), "use_featured_image" => __("Use as featured image", "text_domain"), "insert_into_item" => __("Insert into video", "text_domain"), "uploaded_to_this_item" => __("Uploaded to this video", "text_domain"), "items_list" => __("Videos list", "text_domain"), "items_list_navigation" => __("Videos list navigation", "text_domain"), "filter_items_list" => __("Filter videos list", "text_domain"));
- $args = array("label" => __("Videos", "text_domain"), "description" => __("Video Post", "text_domain"), "labels" => $labels, "supports" => array("title", "thumbnail", "comments"), "hierarchical" => false, "public" => true, "show_ui" => true, "show_in_menu" => true, "menu_position" => 5, "menu_icon" => "dashicons-video-alt3", "show_in_admin_bar" => true, "show_in_nav_menus" => true, "can_export" => true, "has_archive" => true, "exclude_from_search" => false, "publicly_queryable" => true, "capability_type" => "post");
- register_post_type("video", $args);
- return;
- }
- function genre() {
- $labels = array("name" => _x("Genres", "Taxonomy General Name", "text_domain"), "singular_name" => _x("Genres", "Taxonomy Singular Name", "text_domain"), "menu_name" => __("Genres", "text_domain"), "all_items" => __("All Genres", "text_domain"), "parent_item" => __("Parent Genre", "text_domain"), "parent_item_colon" => __("Parent Genre:", "text_domain"), "new_item_name" => __("New Genre Name", "text_domain"), "add_new_item" => __("Add New Genre", "text_domain"), "edit_item" => __("Edit Genre", "text_domain"), "update_item" => __("Update Genre", "text_domain"), "view_item" => __("View Genre", "text_domain"), "separate_items_with_commas" => __("Separate genres with commas", "text_domain"), "add_or_remove_items" => __("Add or remove genres", "text_domain"), "choose_from_most_used" => __("Choose from the most used", "text_domain"), "popular_items" => __("Popular Genres", "text_domain"), "search_items" => __("Search Genres", "text_domain"), "not_found" => __("Not Found", "text_domain"), "no_terms" => __("No genres", "text_domain"), "items_list" => __("Genres list", "text_domain"), "items_list_navigation" => __("Genres list navigation", "text_domain"));
- $args = array("labels" => $labels, "hierarchical" => false, "public" => true, "show_ui" => true, "show_admin_column" => true, "show_in_nav_menus" => true, "show_tagcloud" => true);
- register_taxonomy("genre", array("series", "watch"), $args);
- return;
- }
- function country() {
- $labels = array("name" => _x("Country", "Taxonomy General Name", "text_domain"), "singular_name" => _x("Country", "Taxonomy Singular Name", "text_domain"), "menu_name" => __("Country", "text_domain"), "all_items" => __("All Countries", "text_domain"), "parent_item" => __("Parent Country", "text_domain"), "parent_item_colon" => __("Parent Country:", "text_domain"), "new_item_name" => __("New Country Name", "text_domain"), "add_new_item" => __("Add New Country", "text_domain"), "edit_item" => __("Edit Country", "text_domain"), "update_item" => __("Update Country", "text_domain"), "view_item" => __("View Country", "text_domain"), "separate_items_with_commas" => __("Separate countries with commas", "text_domain"), "add_or_remove_items" => __("Add or remove countries", "text_domain"), "choose_from_most_used" => __("Choose from the most used", "text_domain"), "popular_items" => __("Popular Countries", "text_domain"), "search_items" => __("Search Countries", "text_domain"), "not_found" => __("Not Found", "text_domain"), "no_terms" => __("No countries", "text_domain"), "items_list" => __("Countries list", "text_domain"), "items_list_navigation" => __("Countries list navigation", "text_domain"));
- $args = array("labels" => $labels, "hierarchical" => false, "public" => true, "show_ui" => true, "show_admin_column" => true, "show_in_nav_menus" => true, "show_tagcloud" => true);
- register_taxonomy("country", array("series", "watch"), $args);
- return;
- }
- function channel() {
- $labels = array("name" => _x("Channel", "Taxonomy General Name", "text_domain"), "singular_name" => _x("Channel", "Taxonomy Singular Name", "text_domain"), "menu_name" => __("Channel", "text_domain"), "all_items" => __("All Channel", "text_domain"), "parent_item" => __("Parent Channel", "text_domain"), "parent_item_colon" => __("Parent Channel:", "text_domain"), "new_item_name" => __("New Channel Name", "text_domain"), "add_new_item" => __("Add New Channel", "text_domain"), "edit_item" => __("Edit Channel", "text_domain"), "update_item" => __("Update Channel", "text_domain"), "view_item" => __("View Channel", "text_domain"), "separate_items_with_commas" => __("Separate channel with commas", "text_domain"), "add_or_remove_items" => __("Add or remove channel", "text_domain"), "choose_from_most_used" => __("Choose from the most used", "text_domain"), "popular_items" => __("Popular Channel", "text_domain"), "search_items" => __("Search Channel", "text_domain"), "not_found" => __("Not Found", "text_domain"), "no_terms" => __("No channel", "text_domain"), "items_list" => __("Channel list", "text_domain"), "items_list_navigation" => __("Channel list navigation", "text_domain"));
- $args = array("labels" => $labels, "hierarchical" => false, "public" => true, "show_ui" => true, "show_admin_column" => true, "show_in_nav_menus" => true, "show_tagcloud" => true);
- register_taxonomy("channel", array("series"), $args);
- ..................................................................
- ...........................
- ..........
Advertisement
Add Comment
Please, Sign In to add comment