Arrays seem to be ignored. What’s wrong?
-
So, I’m trying to customize archive.php but I have some trouble doing this.
It seems like my arrays are being ignored. Can somebody tell me what I’m doing wrong?<?php $the_query = new WP_Query(array( 'posts_per_page' => 4, 'offset' => 1 )); if (have_posts()) : while ( have_posts() ) : the_post(); endwhile;endif; wp_reset_postdata();?>
- This topic was modified 5 years, 7 months ago by .
- This topic was modified 5 years, 7 months ago by .
- This topic was modified 5 years, 7 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Arrays seem to be ignored. What’s wrong?’ is closed to new replies.