Home Forums Travel WordPress Theme Everything is loading on a single page Reply To: Everything is loading on a single page

#433

BWSM
Keymaster

There are 4 files to change and add 1 js file:
index.php, footer.php, style.css and js/main.js

1) Change line 75/76 of index.php as:

<div id="page-nav" style="display:block;"><?php next_posts_link(__('Load more','ux')); ?></div>
</div>

2) Unzip the file attached and add manual-trigger.js to js folder

Add the code above < ?php wp_footer(); ?> in footer.php
<script src="<?php echo get_template_directory_uri();?>/js/manual-trigger.js?ver=1" type="text/javascript"></script>

  • This reply was modified 4 years, 3 months ago by  BWSM.