最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Weird problem occurs while using Wordpress REST API to create new post

programmeradmin0浏览0评论

This is what happens.

I have WPBakery editor on my wordpress site. When I go to 'Edit Post' and paste custom HTML code (adjusted to WPBakery tags) and publish that post everything looks correct. But, when I add new post with Wordpress REST API, through pythons requests library, some parts of web page are moved a bit e.g. list title has 30 px top padding added.. Even weirder is when I click 'Edit Post' for that page and only click 'Update', without changing anything.. updated page looks ok, without any distortion.

Do you have any idea what may be causing such weird behavior? Any suggestion on what to check would be appreciated.

发布评论

评论列表(0)

  1. 暂无评论