Elementor

This is a step by step guide how you can configure Elementor when you need to crosspost pages created with Elementor between WordPress sites using my Simple WP Crossposting plugin.

1. Make sure that you’re using the same layout settings

In the Elementor version 3.6 it was changed the way Elementor builds its layouts, “Inner Section” and “Column” widgets had disappeared and now we have just “Containers”. But this feature can be turned off in the Elementor settings.

What super-important is that if you’re using “Inner Sections” on one website and “Containers” on another website, then obviously crossposting Elementor pages between these websites isn’t going to work.

So please go to Elementor > Settings > Features and make sure that you have the same value of the option Flexbox Container on all the sites you’re crossposting between.

Flexbox container feature settings in Elementor
Make sure that you have the same value of Flexbox Container feature (either Active or Inactive on all sites).

I recommend to do your website backup copy before changing this option especially if you’re not sure about it or check official Elementor documentation beforehand.

2. Allow Elementor metadata for WordPress REST API

After you installed Simple WP Crossposting plugin the first thing you would need to do is to configure metadata in Settings > Crosspost > Metadata no matter whether you’re using Elementor or not. You can find more info about configuring it on this page.

The whole idea is that Elementor stores your page widget settings in _elementor_data custom field and in order to crosspost this custom field between different WordPress websites we need to include it in REST API (Elementor doesn’t do that).

If you’re still not sure what I am talking about, please check the video below.

3. Install the add-on (Optional)

I also recommend you to install and activate a special add-on on the same site where you have the main plugin activated.

Download Simple WP Crossposting – Elementor 1.3

The add-on is not required but it allows the certain features to work properly:

4. Allow Elementor templates for WordPress REST API (Optional)

If you’re using custom Elementor templates in your pages, before crossposting a page which contains a template, make sure that this specific template is already crossposted to the same site.

If you’re not sure about it, just go to Templates > Saved Templates, open the template you need, select sites in “Publish on” metabox and hit the “Update” button.

At the same moment don’t forget that templates is a custom post type and in order for a custom post type to be crossposted it should be included in the REST API.

// only for "Simple WP Crossposting" (not for "Simple Multisite Crossposting")
add_filter( 'register_post_type_args', function( $args, $post_type ) {
	
	if( 'elementor_library' === $post_type ) {
		$args[ 'show_in_rest' ] = true;
		$args[ 'supports' ][] = 'custom-fields';
	}
	return $args;
	
}, 10, 2 );

You need to use this snippet on every site you about to crosspost to. If you don’t know where to insert it, check this guide or the video below.

In you’re not into reading, then you can watch the video 🙂

Need more help?