File: /home/httpd/html/stoptube.com/wp-content/themes/tubetheme-2017-v3-filled/index.php
<?php get_header(); ?>
<div class="wrapper">
<div class="clear"></div>
<div class="content">
<h2><?php single_cat_title('Currently browsing '); ?></h2>
<div class="clear"></div>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="item">
<div class="covershot">
<a href="<?php the_permalink() ?>">
<img src="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['videothumbnail'];?>" alt="<?php the_title() ?>" />
</a>
</div>
<div class="post-title">
<a href="<?php the_permalink() ?>"><?php $title = the_title('','',FALSE); echo substr($title, 0, 35); ?></a>
</div>
<div class="meta">
<!--THIS IS THE CUSTOM views and paysite link to use on front page -->
<?php echo getPostViews(get_the_ID()); ?> -
<a href="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['paysitelink'];?>"><?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['paysite'];?></a>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<div id="fourofour">
<h1>No matching results</h1>
<p>You seem to have found a mis-linked page or search query with no associated results. Please trying your search again.</p>
<h2>or try our <a href="<?php bloginfo('url'); ?>/">recently added videos instead.</a></h2>
</div>
<?php endif; ?>
<div class="clear"></div>
<?php if (function_exists('wp_corenavi')) wp_corenavi(); ?>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>