• Resolved stiil

    (@stiil)


    Hey,

    how do I get the data for my custom field, when I’m inside the loop with wp_query?

    my code so far:

    query_posts($args);
    	while(have_posts() ) : the_post();
    		$pods = pods('page');
    
    ?>
    	<section id="<?php echo $post->post_name;?>" class="container">
    		<div class="contentWrapper">
    			<div class="content">
    				<h1><?php the_title(); ?></h1>
    				<h2><?php echo $pods->display('link'); ?></h2>
    			</div>
    		</div>
    	</section>
    
    	<?php endwhile; ?>

    https://wordpress.org/plugins/pods/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Extended Page’ is closed to new replies.