Open the post and a tab with one click

  • Unknown's avatar

    Hello,

    I have a tube site and I want to change my code. If I click on one video it should be open and another tab (with the link which I addded) too. The link can stay in the code.

    Here is my code.

    <?php 		global $loop_view;
    		$ajaxload = get_option('dp_archive_ajaxload');
    	?>
    
    	<div class="loop-content switchable-view <?php echo $loop_view; ?>" data-view="<?php echo $loop_view; ?>" data-ajaxload=<?php echo $ajaxload; ?>>
    		<div class="nag cf">
    			<?php while (have_posts()) : the_post();
    				get_template_part('item-video');
    			endwhile; ?>
    		</div>
    	</div><!-- end .loop-content -->

    The blog I need help with is: (visible only to logged in users)

  • It sounds like you are working with a self-hosted WordPress site, so you’ll want to check with your website hosting company or the self-hosted support forums.

    Check out the self-hosted WordPress (also known as WordPress.org) support forum at https://wordpress.org/support/

    To learn more about the difference between WordPress.com and WordPress.org (self-hosted), take a look at http://en.support.wordpress.com/com-vs-org/

  • The topic ‘Open the post and a tab with one click’ is closed to new replies.