Hello There,
Thanks for writing in! Your template did not work because it does not follow the template structure of X. You will need to follow these steps:
1.) Please update the contents of your Archive template to have something like this:
<?php
// =============================================================================
// TEMPLATE NAME: Archives
// -----------------------------------------------------------------------------
?>
<?php x_get_view( x_get_stack(), 'wp', 'page' ); ?>
2.) And then please add the following code in your child theme’s functions.php file
function add_archive_lists(){ ?>
<?php if ( is_page_template( 'archives.php' ) ) : ?>
// you will have to add your custom code here
<?php endif; ?>
<?php }
add_action('x_before_the_content_end', 'add_archive_lists');
This code assumes that you have the archives.php as your template file and please do not forget to add your custom html code in the code above.
Hope this helps. Please let us know how it goes.