Skip to content

Commit

Permalink
Merge branch 'trunk' into fix/posts-types-no-title
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Jan 20, 2025
2 parents 1b9adc8 + 83796c2 commit 747a6b4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 25 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Advanced Query Loop
* Description: Query loop block variations to create custom queries.
* Plugin URI: https://github.com/ryanwelcher/advanced-query-loop/
* Version: 4.0.0
* Version: 4.0.1
* Requires at least: 6.2
* Requires PHP: 7.4
* Author: Ryan Welcher
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "advanced-query-loop",
"version": "4.0.0",
"version": "4.0.1",
"description": "Query loop block variations to create custom queries.",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 2 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ Built complicated taxonomy queries!

Select additional post types for your query!

#### Post Count

Set the number of items you want to display (up to 50).

#### Include Posts

Choose the posts you want to display manually or only the children of the current content.
Expand All @@ -34,11 +30,7 @@ Remove the current post from the query.

#### Exclude posts by category

Choose to exclude posts from a list of categories

#### Offset

Choose whether you want to start at the first or 100th!
Choose to exclude posts from a list of categories.

#### Post Meta Query

Expand Down Expand Up @@ -67,7 +59,7 @@ Sort in ascending or descending order by:

#### Disable Pagination

Improve the performance of the query by disabling pagination
Improve the performance of the query by disabling pagination.

## Extending AQL

Expand Down
18 changes: 7 additions & 11 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: welcher
Tags: Query Loop, Custom Queries
Requires at least: 6.2
Tested up to: 6.7.1
Stable tag: 4.0.0
Stable tag: 4.0.1
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -26,10 +26,6 @@ Built complicated taxonomy queries!

Select additional post types for your query!

==== Post Count ====

Set the number of items you want to display (up to 50).

==== Include Posts ====

Choose the posts you want to display manually or only the children of the current content.
Expand All @@ -40,11 +36,7 @@ Remove the current post from the query.

==== Exclude posts by category ====

Choose to exclude posts from a list of categories

==== Offset ====

Choose whether you want to start at the first or 100th!
Choose to exclude posts from a list of categories.

==== Post Meta Query ====

Expand Down Expand Up @@ -73,7 +65,7 @@ Sort in ascending or descending order by:

==== Disable Pagination ====

Improve the performance of the query by disabling pagination
Improve the performance of the query by disabling pagination.

== Screenshots ==

Expand All @@ -82,6 +74,10 @@ Improve the performance of the query by disabling pagination
3. Query posts before a date, after a date or between two dates.

== Changelog ==

= 4.0.1 =
* A few small bug fixes courtesy of @gvgvgvijayan

= 4.0.0 =
* Introducing the new Taxonomy Builder!
* Show children of current item only.
Expand Down
1 change: 0 additions & 1 deletion src/components/pagination-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const PaginationToggle = ( { attributes, setAttributes } ) => {

return (
<ToggleControl
__nextHasNoMarginBottom
label={ __( 'Disable pagination', 'advanced-query-loop' ) }
help={ __(
'Disabling pagination will not show any pagination controls on the front end. It can also provide a performance improvement for complicated queries.',
Expand Down
1 change: 0 additions & 1 deletion src/components/post-order-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export const PostOrderControls = ( { attributes, setAttributes } ) => {
__nextHasNoMarginBottom
/>
<ToggleControl
__nextHasNoMarginBottom
label={ __( 'Ascending Order', 'advanced-query-loop' ) }
checked={ order === 'asc' }
onChange={ () => {
Expand Down

0 comments on commit 747a6b4

Please sign in to comment.