Merhaba, genel olarak heryerde aynı cevaplar veilmş bu konuya ama, benim kullandığım tema farklı olduğundan bana yardımcı olabilirmisiniz? Kodlar aşağıda.
BENİM TEMADAKİ single-video-full-width.php KODLARI
<?php
/**
* The Template for displaying all single video post with full width layout.
*
* @package deTube
* @subpackage Template
* @since deTbue 1.1
*/
get_header();
$info_toggle = (int)get_option('dp_info_toggle');
?>
<div class="wall full-width-video-layout">
<div id="video" class="wrap cf">
<div class="entry-header cf">
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php dp_post_actions($post->ID); ?>
</div><!-- end .entry-header -->
<div class="screen fluid-width-video-wrapper">
<?php dp_video($post->ID, get_option('dp_single_video_autoplay')); ?>
</div><!-- end .screen -->
</div><!-- end #video -->
</div><!-- end #wall -->
<div id="main"><div class="wrap cf">
<div id="content" role="main">
<?php while (have_posts()) : the_post(); global $post;?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div id="details" class="section-box">
<div class="section-header">
<h2 class="section-title"><?php _e('Dizi Açıklaması', 'dp'); ?>
<?php if($info_toggle > 0) echo '<a href="#" class="info-toggle-arrow info-more-arrow"></a>'; ?>
</h2>
</div>
<div class="section-content">
<div id="info"<?php if(!empty($info_toggle)) echo ' class="" data-less-height="'.$info_toggle.'"'; ?>>
<p class="entry-meta">
<span class="author"><?php _e('Yükleyen uploader by', 'dp'); ?> <?php the_author_posts_link(); ?></span>
<span class="time"><?php _e('yüklenme tarihi', 'dp'); ?> <?php the_date(); ?></span>
<?php edit_post_link(__('diziyi düzenle', 'dp'), ' <span class="sep">/</span> '); ?>
</p>
<div class="entry-content rich-content">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p class="entry-nav pag-nav"><span>'.__('Pages:', 'dp').'</span> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div><!-- end .entry-content -->
<div id="extras">
<h4><?php _e('Dizi Kategorileri:', 'dp'); ?></h4> <?php the_category(', '); ?>
<?php the_tags('<h4>'.__('Dizi Etiketleri:', 'dp').'</h4>', ', ', ''); ?>
</div>
</div><!-- end #info -->
</div><!-- end .section-content -->
<?php if($info_toggle > 0) { ?>
<div class="info-toggle">
<a href="#" class="info-toggle-button info-more-button">
<span class="more-text"><?php _e('Show more', 'dp'); ?></span>
<span class="less-text"><?php _e('Show less', 'dp'); ?></span>
</a>
</div>
<?php } ?>
</div><!--end #deatils-->
</div><!-- end #post-<?php the_ID(); ?> -->
<?php
dp_related_posts(array(
'number'=>get_option('dp_related_posts'),
'view'=>get_option('dp_related_posts_view', 'grid-mini')
));
?>
<?php comments_template('', true); ?>
<?php endwhile; ?>
</div><!-- end #content -->
<?php get_sidebar(); ?>
</div></div><!-- end #main -->
<?php get_footer(); ?>DEĞİŞMESİ GEREKEN KODLAR <div class="screen fluid-width-video-wrapper">
<?php dp_video($post->ID, get_option('dp_single_video_autoplay')); ?>
</div><!-- end .screen -->
</div><!-- end #video -->
</div><!-- end #wall -->her konuda aynı olan video reklam kodlarını ben bu temada nasıl video öncesine koyacağım? Denedim hiçbiri olmadı malesef. yapabilecek birisi varmı?