Remove Pagination from Appthemes Clipper

Posted on October 22, 2017 by Fuzzy

Updated Date

Updated code 14/11/19.

This one was doing my head in for a while.  I wanted to remove the coupon pagination from the WordPress theme Clipper and most of the suggestions via their forum involved commenting out the pagination function or creating a separate index loop. Crazy stuff, creating separate index files is an exercise in disaster and commenting out the code in general will remove pagination site wide; something I definitely did not want.

With wordpress, there is always a function for that and this issue is no exception.  How to Remove Pagination the easy way using the WordPress remove_action filter:

The Solution

<?php remove_action( 'appthemes_after_endwhile', 'clpr_coupon_pagination'); ?>

Simply put this in your index file or any template you do not require coupon pagination.

5 1 vote
Article Rating
© Copyright 2020 - EnvisionWorks - All Rights Reserved
envelopephone-handsetmap-markerchevron-downcross-circle
0
Would love your thoughts, please comment.x
()
x
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram