'post__in', 'post_type' => 'page', 'post__in' => $best_education_footer_fix_page, ); } if (!empty($best_education_fix_page_page_args)) { $best_education_fix_page_page_query = new WP_Query($best_education_fix_page_page_args); while ($best_education_fix_page_page_query->have_posts()): $best_education_fix_page_page_query->the_post(); if (has_excerpt()) { $best_education_fix_page_page_main_content = get_the_excerpt(); } else { $best_education_fix_page_page_main_content = best_education_words_count($best_education_fix_page_page_excerpt_number, get_the_content()); } if (has_post_thumbnail()) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'full'); $url = $thumb['0']; } else { $url = NULL; } ?>