Add this duplicate pagination content where you want
<ul class="top-pagination"></ul>
<div class="Testimonials">
{module_webapps,Testimonials,a}
</div>
Make sure jQuery is referenced in the HEAD of your HTML document or at least loaded before this script
<script>
(function($){
$(document).ready(function(){
var targetEl = $(".top-pagination");
var bcPagination = $(".pagination.webapp");
if ( bcPagination.length && targetEl.length ) {
console.log("Truth!");
targetEl.html(bcPagination.html()).addClass("pagination webapp");
}
});
})(jQuery);
</script>
No comments:
Post a Comment