insert a post in index.php fie
-
Hey
i want to insert a post in my index.php file so it only shows that post.<?php get_header(); ?>
<?php
$pov_disthumb = get_option(‘pov_disthumb’);
?>
<div class=”box”>
<div class=”model”>
<?php wp_insert_post( $post[‘6’], $wp_error ); ?>
</div>does this work?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘insert a post in index.php fie’ is closed to new replies.