main index page doesn’t show plugins
-
hello there
i am using only the Main Index Template (index.php) for displaying specific posts. its a one page website.
i use this to get post by id<?php $post_id = 1; $queried_post = get_post($post_id); ?> <div id="welcometext" align="center"> <h2 class="postheader" align="center"><?php echo $queried_post->post_title; ?></h2> </div> <br /> <div class="starsrow" align="center"> </div> <div class="art-postcontent"> <?php echo $queried_post->post_content; ?>
the problem is that the post displays the code of the plugins ([TINY-CONTACT-FORM] or [nggallery id=1]) instead of the content itself
see it here
https://www.circusloco.com/#contact
thanks for any help
mili
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘main index page doesn’t show plugins’ is closed to new replies.