wordpress新文章后面怎么添加new图表,懂PHP代码的来看看?

我知道是插入下面这段代码,就是插入新图片图标,但是放在那里啊,试了各个地方都不行。代码如下: post_date; $time_two=date("Y-m-d H:i:s"); $diff=(strtotime($time_two)-strtotime($time_one))/3600; if($d...

wordpress 的文章中能嵌入 php 代码么?

想在wordpress的文章中,执行点php代码,好像不能运行?我在wordpress中新建了一个页面,正文里边添加了一些内容。希望动态地从后台拿数据,来更新当前的页面。直接在页面中添加php代码,好像不能被正常的执行。请问,有什么好的办法?能达到同样的目的?

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"云上经典架构","productDescription":"以搭建云上高可用博客网站为例,采用单地域双可用区部署,具备可用区级别的故障灾备能力,保障数据的可用性和持续性,为用户提供高性能的网站服务。","productContentLink":"https://www.aliyun.com/solution/tech-solution/habwoc","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/habwoc"},"productButton2":{"productButtonText":"一键部署","productButtonLink":"https://help.aliyun.com/document_detail/2357340.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"视频网站的存储与媒体处理方案","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/vsaps","productPromotionInfoSecondText":"网站静态资源访问加速","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/oss-x-cdn"}]},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock","activityPromotionInfoBlock":[],"activityIntroductionInfo":{"activityIntroductionTitle":"","activityIntroductionDescription":""}}}