get_option( 'sticky_posts' ), 'post_status' => 'publish', 'post_type' => 'post', 'orderby' => esc_html( get_theme_mod('section_one_post_type') ), // rand, DESC 'posts_per_page' => 1, 'tax_query' => array ( array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => get_theme_mod( 'section_one_post_category' ) ), ) ); // query var $astromag_get_posts_first = new WP_Query($astromag_postArgsFirstPost); // Loop while($astromag_get_posts_first->have_posts()) : $astromag_get_posts_first->the_post(); //Post ID $astromag_postIdFirst = get_the_ID(); ?>
name ); ?>

get_option( 'sticky_posts' ), 'post_status' => 'publish', 'post_type' => 'post', 'orderby' => esc_html( get_theme_mod('section_one_post_type') ), // rand, DESC 'offset' => 1, // offset 'posts_per_page' => $astromag_postsToShow - 1, // post count - 1 'tax_query' => array ( array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => get_theme_mod( 'section_one_post_category' ) ), ) ); $astromag_get_posts = new WP_Query($astromag_postArgs); while($astromag_get_posts->have_posts()) : $astromag_get_posts->the_post(); $astromag_postId = get_the_ID(); ?>
name ); ?>

get_option( 'sticky_posts' ), 'post_status' => 'publish', 'orderby' => 'DESC', 'post_type' => 'post', 'posts_per_page' => $astromag_postPerPage, 'paged' => $astromag_paged ); $astromag_get_all_posts = new WP_Query($astromag_args); ?>
have_posts()) : $astromag_get_all_posts->the_post(); $astromag_postid = get_the_ID(); ?>
name ); ?>