Skip to content

Instantly share code, notes, and snippets.

@congthien
Created April 27, 2022 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save congthien/a9b2626c3dba6623528f4b4c1578442c to your computer and use it in GitHub Desktop.
Save congthien/a9b2626c3dba6623528f4b4c1578442c to your computer and use it in GitHub Desktop.
<div class="offering-section">
<?php
$contentElementor = "";
if (class_exists("\\Elementor\\Plugin")) {
$post_ID = 9692;
$pluginElementor = \Elementor\Plugin::instance();
$contentElementor = $pluginElementor->frontend->get_builder_content($post_ID);
}
echo $contentElementor;
?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment