Hi kerdezo & igor, thank you for your answer. but actually i just want to add code manually without plugin.
i found this article https://setwordpress.com/2011/06/23/how-to-insert-ads-between-posts-in-your-wordpress-homepage-site/ and try edit this edit there and failed :))
this is default code at tmpl/index-tmpl
<?php if ( ! hu_is_home_empty() ) : ?>
<?php if ( hu_is_checked('featured-posts-enabled') ) { get_template_part('parts/featured'); } ?>
<?php
if ( have_posts() ) {
hu_get_template_part( 'parts/post-list-articles' );
}
?>
<?php endif; ?>
and this is my custom code
<?php if ( ! hu_is_home_empty() ) : ?>
<?php if ( hu_is_checked('featured-posts-enabled') ) { get_template_part('parts/featured'); } ?>
<?php $count = 1; ?>
<?php
if ( have_posts() ) {
hu_get_template_part( 'parts/post-list-articles' );
}
?>
<?php if ($count == 1) : ?>
YOUR CODE HERE
<?php endif; $count++; ?>
<?php endif; ?>
Yeah failed.
and also i try to add code manually to parts/post-list-articles and have the same result.
Any solution how to insert code properly (https://setwordpress.com/2011/06/23/how-to-insert-ads-between-posts-in-your-wordpress-homepage-site/) at hueman themes?
thank you