This page provides the requirements for Optimize CMS integration to work with Wordpress.
On page requirements
Pageid
or postid
must be added as a class on the body element in the HTML, like this:
<body class=”page-id-{id}”>
or
<body class=”postid-{id}”>
That will look something like:
<body class=”page-id-1”>
or
<body class=”postid-1”>
The edit URL
For Optimize integration to work, the edit URL inside the CMS must look like this:
http(s)://domain.tld/wp-admin/post.php?post=#{post_id|page_id}&action=edit"