Guest User

WooCommerce View All Paged Linking

a guest
Dec 23rd, 2013
381
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