Please post screenshot of Ad Inserter settings and url of the post.
You probably need position after content.
After content it looks like this: http://prntscr.com/cb5k7j
I just need it under the reviews…
Url of the post is missing.
Please put back After post and use style None.
It still goes all the way down …
Not possible this way (using After post ) because the hook (on which plugin relies) is called after the right sidebar is written.
Both #main-content and #sidebar-right use style “float: left”.
You’ll have to modify theme file and add PHP function adinserter at the right place to insert at required position.
Okay. Which files and lines do i need to modify?
Theme PHP file which generates this page.
Should i add it somewhere in this line?
File: blog.php
<?php
//// LEFT SIDEBAR IF IS SET
if($page_layout == 'left') {
echo '<div id="sidebar-left" class="large-4 columns">';
get_page_custom_sidebar($post->ID, 'blog');
echo '</div>';
}
//// RIGHT SIDEBAR IF IS SET
if($page_layout == 'right') {
echo '<div id="sidebar-right" class="large-4 columns">';
get_page_custom_sidebar($post->ID, 'blog');
echo '</div>';
}
?>
probably after #main-content
Here is the whole #main-content code:
<!-- /#main-content/ -->
<?php
//// LEFT SIDEBAR IF IS SET
if($page_layout == 'left') {
echo '<div id="sidebar-left" class="large-4 columns">';
get_page_custom_sidebar($post->ID, 'blog');
echo '</div>';
}
//// RIGHT SIDEBAR IF IS SET
if($page_layout == 'right') {
echo '<div id="sidebar-right" class="large-4 columns">';
get_page_custom_sidebar($post->ID, 'blog');
echo '</div>';
}
?>
<?php endwhile; endif; ?>
</div>
<!-- /.wrapper .row/ -->
</div>
<!-- /#content/ -->
<!-- /FOOTER STARTS/ -->
<?php get_footer(); ?>
[bump moderated]