Beispiel #1
0
if (ot_get_option('theme_layout', false)) {
    ?>
</div><!--/boxed-container-->
<?php 
}
?>
<div class="bg-ad">
	<div class="container">
    	<div class="bg-ad-left">
			<?php 
tm_display_ads('ad_bg_left');
?>
        </div>
        <div class="bg-ad-right">
			<?php 
tm_display_ads('ad_bg_right');
?>
        </div>
    </div>
</div>
</div><!--/body-wrap-->
<?php 
if (ot_get_option('user_submit', 1)) {
    ?>
	<div class="modal fade" id="submitModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	  <div class="modal-dialog">
		<div class="modal-content">
		  <div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			<h4 class="modal-title" id="myModalLabel"><?php 
    _e('Submit Video', 'cactusthemes');
Beispiel #2
0
</span>
                        <span><?php 
        echo mysql2date('M', $time, $translate);
        ?>
</span>
                    </div>
                <?php 
    }
    ?>
                </div>
            </div>
            <div class="blog-excerpt">
                <?php 
    the_excerpt();
    ?>
                <a href="<?php 
    echo get_author_posts_url(get_the_author_meta('ID'));
    ?>
" class="readmore maincolor2 bordercolor2 bgcolor2hover bordercolor2hover"><?php 
    _e('Read more', 'cactusthemes');
    ?>
 <i class="fa fa-angle-right"></i></a>
            </div>
        </div><!--/col6-->
      </div><!--/row-->
      <div class="clearfix"></div>
    </div><!--/blog-item-->
<?php 
}
tm_display_ads('ad_recurring');
echo '</div>';
Beispiel #3
0
                            </div><!--/video-listing-content(blog-listing-content)-->
                            <div class="clearfix"></div>
						<?php 
        if ($pagination == 'page_navi') {
            wp_pagenavi();
        } else {
            if ($pagination == 'page_def') {
                cactusthemes_content_nav('paging');
            }
        }
        ?>
                        </section>
					<?php 
    }
    wp_reset_query();
    ?>
					<?php 
    tm_display_ads('ad_body_2');
    ?>
                </div><!--#content-->
                <?php 
    if ($layout != 'full') {
        get_sidebar();
    }
    ?>
            </div><!--/row-->
        </div><!--/container-->
    </div><!--/body-->
<?php 
}
get_footer();
    <?php 
if (is_front_page() || is_page_template('page-templates/front-page.php')) {
    $show_hide_title = ot_get_option('show_hide_title', '1');
    if ($show_hide_title == '1') {
        ?>
    		<h1 class="light-title entry-title"><?php 
        the_title();
        ?>
</h1>
	<?php 
    }
} else {
    if (is_single() && get_post_format() == 'video') {
        ?>
    	<?php 
        tm_display_ads('ad_single_content');
        ?>
		<h1 class="light-title entry-title"><?php 
        the_title();
        ?>
</h1>
        <div class="item-info">
            <?php 
        if (ot_get_option('single_show_meta_author', 1)) {
            ?>
<span class="vcard author"><span class="fn"><?php 
            the_author_posts_link();
            ?>
</span></span> <?php 
        }
        ?>
        ?>
">
                                    <div class="input-group">
                                        <input type="text" name="s" class="form-control" placeholder="<?php 
        echo __('Search for videos', 'cactusthemes');
        ?>
">
                                        <span class="input-group-btn">
                                            <button class="btn btn-default maincolor1 maincolor1hover" type="submit"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </form>
                            <?php 
    }
    ?>
                        </div><!--/heading-search-->
                        <?php 
}
?>
                        </div>

                    </div>
                </div><!--/row-->
				
				<?php 
tm_display_ads('ad_top_2');
?>
            </div><!--/container-->			
        </div><!--/headline-->
        <?php 
echo $topnav_layout == 'layout-3' ? $top_nav_html : '';