Timeline for Query post & loop problem.
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2012 at 5:02 | vote | accept | Nisha_at_Behance | ||
Jul 19, 2012 at 12:06 | comment | added | Michael | what is or was the actual problem with the code? | |
Jul 19, 2012 at 10:51 | comment | added | Nisha_at_Behance | thanks for your reply !! done here is the <?php $count = 1; $the_query = new WP_Query('category_name=headline&orderby=post_date&order=desc'); if ($the_query->have_posts()) :?> <?php while ($the_query->have_posts()) : $the_query->the_post(); if($count == 1) : ?> | |
Jul 19, 2012 at 8:26 | history | answered | Michael | CC BY-SA 3.0 |