{"id":18757104,"date":"2025-12-15T19:19:53","date_gmt":"2025-12-15T19:19:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-using-elementor-2\/"},"modified":"2025-12-15T19:19:53","modified_gmt":"2025-12-15T19:19:53","slug":"problem-using-elementor-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-using-elementor-2\/","title":{"rendered":"Problem using Elementor"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello! <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have been using Elementor with this plugin, but I have encountered an error upon using this plugin. I am able to generate a page duplicate just fine, but the slug field is not actually stored in the database, which Elementor uses to allow me to edit the page. This causes a 400 error. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have found a solution, in duplicatepage.php to add a line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> 'post_name' =&gt; $post-&gt; 'some unique string'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">to the $args array. This lets me get around having to manually assign a post, but I would like to receive updates in the future. Is there another known solution to fix this? Or would it be possible to have this added in a future update for other Elementor users. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for any help!<\/p>\n","protected":false},"template":"","class_list":["post-18757104","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18757104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18757104\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18757104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}