I built a page with Elementor. Suppose page ID is 99. Now i want to fetch this page content in my theme footer.
This is the way i found how to get default post content by post ID:
$my_postid = 99; // This is page id or post id $content_post = get_post($my_postid); $content = $content_post->post_content; $content = apply_filters('the_content', $content); echo $content;
But if i use Elementor to built my page or post, previews method not working. Page or post content not showing with this method.
So my question is, How to get post content by post ID which built with Elementor.