{"id":383,"date":"2019-01-07T15:15:29","date_gmt":"2019-01-07T21:15:29","guid":{"rendered":"https:\/\/help.marketingservices.dev\/?p=383"},"modified":"2020-11-27T10:39:30","modified_gmt":"2020-11-27T16:39:30","slug":"php-shortcodes","status":"publish","type":"post","link":"https:\/\/help.marketingservices.dev\/?p=383","title":{"rendered":"PHP Shortcodes"},"content":{"rendered":"<p>While Website Pro fully supports WordPress shortcodes, it does not support PHP shortcodes (<code>&lt;?<\/code>\u00a0at the top of a file). Support for these has been\u00a0<a href=\"http:\/\/php.net\/manual\/en\/language.basic-syntax.phptags.php\">removed from PHP as of 7.0<\/a> as it can conflict with other types of files (such as XML).<\/p>\n<p>Generally, it is recommended to use <code>&lt;?php\u00a0<\/code>\u00a0instead as this will help the system know to treat the file as PHP code. If your site currently uses PHP shortcode, you can use a program\u2013such as Notepad++\u2013to find and replace all instances of the shortcode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While Website Pro fully supports WordPress shortcodes, it does not support PHP shortcodes (&lt;?\u00a0at the top of a file). Support for these has been\u00a0removed from PHP as of 7.0 as it can conflict with other types of files (such as XML). Generally, it is recommended to use &lt;?php\u00a0\u00a0instead as this will help the system know [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/383"}],"collection":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=383"}],"version-history":[{"count":3,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":386,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/383\/revisions\/386"}],"wp:attachment":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}