WooCommerce View All Paged Linking

a guest Dec 23rd, 2013 353 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if (is_paged()) : ?>
  2.         <div class="viewall"><a href="../../?view=all">View All Products</a></div>
  3. <?php else: ?>
  4.         <div class="viewall"><a href="?view=all">View All Products</a></div>
  5. <?php endif; ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand