• I am using Gravity forms plugin and posting the data within a blog post. It works great except I want the post data to appear only when someone clicks on the title to go into a post page. Right now I am posting the following code which makes the post data appear only within the post preview on the home page and below the post info actually.

    <?php /* Start the Loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', get_post_format() ); ?>
    <?php echo "<b><u>BEACH RIDE INFORMATION:</u></b>";?>
     <?php the_meta(); ?>
    			<?php endwhile; ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    this is posted within the Main Index Template (index.php_ so I may be posting in the wrong place! Help!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘displaying custom post fields on post page only, not home page’ is closed to new replies.