Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove wpsites_query function limit to 24 items in loop #654

Merged
merged 4 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
require_once('inc/enqueue.php'); // Enqueue scripts and styles
require_once('inc/excerpt.php'); // Adds excerpt to pages
require_once('inc/hooks.php'); // Custom hooks
require_once('inc/loop.php'); // Amount of items in the loop before page gets paginated (set to 24)
require_once('inc/pagination.php'); // Pagination for loop and single posts
require_once('inc/password-protected-form.php'); // Form if post or page is protected by password
require_once('inc/template-tags.php'); // Meta information like author, date, comments, category and tags badges
Expand Down
28 changes: 0 additions & 28 deletions inc/loop.php

This file was deleted.

4 changes: 2 additions & 2 deletions woocommerce/loop/loop-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
}
?>

<div class="row g-4 products">
<!-- End in loop-end.php -->
<div class="row g-4 mb-4 products">
<!-- End in loop-end.php -->