{"id":14356,"date":"2024-01-23T17:51:16","date_gmt":"2024-01-23T14:51:16","guid":{"rendered":"https:\/\/elzero.org\/?p=14356"},"modified":"2024-01-23T17:55:16","modified_gmt":"2024-01-23T14:55:16","slug":"wordpress-show-total-posts-count","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/wordpress-show-total-posts-count\/","title":{"rendered":"\u0625\u0638\u0647\u0627\u0631 \u0639\u062f\u062f \u0627\u0644\u0645\u0642\u0627\u0644\u0627\u062a \u0627\u0644\u0643\u0644\u064a \u0641\u064a \u0646\u0638\u0627\u0645 WordPress"},"content":{"rendered":"<div class=\"text\">\u0627\u0644 Code \u0627\u0644\u062a\u0627\u0644\u064a \u064a\u0638\u0647\u0631 \u0639\u062f\u062f \u062c\u0645\u064a\u0639 \u0627\u0644\u0645\u0642\u0627\u0644\u0627\u062a \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0641\u064a \u0627\u0644\u0645\u0648\u0642\u0639 \u0648\u0627\u0644\u062a\u064a \u062a\u0645 \u0639\u0645\u0644 Publish \u0644\u0647\u0627 \u0641\u0642\u0637 \u0648\u0644\u0646 \u064a\u0642\u0648\u0645 \u0628\u0625\u062d\u062a\u0633\u0627\u0628 \u0623\u064a \u0645\u0642\u0627\u0644 \u0622\u062e\u0631 \u0633\u0648\u0627\u0621 \u0643\u0627\u0646 \u0645\u062d\u0630\u0648\u0641 \u0623\u0648 Draft \u0645\u062b\u0644\u0627<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n$all_posts = wp_count_posts()->publish;\r\necho all_posts; \/\/ All Posts Count\r\n<\/script>\r\n\r\n<div class=\"text\">\u0648\u0647\u0630\u0647 \u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u062a\u064a \u064a\u0645\u0643\u0646 \u0623\u0646 \u062a\u0633\u062a\u0639\u0645\u0644\u0647\u0627<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-text\">\r\npublish\r\nfuture\r\ndraft\r\npending\r\nprivate\r\ntrash\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0639\u062f\u062f \u0627\u0644\u0645\u0642\u0627\u0644\u0627\u062a \u0627\u0644\u0643\u0644\u064a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[526],"tags":[],"class_list":["post-14356","post","type-post","status-publish","format-standard","hentry","category-wordpress-tutorials"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=14356"}],"version-history":[{"count":4,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14356\/revisions"}],"predecessor-version":[{"id":14360,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14356\/revisions\/14360"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=14356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=14356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=14356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}