headers/header-top.php000064400000003521147200211520010713 0ustar00headers/header-sub.php000064400000001277147200211520010710 0ustar00hand-picked.php000064400000006661147200211520007427 0ustar00

-1, // get all posts. 'meta_query' => array( array( 'post_type' => 'post', 'field' => 'id', 'terms' => 5, 'key' => 'newsophy_picked_post', 'value' => true ), ), 'fields' => 'ids', // Only get post IDs )); } else{ $post_ids = get_posts(array( 'numberposts' => 6, // get all posts. 'meta_query' => array( array( 'post_type' => 'post', 'orderby' => 'post_date', 'order' => 'DESC', 'key' => 'newsophy_pick_latest', 'value' => true ), ), 'fields' => 'ids', // Only get post IDs )); } $args = array( 'ignore_sticky_posts' => 1, 'showposts' => 6, 'post__in' => $post_ids, ); $feat_query = new WP_Query( $args ); ?> have_posts()) : while ($feat_query->have_posts()) : $feat_query->the_post(); ?>

feat-content.php000064400000006445147200211520007647 0ustar00
4, // get all posts. 'meta_query' => array( array( 'post_type' => 'post', 'field' => 'id', 'terms' => 5, 'key' => 'newsophy_feat_post', 'value' => true ), ), 'fields' => 'ids', // Only get post IDs )); } else { $post_ids = get_posts(array( 'numberposts' => 4, // get all posts. 'meta_query' => array( array( 'post_type' => 'post', 'orderby' => 'post_date', 'order' => 'DESC', 'key' => 'newsophy_latest_post', 'value' => true ), ), 'fields' => 'ids', // Only get post IDs )); } $args = array( 'ignore_sticky_posts' => 1, 'showposts' => 4, 'post__in' => $post_ids, ); $feat_query = new WP_Query( $args ); ?> have_posts()) : while ($feat_query->have_posts()) : $feat_query->the_post(); ?>

mobile-menu.php000064400000001504147200211520007460 0ustar00 list-comments.php000064400000002057147200211520010051 0ustar00
  • id="comment-">
    esc_html__('Reply', 'newsophy'), 'add_below' => 'comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?> comment_approved == '0') : ?>
    hidden-sidebar.php000064400000000512147200211520010107 0ustar00 related-posts.php000064400000004447147200211520010046 0ustar00ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id; if (!get_theme_mod('newsophy_sort_related')){ $args = array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'posts_per_page' => 3, // Number of related posts that will be shown. 'ignore_sticky_posts' => 1, 'orderby' => 'rand' ); } else { $args = array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'post_type' => 'post', 'posts_per_page' => 10, 'orderby' => 'date', 'order' => 'DESC', 'no_found_rows' => 'true', '_shuffle_and_pick' => 3 // <-- custom argument ); } $my_query = new wp_query( $args ); if( $my_query->have_posts() ) { ?> about-author.php000064400000002700147200211520007660 0ustar00

    social-header.php000064400000007177147200211520007763 0ustar00social-share.php000064400000005512147200211520007624 0ustar00 post-navigation.php000064400000002733147200211520010376 0ustar00
    ID); ?> ID)) : ?>
    ID) ){ echo ''; } ?>
    ID); ?> ID)) : ?>
    ID) ){ echo ''; } ?>
    social-footer.php000064400000007177147200211520010031 0ustar00random-posts.php000064400000003055147200211520007700 0ustar00 array($post->ID), 'posts_per_page' => 3, // Number of random posts that will be shown. 'ignore_sticky_posts' => 1, 'orderby' => 'rand' ); $my_query = new wp_query( $args ); if( $my_query->have_posts() ) { ?>