jason212
Power Member
- Feb 21, 2015
- 643
- 99
Hey guys,
can someone help me? I want to open a new tab in the background when the people click on the Post link.
can someone edit this for me? When the people click the post it should open and another tab with for example google.com in the new tab.
best regards
can someone help me? I want to open a new tab in the background when the people click on the Post link.
Code:
<div class="main-content-col">
<div class="main-content-col-body">
<div class="single-page-content">
<?php do_action('videopro_single_page_before_content');?>
<article class="cactus-single-content">
<?php
if(!is_page_template('page-templates/front-page.php')){
videopro_breadcrumbs();
$title = '<h1 class="single-title entry-title">' . esc_html($videopro_page_title) . '</h1>';
echo apply_filters('videopro-page-title', $title);
} else {
echo '<h2 class="hidden-title">'.esc_html($videopro_page_title).'</h2>';
}
do_action('videopro_single_page_after_breadcrumbs');
if(is_active_sidebar('content-top-sidebar')){
echo '<div class="content-top-sidebar-wrap">';
dynamic_sidebar( 'content-top-sidebar' );
echo '</div>';
} ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'html/single/content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
<?php $disable_comments = ot_get_option('disable_comments', 'on');
if($disable_comments == 'on'): ?>
<div class="comment-form-fix">
<?php
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
</div>
<?php endif;
if(is_active_sidebar('content-bottom-sidebar')){
echo '<div class="content-bottom-sidebar-wrap">';
dynamic_sidebar( 'content-bottom-sidebar' );
echo '</div>';
} ?>
</article>
<?php do_action('videopro_single_page_after_content');?>
</div>
</div>
</div>
<?php
$videopro_sidebar_style = 'ct-medium';
videopro_global_sidebar_style($videopro_sidebar_style);
if($videopro_sidebar == 'right' || $videopro_sidebar == 'both'){ get_sidebar(); } ?>
</div>
</div>
can someone edit this for me? When the people click the post it should open and another tab with for example google.com in the new tab.
best regards