Viewing 2 replies - 1 through 2 (of 2 total)
  • You should probably do this inside the loop, i. e.:

    <?php 
    	if ( have_posts() ) { 
    		while ( have_posts() ) : the_post();
    			$link = get_post_meta(get_the_ID(), 'link', TRUE);
    ?>
    			<p><a href="<?php echo $link; ?>"><?php the_title(); ?></a></p>
    …
    …
    Thread Starter nnproducts

    (@nnproducts)

    @10010110,

    I tried that, but, I think that I must have had the syntax wrong. Working now!

    Thank you for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Loop Issue’ is closed to new replies.