{"id":21583,"date":"2021-11-17T19:00:34","date_gmt":"2021-11-17T15:30:34","guid":{"rendered":"https:\/\/www.themento.net\/fa\/?p=21583"},"modified":"2021-11-17T14:31:24","modified_gmt":"2021-11-17T11:01:24","slug":"display-the-image-in-the-wordpress-content-panel","status":"publish","type":"post","link":"https:\/\/www.themento.net\/fa\/21583\/display-the-image-in-the-wordpress-content-panel\/","title":{"rendered":"\u0646\u0645\u0627\u06cc\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0634\u0627\u062e\u0635 \u062f\u0631 \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627\u06cc \u067e\u0646\u0644 \u0648\u0631\u062f\u067e\u0631\u0633"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"21583\" class=\"elementor elementor-21583\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cbf7950 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cbf7950\" 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-9d7444b\" data-id=\"9d7444b\" 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-4c61ba6 elementor-widget elementor-widget-text-editor\" data-id=\"4c61ba6\" 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>\u062f\u0631 \u067e\u0646\u0644 \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u06cc\u0627 \u0647\u0631 <a href=\"https:\/\/www.themento.net\/fa\/2520\/tutorial-on-creating-custom-post-types\/\" data-internallinksmanager029f6b8e52c=\"8\" title=\"\u067e\u0633\u062a \u062a\u0627\u06cc\u067e\">\u067e\u0633\u062a \u062a\u0627\u06cc\u067e<\/a> \u062f\u06cc\u06af\u0631 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u0645 \u062a\u0635\u0648\u06cc\u0631 \u0634\u0627\u062e\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0628\u062f\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u06a9\u062f PHP \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0642\u0627\u0644\u0628 \u062e\u0648\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644 function.php \u0642\u0631\u0627\u0631 \u0628\u062f\u06cc\u062f \u06cc\u0627 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 &#8220;<a href=\"https:\/\/www.themento.net\/fa\/18784\/insert-and-inject-php-code-in-wordpress\/\">\u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0648 \u062a\u0632\u0631\u06cc\u0642 \u06a9\u062f php \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u062f\u0648\u0646 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0642\u0627\u0644\u0628<\/a>&#8221; \u06a9\u062f \u0631\u0627 \u0628\u062f\u0648\u0646 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0642\u0627\u0644\u0628 \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-62f051b elementor-widget elementor-widget-bdt-source-code\" data-id=\"62f051b\" 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<pre class=\"language-php\"><code>\/**\n * post thumbs in panel wp\n*\/\n\nadd_filter(&#039;manage_posts_columns&#039;, &#039;tmt_posts_columns&#039;, 6);\nadd_action(&#039;manage_posts_custom_column&#039;, &#039;tmt_posts_custom_columns&#039;, 5, 2);\nfunction tmt_posts_columns($defaults){\n    $defaults[&#039;tmt_post_thumbs&#039;] = __(&#039;\u062a\u0635\u0648\u06cc\u0631 \u0634\u0627\u062e\u0635&#039;);\n    return $defaults;\n}\nfunction tmt_posts_custom_columns($column_name, $id){\n    if($column_name === &#039;tmt_post_thumbs&#039;){\n        echo the_post_thumbnail( &#039;thumbnail&#039; );\n    }\n}<\/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>\u062f\u0631 \u067e\u0646\u0644 \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u062e\u0634 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u06cc\u0627 \u0647\u0631 \u067e\u0633\u062a \u062a\u0627\u06cc\u067e \u062f\u06cc\u06af\u0631 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u0645 \u062a\u0635\u0648\u06cc\u0631 \u0634\u0627\u062e\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0628\u062f\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u06a9\u062f PHP \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0642\u0627\u0644\u0628 \u062e\u0648\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644 function.php \u0642\u0631\u0627\u0631 \u0628\u062f\u06cc\u062f \u06cc\u0627 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 &#8220;\u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0648 \u062a\u0632\u0631\u06cc\u0642 \u06a9\u062f php \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u062f\u0648\u0646 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0642\u0627\u0644\u0628&#8221; \u06a9\u062f \u0631\u0627 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":21895,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[59,57],"tags":[],"class_list":["post-21583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-codes","category-wordpress-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts\/21583","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=21583"}],"version-history":[{"count":8,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts\/21583\/revisions"}],"predecessor-version":[{"id":21896,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/posts\/21583\/revisions\/21896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/media\/21895"}],"wp:attachment":[{"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/media?parent=21583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/categories?post=21583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.themento.net\/fa\/wp-json\/wp\/v2\/tags?post=21583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}