I recently migrated from X Theme to Pro and everything seemed to transfer over properly with the exception of some customization that was made to the single post template. I had worked with your team to modify it so that a full-width Slider Revolution would appear above_ the post content.
Below are the two changes that were made:
- Location: Pro Child Theme - functions.php
add_action(‘x_before_view_renew__landmark-header’, ‘custom_blog_header01’);
function custom_blog_header01(){
if (is_single()) {
echo do_shortcode(’[rev_slider alias=“POST-Header”]’);
}
}
- Location: Pro Child Theme \framework\views\renew\wp-single.php
<?php x_get_view( 'renew', 'content', get_post_format() ); ?>
<?php x_get_view( 'global', '_comments-template' ); ?>
<?php endwhile; ?>
Any help or suggestions would be greatly appreciated to get this working again. Thanks!