How to integrate in post loop?
-
Hi, I’ve checked the documentation of your blog, but so far I couldn’t get it to work properly.
I need to integrate the code in the post loop, to show the images depending on the created post.
In my theme there is a loop-page.php with this code:
<?php /* Loop Name: Page */ ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>> <?php the_content(); ?> <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?><!--.pagination--> </div><!--#post--> <?php endwhile; ?>
I tried so far everything, but the images doesn’t show up.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to integrate in post loop?’ is closed to new replies.