{"id":2520,"date":"2021-04-05T19:00:54","date_gmt":"2021-04-05T14:30:54","guid":{"rendered":"https:\/\/www.themento.net\/fa\/?p=2520"},"modified":"2021-04-05T16:49:10","modified_gmt":"2021-04-05T12:19:10","slug":"tutorial-on-creating-custom-post-types","status":"publish","type":"post","link":"https:\/\/www.themento.net\/fa\/2520\/tutorial-on-creating-custom-post-types\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0633\u0641\u0627\u0631\u0634\u06cc"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2520\" class=\"elementor elementor-2520\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0995577 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0995577\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-54c50d6\" data-id=\"54c50d6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0643b0b elementor-widget elementor-widget-heading\" data-id=\"0643b0b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e (\u067e\u0633\u062a \u0633\u0641\u0627\u0631\u0634\u06cc) \u062e\u0627\u0635 \u0645\u0627\u0646\u0646\u062f \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0913089 elementor-widget elementor-widget-text-editor\" data-id=\"0913089\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0634\u0627\u06cc\u062f \u0628\u0631\u0627\u062a\u0648\u0646 \u067e\u06cc\u0634 \u0628\u06cc\u0627\u062f \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06cc\u06a9 \u0628\u062e\u0634 \u0633\u0641\u0627\u0631\u0634\u06cc \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0627\u0646\u0646\u062f \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0634\u06cc\u062f \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u0628\u062e\u0634 \u0628\u0647 \u0646\u0627\u0645 <span style=\"color: #ff0000;\">&#8220;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#8221;<\/span> \u06cc\u0627 <span style=\"color: #ff0000;\">&#8220;\u06a9\u062a\u0627\u0628 \u0647\u0627&#8221;<\/span> \u0648 &#8230; \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0627\u0646\u0646\u062f \u0645\u0642\u0627\u0644\u0627\u062a \u06cc\u06a9 \u0633\u0631\u06cc \u067e\u0633\u062a \u062e\u0627\u0635 \u062f\u0631 \u0622\u0646 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a115d6e elementor-widget elementor-widget-text-editor\" data-id=\"a115d6e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0634\u0645\u0627 \u0647\u0645 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u0641\u0632\u0648\u0646\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0647\u0645 \u0627\u0632 \u06a9\u062f \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u06a9\u0647 \u062a\u0648\u06cc \u0647\u0631 \u062f\u0648 \u062d\u0627\u0644\u062a \u062e\u0631\u0648\u062c\u06cc \u06a9\u0627\u0631 \u06cc\u06a9\u06cc \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0647\u0631 \u062f\u0648 \u0631\u0648\u0634 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b46c51 elementor-widget elementor-widget-heading\" data-id=\"8b46c51\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0633\u0641\u0627\u0631\u0634\u06cc \u0628\u0627 \u0627\u0641\u0632\u0648\u0646\u0647 Custom Post Type UI<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb6197e elementor-widget elementor-widget-image\" data-id=\"fb6197e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"772\" height=\"250\" src=\"https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/Custom-Post-Type-UI.png\" class=\"attachment-large size-large wp-image-14179\" alt=\"\" srcset=\"https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/Custom-Post-Type-UI.png 772w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/Custom-Post-Type-UI-600x194.png 600w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/Custom-Post-Type-UI-300x97.png 300w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/Custom-Post-Type-UI-768x249.png 768w\" sizes=\"(max-width: 772px) 100vw, 772px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e5a3023 elementor-widget elementor-widget-text-editor\" data-id=\"e5a3023\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u062e\u0627\u0635 \u0627\u0628\u062a\u062f\u0627 \u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627 \u0627\u0632 \u0644\u06cc\u0646\u06a9 \u0632\u06cc\u0631 \u06cc\u0627 \u0627\u0632 \u0645\u062e\u0632\u0646 \u0648\u0631\u062f\u067e\u0631\u0633 \u062f\u0627\u0646\u0644\u0648\u062f \u0648 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0639\u062f \u0627\u0632 \u0646\u0635\u0628 \u06af\u0632\u06cc\u0646\u0647 <span style=\"color: #ff0000;\">&#8220;CPT UI&#8221;<\/span> \u0628\u0647 \u067e\u0646\u0644 \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u0636\u0627\u0641\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aeaf0c6 elementor-button-success elementor-widget elementor-widget-button\" data-id=\"aeaf0c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/wordpress.org\/plugins\/custom-post-type-ui\/\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">\u062f\u0627\u0646\u0644\u0648\u062f \u0627\u0641\u0632\u0648\u0646\u0647 Custom Post Type UI \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0633\u0641\u0627\u0631\u0634\u06cc<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-26cf714 elementor-widget elementor-widget-text-editor\" data-id=\"26cf714\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0631\u0648\u06cc \u06af\u0632\u06cc\u0646\u0647<span style=\"color: #ff0000;\"> &#8220;Add\/Edit Post Types&#8221; &lt; &#8220;CPT UI&#8221;<\/span> \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0627\u06cc\u062f \u0641\u0631\u0645 \u0645\u0648\u062c\u0648\u062f \u0631\u0627 \u062a\u06a9\u0645\u06cc\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f \u0648 \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u062f\u0631 \u0644\u06cc\u0633\u062a \u0632\u06cc\u0631 \u0645\u0648\u0627\u0631\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0628\u0647 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627 \u062a\u06a9\u0645\u06cc\u0644 \u06a9\u0631\u062f\u0645 \u0648 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0647\u0631 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u062f\u06cc\u06af\u0631\u06cc \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-33bdce2 elementor-widget elementor-widget-text-editor\" data-id=\"33bdce2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><label for=\"name\"><strong>projects<\/strong> : <label for=\"name\">Post Type Slug<\/label><\/label><\/li><li><label for=\"label\">Plural Label<\/label> <span class=\"required\">: <strong>\u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><br \/><\/span><\/li><li><label for=\"singular_label\">Singular Label<\/label> <span class=\"required\">: <strong>\u067e\u0631\u0648\u0698\u0647<\/strong><br \/><\/span><\/li><li><label for=\"description\">Post Type Description<\/label> : <strong>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/strong><\/li><li><label for=\"menu_name\">Menu Name<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"all_items\">All Items<\/label> : <strong>\u0647\u0645\u0647 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"add_new\">Add New<\/label> : <strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646<\/strong><\/li><li><label for=\"add_new_item\">Add New Item<\/label> : <strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062c\u062f\u06cc\u062f<\/strong><\/li><li><label for=\"edit_item\">Edit Item<\/label> : <strong>\u0648\u06cc\u0631\u0627\u06cc\u0634 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"new_item\">New Item<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u062c\u062f\u06cc\u062f<\/strong><\/li><li><label for=\"view_item\">View Item<\/label> : <strong>\u0645\u0634\u0627\u0647\u062f\u0647 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"view_items\">View Items<\/label> : <strong>\u0645\u0634\u0627\u0647\u062f\u0647 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"search_items\">Search Item<\/label> : <strong>\u062c\u0633\u062a\u062c\u0648 \u062f\u0631 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"not_found\">Not Found<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0627\u06cc \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f!<\/strong><\/li><li><label for=\"not_found_in_trash\">Not Found in Trash<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0627\u06cc \u062f\u0631 \u0632\u0628\u0627\u0644\u0647 \u062f\u0627\u0646 \u0645\u0648\u062c\u0648\u062f \u0646\u06cc\u0633\u062a<\/strong><\/li><li>Parent : <strong>\u0648\u0627\u0644\u062f \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"featured_image\">Featured Image<\/label> : <strong>\u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"set_featured_image\">Set Featured Image<\/label> : <strong>\u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"remove_featured_image\">Remove Featured Image<\/label> : <strong>\u062d\u0630\u0641 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"use_featured_image\">Use Featured Image<\/label> : <strong>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li>Archives : <strong>\u0622\u0631\u0634\u06cc\u0648 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"insert_into_item\">Insert into item<\/label> : <strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0647 \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"uploaded_to_this_item\">Uploaded to this Item<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0634\u062f<\/strong><\/li><li><label for=\"filter_items_list\">Filter Items List<\/label> : <strong>\u0641\u06cc\u0644\u062a\u0631 \u0647\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"items_list_navigation\">Items List Navigation<\/label> : <strong>\u0646\u0627\u0648\u0628\u0631\u06cc \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"items_list\">Items List<\/label> : <strong>\u0644\u06cc\u0633\u062a \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li>Attributes :<strong> \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/strong><\/li><li><label for=\"name_admin_bar\">&#8220;New&#8221; menu in admin bar<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"item_published\">Item Published<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0645\u0646\u062a\u0634\u0631 \u0634\u062f.<\/strong><\/li><li><label for=\"item_published_privately\">Item Published Privately<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0635\u0648\u0635\u06cc \u0645\u0646\u062a\u0634\u0631 \u0634\u062f.<\/strong><\/li><li><label for=\"item_reverted_to_draft\">Item Reverted To Draft<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0628\u0647 \u067e\u06cc\u0634\u0646\u0648\u06cc\u0633 \u0645\u0646\u062a\u0642\u0644 \u06af\u0631\u062f\u06cc\u062f.<\/strong><\/li><li><label for=\"item_scheduled\">Item Scheduled<\/label> : <strong>\u0632\u0645\u0627\u0646\u0628\u0646\u062f\u06cc \u067e\u0631\u0648\u0698\u0647<\/strong><\/li><li><label for=\"item_updated\">Item Updated<\/label> : <strong>\u067e\u0631\u0648\u0698\u0647 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0634\u062f.<\/strong><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c752df elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"5c752df\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">\u062f\u0631 \u0628\u0627\u06a9\u0633 \u0628\u0639\u062f \u0627\u0632 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0641\u06cc\u0644\u062f \u0647\u0627 \u06cc\u06a9 \u0633\u0631\u06cc \u0641\u06cc\u0644\u062f \u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u0645\u0648\u062c\u0648\u062f \u0647\u0633\u062a \u06a9\u0647 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0647\u0633\u062a\u0646\u062f \u0648 \u0641\u0642\u0637 \u0641\u06cc\u0644\u062f \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0631\u0648 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u062a\u0648\u0636\u06cc\u062d \u062e\u0648\u0627\u0647\u0645 \u062f\u0627\u062f:<\/span>\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9411711 elementor-widget elementor-widget-text-editor\" data-id=\"9411711\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul>\n \t<li><strong>Menu Position<\/strong> : \u0645\u0648\u0642\u0639\u06cc\u062a \u0642\u0631\u0627\u0631 \u06af\u06cc\u0631\u06cc \u067e\u0633\u062a \u062a\u0627\u06cc\u067e (\u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u062f\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f)<\/li>\n \t<li><strong>Menu Icon<\/strong> : \u0627\u06cc\u06a9\u0648\u0646 \u0646\u0645\u0627\u06cc\u0634\u06cc \u067e\u0633\u062a \u062a\u0627\u06cc\u067e<\/li>\n \t<li><strong>Supports<\/strong> : \u0628\u062e\u0634 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f \u0641\u0639\u0627\u0644 \u0628\u0627\u0634\u062f.<\/li>\n \t<li><strong>Taxonomies<\/strong> : \u062a\u0627\u06a9\u0633\u0648\u0646\u0648\u0645\u06cc \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f \u0645\u0627\u0646\u0646\u062f (\u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0647\u0627 \u06cc\u0627 \u0628\u0631\u0686\u0633\u0628 \u0647\u0627 \u06cc\u0627 \u062a\u0627\u06a9\u0633\u0648\u0646\u0648\u0645\u06cc \u0647\u0627\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc)<\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e24c205 elementor-widget elementor-widget-image\" data-id=\"e24c205\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"612\" height=\"2560\" src=\"https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-scaled.jpg\" class=\"attachment-full size-full wp-image-14182\" alt=\"\" srcset=\"https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-scaled.jpg 612w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-scaled-600x2510.jpg 600w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-72x300.jpg 72w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-245x1024.jpg 245w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-768x3212.jpg 768w, https:\/\/www.themento.net\/fa\/wp-content\/uploads\/2021\/03\/cptui_manage_post_types-367x1536.jpg 367w\" sizes=\"(max-width: 612px) 100vw, 612px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b7801f8 elementor-widget elementor-widget-text-editor\" data-id=\"b7801f8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u06a9\u0627\u0631 \u062a\u0645\u0627\u0645 \u0634\u062f \u0648 \u0628\u0639\u062f \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0645\u0648\u0627\u0631\u062f \u0628\u0627\u0644\u0627 \u062f\u06a9\u0645\u0647 &#8220;Add Post Type&#8221; \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f \u062a\u0627 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0634\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u0634\u0648\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-872584e elementor-widget elementor-widget-heading\" data-id=\"872584e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u0633\u0641\u0627\u0631\u0634\u06cc \u0628\u062f\u0648\u0646 \u0627\u0641\u0632\u0648\u0646\u0647 \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-133250a elementor-widget elementor-widget-text-editor\" data-id=\"133250a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0634\u0645\u0627 \u06a9\u062f \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 function.php \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u062c\u062f\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u0634\u0648\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56cad1f elementor-widget elementor-widget-bdt-source-code\" data-id=\"56cad1f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"bdt-source-code.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n\n        <div class=\"bdt-source-code prism-okaidia\">\n\n\t\t\t                <button class=\"bdt-copy-button\">Copy<\/button>\n\t\t\t<pre class=\"language-php\"><code>\/\/ Register Custom Post Type\nfunction tmt_projects() {\n\n\t$labels = array(\n\t\t&#039;name&#039;                  =&gt; _x( &#039;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;Post Type General Name&#039;, &#039;portfolio&#039; ),\n\t\t&#039;singular_name&#039;         =&gt; _x( &#039;\u067e\u0631\u0648\u0698\u0647&#039;, &#039;Post Type Singular Name&#039;, &#039;portfolio&#039; ),\n\t\t&#039;menu_name&#039;             =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;name_admin_bar&#039;        =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;archives&#039;              =&gt; __( &#039;\u0644\u06cc\u0633\u062a \u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;parent_item_colon&#039;     =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 :&#039;, &#039;portfolio&#039; ),\n\t\t&#039;all_items&#039;             =&gt; __( &#039;\u0647\u0645\u0647 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;add_new_item&#039;          =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u062c\u062f\u06cc\u062f&#039;, &#039;portfolio&#039; ),\n\t\t&#039;add_new&#039;               =&gt; __( &#039;\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646&#039;, &#039;portfolio&#039; ),\n\t\t&#039;new_item&#039;              =&gt; __( &#039;\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u067e\u0631\u0648\u0698\u0647 \u062c\u062f\u06cc\u062f&#039;, &#039;portfolio&#039; ),\n\t\t&#039;edit_item&#039;             =&gt; __( &#039;\u0648\u06cc\u0631\u0627\u06cc\u0634 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;update_item&#039;           =&gt; __( &#039;\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;view_item&#039;             =&gt; __( &#039;\u0645\u0634\u0627\u0647\u062f\u0647 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;search_items&#039;          =&gt; __( &#039;\u062c\u0633\u062a\u062c\u0648\u06cc \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;not_found&#039;             =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f&#039;, &#039;portfolio&#039; ),\n\t\t&#039;not_found_in_trash&#039;    =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u062f\u0631 \u0633\u0637\u0644 \u0632\u0628\u0627\u0644\u0647 \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f&#039;, &#039;portfolio&#039; ),\n\t\t&#039;featured_image&#039;        =&gt; __( &#039;\u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;set_featured_image&#039;    =&gt; __( &#039;\u0627\u0641\u0632\u0648\u062f\u0646 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;remove_featured_image&#039; =&gt; __( &#039;\u062d\u0630\u0641 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;use_featured_image&#039;    =&gt; __( &#039;\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0646 \u062a\u0635\u0648\u06cc\u0631 \u067e\u0631\u0648\u0698\u0647&#039;, &#039;portfolio&#039; ),\n\t\t&#039;insert_into_item&#039;      =&gt; __( &#039;\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646&#039;, &#039;portfolio&#039; ),\n\t\t&#039;uploaded_to_this_item&#039; =&gt; __( &#039;\u0628\u0627\u0631\u06af\u0632\u0627\u0631\u06cc \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644&#039;, &#039;portfolio&#039; ),\n\t\t&#039;items_list&#039;            =&gt; __( &#039;\u0644\u06cc\u0633\u062a \u0641\u0627\u06cc\u0644 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;items_list_navigation&#039; =&gt; __( &#039;\u0644\u06cc\u0633\u062a \u0641\u0627\u06cc\u0644 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;filter_items_list&#039;     =&gt; __( &#039;\u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0641\u0627\u06cc\u0644&#039;, &#039;portfolio&#039; ),\n\t);\n\t$args = array(\n\t\t&#039;label&#039;                 =&gt; __( &#039;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#039;, &#039;portfolio&#039; ),\n\t\t&#039;description&#039;           =&gt; __( &#039;\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.&#039;, &#039;portfolio&#039; ),\n\t\t&#039;labels&#039;                =&gt; $labels,\n\t\t&#039;supports&#039;              =&gt; array( &#039;title&#039;, &#039;editor&#039;, &#039;excerpt&#039;, &#039;author&#039;, &#039;thumbnail&#039;, &#039;comments&#039;, &#039;trackbacks&#039;, &#039;revisions&#039;, &#039;custom-fields&#039;, &#039;page-attributes&#039;, &#039;post-formats&#039;, ),\n\t\t&#039;taxonomies&#039;            =&gt; array( &#039;taxonomy&#039; ),\n\t\t&#039;hierarchical&#039;          =&gt; false,\n\t\t&#039;public&#039;                =&gt; true,\n\t\t&#039;show_ui&#039;               =&gt; true,\n\t\t&#039;show_in_menu&#039;          =&gt; true,\n\t\t&#039;menu_position&#039;         =&gt; 5,\n\t\t&#039;show_in_admin_bar&#039;     =&gt; true,\n\t\t&#039;show_in_nav_menus&#039;     =&gt; true,\n\t\t&#039;can_export&#039;            =&gt; true,\n\t\t&#039;has_archive&#039;           =&gt; true,\t\t\n\t\t&#039;exclude_from_search&#039;   =&gt; false,\n\t\t&#039;publicly_queryable&#039;    =&gt; true,\n\t\t&#039;capability_type&#039;       =&gt; &#039;page&#039;,\n\t);\n\tregister_post_type( &#039;projects&#039;, $args );\n\n}\nadd_action( &#039;init&#039;, &#039;tmt_projects&#039;, 0 );<\/code><\/pre><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e (\u067e\u0633\u062a \u0633\u0641\u0627\u0631\u0634\u06cc) \u062e\u0627\u0635 \u0645\u0627\u0646\u0646\u062f \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u0634\u0627\u06cc\u062f \u0628\u0631\u0627\u062a\u0648\u0646 \u067e\u06cc\u0634 \u0628\u06cc\u0627\u062f \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06cc\u06a9 \u0628\u062e\u0634 \u0633\u0641\u0627\u0631\u0634\u06cc \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0627\u0646\u0646\u062f \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0634\u06cc\u062f \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u0628\u062e\u0634 \u0628\u0647 \u0646\u0627\u0645 &#8220;\u067e\u0631\u0648\u0698\u0647 \u0647\u0627&#8221; \u06cc\u0627 &#8220;\u06a9\u062a\u0627\u0628 \u0647\u0627&#8221; \u0648 &#8230; \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0627\u0646\u0646\u062f \u0645\u0642\u0627\u0644\u0627\u062a \u06cc\u06a9 \u0633\u0631\u06cc \u067e\u0633\u062a \u062e\u0627\u0635 \u062f\u0631 \u0622\u0646 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[57],"tags":[],"class_list":["post-2520","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts\/2520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/comments?post=2520"}],"version-history":[{"count":0,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts\/2520\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/media\/14936"}],"wp:attachment":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/media?parent=2520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/categories?post=2520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/tags?post=2520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}