Changeset 1022124
- Timestamp:
- 11/08/2014 04:46:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
recent-archive-more-widget/tags/1.1/recent-archive.php
r1022118 r1022124 22 22 */ 23 23 add_action('wp_head','ramw_add_count_to_archive'); 24 25 24 /*===---===-0--===--=-----=======---999---=============================== 26 25 +Another way to acheive what i have below: … … 42 41 } 43 42 add_action('wp_enqueue_scripts','ramw_load_ra_widget_style'); ?> 44 45 43 <?php 46 44 //some functions here … … 149 147 echo $args['before_title'] . $title . $args['after_title']; 150 148 } ?> 151 152 149 <?php 153 150 $archive_q = new WP_Query($a_args); … … 157 154 <?php 158 155 while ( $archive_q->have_posts() ): 159 $archive_q->the_post(); 160 ?> 156 $archive_q->the_post(); ?> 161 157 162 158 <li>
Note: See TracChangeset
for help on using the changeset viewer.