Please sign in to comment.
Move wfx_page_counter() out of loop.php to hooks
IMPORTANT - This may need you to tweek your child theme on Wonderflux upgrade depending on how your child theme is coded. I’ve moved this out of loop.php, because: - it can cause layout issues when archive results are not full width - it’s not flexible - moving this to a hooked function means it can be removed more easily - No need to override loop.php just to remove the pagination now - just remove_action() for custom pagination layout, much neater… it’s a framework don’t you know!
- Loading branch information...
Showing with 16 additions and 8 deletions.