I have created a post and have added a plugin (contact form 7) into it. I am able to view the post and the plugin is displayed but I have added it to one of my pages using
$post = get_post($id = 19, ARRAY_A); print $post['post_content'];
but all this did was print the code ([contact-form 1 “Contact form 1”]) that was in the post not the contact form its self.
How do I get the contact form to display?
- The topic ‘display plugin in post’ is closed to new replies.