How to actually display a plugin on a custom page?
I am very new to WP and probably have a ridiculous question but what to do.
I am trying to build my own theme, and on a certain page I am using a custom template where I have the header and footer included, and inbetween I want to include a plugin.
I installed 2 plugins, a slider and a contact form, but can’t find a way to get them to show there.
OK, after doing a bit of searching I think the answer is to use shortcode.
I have a page with some text and below it I pasted the shortcode for the contact form which is
but nothing happens.
The php I am using to display the actual content of the page is this:
<?php $my_id = 30; $post_id_5369 = get_post($my_id); $content = $post_id_5369->post_content; $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?>
- The topic ‘How to actually display a plugin on a custom page?’ is closed to new replies.