Hello @candidcreative,
Thanks for writing in!
Because what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After the child theme is set up, please add the following code in your child theme’s functions.php file
function add_rotate_group1(){
echo adrotate_group(2);
}
add_action('x_after_the_content_end', 'add_rotate_group1');
The code above will display add rotator after the post contents. If you want to display you will need to modify the post header template. Now I do not have a clue which stack you are using. I will just assume that you are using Integrity stack and follow these steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file
<?php
// =============================================================================
// VIEWS/INTEGRITY/CONTENT.PHP
// -----------------------------------------------------------------------------
// Standard post output for Integrity.
// =============================================================================
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-featured">
<?php x_featured_image(); ?>
</div>
<div class="entry-wrap">
<?php echo adrotate_group(2); ?>
<?php x_get_view( 'integrity', '_content', 'post-header' ); ?>
<?php x_get_view( 'global', '_content' ); ?>
</div>
<?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>
</article>
3] Save the file named as content.php
4] Upload this file to your server in the child theme’s folder /wp-content/themes/x-child/framework/views/integrity/
We would love to know if this has worked for you. Thank you.