Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (have_posts()) : the_post(); global $post,$wpdb,$listing_width,$preview;
- while (have_posts()) : the_post(); global $post,$wpdb,$listing_width,$preview;
- // echo info
- endwhilst;
- if($post->package_id == 16)
- // put this into array so I can loop through later
- $adType = $post->package_id;
- switch($adType) {
- case 16:
- {
- array_push($premium, $post);
- break;
- }
- case 17:
- {
- array_push($standard, $post);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement