{"id":14461,"date":"2018-11-05T13:25:29","date_gmt":"2018-11-05T15:25:29","guid":{"rendered":"https:\/\/king.host\/wiki\/?post_type=article&#038;p=14461"},"modified":"2021-12-04T15:35:22","modified_gmt":"2021-12-04T17:35:22","slug":"php-em-posts-do-wordpress","status":"publish","type":"article","link":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/","title":{"rendered":"Executando c\u00f3digos PHP em posts do WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Precisa executar c\u00f3digos PHP em posts do WordPress? Por padr\u00e3o, o editor de conte\u00fado da plataforma somente aceita conte\u00fado HTML e CSS\/JS inline, mas atrav\u00e9s de um plugin voc\u00ea pode habilitar tamb\u00e9m a execu\u00e7\u00e3o de c\u00f3digos escritos em PHP.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a class=\"deve-redirecionar\" href=\"https:\/\/king.host\/hospedagem-wordpress?utm_source=wiki&amp;utm_medium=banner&amp;utm_term=wp-banner-top&amp;utm_content=php-em-posts-do-wordpress&amp;utm_campaign=oferta-produto\" target=\"_blank\" v-on:click=\"toggle_modal\" rel=\"noopener\"><img data-original=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2021\/10\/WP-970x250-1-960x247.png\" alt=\"Plataforma completa para um site WordPress.\" class=\"wp-image-22356\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">O plugin <a href=\"https:\/\/br.wordpress.org\/plugins\/php-everywhere\/\" target=\"_blank\" rel=\"noopener noreferrer\">PHP Everywhere<\/a> habilita a execu\u00e7\u00e3o de c\u00f3digos PHP dentro de posts, p\u00e1ginas, widgets e custom post types. Basta inserir o c\u00f3digo e utilizar o shortcode do plugin.<br><small>Existem outros plugins com fun\u00e7\u00e3o semelhante, mas temos como recomenda\u00e7\u00e3o o informado acima.<\/small><br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/plugin-phpeverywhere.png\"><img decoding=\"async\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/plugin-phpeverywhere.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 537px; --smush-placeholder-aspect-ratio: 537\/242;\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Como inserir c\u00f3digos PHP em posts do WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de ativar o plugin, surgir\u00e1 na tela de edi\u00e7\u00e3o de posts um novo metabox onde voc\u00ea pode adicionar o seu c\u00f3digo PHP.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/phpeverywhere03.png\" v-on:click=\"toggle_modal\"><img decoding=\"async\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/phpeverywhere03.png\" alt=\"Inserir c\u00f3digos PHP em posts do WordPress\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 285px; --smush-placeholder-aspect-ratio: 285\/209;\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Dentro do editor do post coloque no local desejado a tag <strong>[php_everywhere]<\/strong>.<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/phpeverywhere02.png\"><img decoding=\"async\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/11\/phpeverywhere02.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 841px; --smush-placeholder-aspect-ratio: 841\/142;\" \/><\/a><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Por fim, basta salvar e publicar o seu post.<br>E se tudo estiver certo com seu c\u00f3digo, o post ser\u00e1 publicado e executar\u00e1 o PHP que voc\u00ea colocou.<br>Al\u00e9m disso, voc\u00ea tamb\u00e9m pode encontrar uma boa documenta\u00e7\u00e3o na <a rel=\"noopener noreferrer\" href=\"https:\/\/br.wordpress.org\/plugins\/php-everywhere\/\" target=\"_blank\">p\u00e1gina oficial do plugin<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>       <\/em><\/p>\n","protected":false},"author":9,"featured_media":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","article-category":[205],"article-tag":[],"class_list":["post-14461","article","type-article","status-publish","format-standard","hentry","article-category-wp-gerenciamento-site"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"teste.andre\"\/>\n\t<meta name=\"google-site-verification\" content=\"ofqjo5zOS5ZIGtLClOeuFS3sGuOFAUlE6pyxkKJuj8w\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Central de Ajuda KingHost - Central de Ajuda KingHost\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost\" \/>\n\t\t<meta property=\"og:description\" content=\"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-11-05T15:25:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-12-04T17:35:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/KingHost.Brasil\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@kinghost\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@kinghost\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki#listItem\",\"position\":1,\"name\":\"In\\u00edcio\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-gerenciamento-site\\\/#listItem\",\"name\":\"Gerenciamento do site\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki#listItem\",\"name\":\"In\\u00edcio\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-gerenciamento-site\\\/#listItem\",\"position\":3,\"name\":\"Gerenciamento do site\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-gerenciamento-site\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#listItem\",\"name\":\"Executando c\\u00f3digos PHP em posts do WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#listItem\",\"position\":4,\"name\":\"Executando c\\u00f3digos PHP em posts do WordPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-gerenciamento-site\\\/#listItem\",\"name\":\"Gerenciamento do site\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#organization\",\"name\":\"kingHost Hospedagem de Sites\",\"description\":\"Central de Ajuda KingHost\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/\",\"telephone\":\"+5551996659627\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/kinghost.png\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#organizationLogo\",\"width\":377,\"height\":73},\"image\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/KingHost.Brasil\",\"https:\\\/\\\/twitter.com\\\/kinghost\",\"https:\\\/\\\/www.instagram.com\\\/kinghost\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC41tI4JaVY8rde3XnM2S4mw\",\"https:\\\/\\\/br.linkedin.com\\\/company\\\/kinghost\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/\",\"name\":\"teste.andre\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0be41e3058e57314366aa7797c6ac15d0e4ddcaea62bf3ab0028f3ace791221?s=96&d=https%3A%2F%2Fking.host%2Fwiki%2Fwp-content%2Fuploads%2F2018%2F05%2Ftime-marketing-avatar.jpeg&r=g\",\"width\":96,\"height\":96,\"caption\":\"teste.andre\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#webpage\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/\",\"name\":\"Executando c\\u00f3digos PHP em posts do WordPress - Ajuda KingHost\",\"description\":\"Precisa executar c\\u00f3digos PHP em posts do WordPress? O editor de conte\\u00fado somente aceita conte\\u00fado HTML, CSS e JS, mas com plugins voc\\u00ea pode usar PHP.\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/php-em-posts-do-wordpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\"},\"datePublished\":\"2018-11-05T13:25:29-02:00\",\"dateModified\":\"2021-12-04T15:35:22-03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#website\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/\",\"name\":\"Central de Ajuda KingHost\",\"description\":\"Central de Ajuda KingHost\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost","description":"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.","canonical_url":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"ofqjo5zOS5ZIGtLClOeuFS3sGuOFAUlE6pyxkKJuj8w","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/king.host\/wiki#listItem","position":1,"name":"In\u00edcio","item":"https:\/\/king.host\/wiki","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","name":"WordPress"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","position":2,"name":"WordPress","item":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-gerenciamento-site\/#listItem","name":"Gerenciamento do site"},"previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki#listItem","name":"In\u00edcio"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-gerenciamento-site\/#listItem","position":3,"name":"Gerenciamento do site","item":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-gerenciamento-site\/","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#listItem","name":"Executando c\u00f3digos PHP em posts do WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","name":"WordPress"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#listItem","position":4,"name":"Executando c\u00f3digos PHP em posts do WordPress","previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-gerenciamento-site\/#listItem","name":"Gerenciamento do site"}}]},{"@type":"Organization","@id":"https:\/\/king.host\/wiki\/#organization","name":"kingHost Hospedagem de Sites","description":"Central de Ajuda KingHost","url":"https:\/\/king.host\/wiki\/","telephone":"+5551996659627","logo":{"@type":"ImageObject","url":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2021\/09\/kinghost.png","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#organizationLogo","width":377,"height":73},"image":{"@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/KingHost.Brasil","https:\/\/twitter.com\/kinghost","https:\/\/www.instagram.com\/kinghost\/","https:\/\/www.youtube.com\/channel\/UC41tI4JaVY8rde3XnM2S4mw","https:\/\/br.linkedin.com\/company\/kinghost"]},{"@type":"Person","@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author","url":"https:\/\/king.host\/wiki\/author\/andre-santos\/","name":"teste.andre","image":{"@type":"ImageObject","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b0be41e3058e57314366aa7797c6ac15d0e4ddcaea62bf3ab0028f3ace791221?s=96&d=https%3A%2F%2Fking.host%2Fwiki%2Fwp-content%2Fuploads%2F2018%2F05%2Ftime-marketing-avatar.jpeg&r=g","width":96,"height":96,"caption":"teste.andre"}},{"@type":"WebPage","@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#webpage","url":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/","name":"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost","description":"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/king.host\/wiki\/#website"},"breadcrumb":{"@id":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/#breadcrumblist"},"author":{"@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author"},"creator":{"@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author"},"datePublished":"2018-11-05T13:25:29-02:00","dateModified":"2021-12-04T15:35:22-03:00"},{"@type":"WebSite","@id":"https:\/\/king.host\/wiki\/#website","url":"https:\/\/king.host\/wiki\/","name":"Central de Ajuda KingHost","description":"Central de Ajuda KingHost","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/king.host\/wiki\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"Central de Ajuda KingHost - Central de Ajuda KingHost","og:type":"article","og:title":"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost","og:description":"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.","og:url":"https:\/\/king.host\/wiki\/artigo\/php-em-posts-do-wordpress\/","og:image":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png","og:image:secure_url":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png","og:image:width":1920,"og:image:height":1080,"article:published_time":"2018-11-05T15:25:29+00:00","article:modified_time":"2021-12-04T17:35:22+00:00","article:publisher":"https:\/\/www.facebook.com\/KingHost.Brasil","twitter:card":"summary_large_image","twitter:site":"@kinghost","twitter:title":"Executando c\u00f3digos PHP em posts do WordPress - Ajuda KingHost","twitter:description":"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.","twitter:creator":"@kinghost","twitter:image":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png"},"aioseo_meta_data":{"post_id":"14461","title":"#post_title - Ajuda KingHost","description":"Precisa executar c\u00f3digos PHP em posts do WordPress? O editor de conte\u00fado somente aceita conte\u00fado HTML, CSS e JS, mas com plugins voc\u00ea pode usar PHP.","keywords":[],"keyphrases":{"focus":{"keyphrase":"php em posts do wordpress","analysis":{"keyphraseInTitle":{"title":"Focus Keyphrase in SEO title","description":"Focus Keyphrase found in SEO title.","score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"title":"Focus keyphrase in meta description","description":"Focus keyphrase found in meta description.","score":9,"maxScore":9,"error":0},"keyphraseInURL":{"title":"Focus Keyphrase in URL","description":"Focus Keyphrase used in the URL.","score":5,"maxScore":5,"error":0},"keyphraseLength":{"title":"Focus keyphrase length","description":"Focus keyphrase is slightly long. Try to make it shorter.","score":6,"maxScore":9,"error":1,"length":5},"keyphraseInIntroduction":{"title":"Focus keyphrase in introduction","description":"Your Focus keyphrase appears in the first paragraph. Well done!","score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"title":"Focus Keyphrase in Subheadings","description":"Your H2 or H3 subheading reflects the topic of your copy. Good job!","score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":{"title":"Focus keyphrase in image alt attributes","description":"Focus keyphrase found in image alt attribute(s).","score":9,"maxScore":9,"error":0}},"score":95},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":null,"isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-05-12 14:16:14","updated":"2026-07-20 16:13:31","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article\/14461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/comments?post=14461"}],"version-history":[{"count":0,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article\/14461\/revisions"}],"wp:attachment":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/media?parent=14461"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article-category?post=14461"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article-tag?post=14461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}