Skip to content

Commit 529d5cd

Browse files
author
boxuk-wp-robot
committed
Merge pull request #58 from boxuk/query-include-exclude
0 parents  commit 529d5cd

File tree

1,445 files changed

+79432
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,445 files changed

+79432
-0
lines changed

.gitignore

Whitespace-only changes.

.turbo/turbo-build.log

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
> wp-scripts build
4+
5+
asset index.js 3.38 KiB [emitted] [minimized] (name: index)
6+
asset index.asset.php 222 bytes [emitted] (name: index)
7+
Entrypoint index 3.6 KiB = index.js 3.38 KiB index.asset.php 222 bytes
8+
orphan modules 197 KiB [orphan] 300 modules
9+
built modules 6.48 KiB [built]
10+
cacheable modules 1.05 KiB
11+
../../node_modules/react/jsx-runtime.js 214 bytes [built] [code generated]
12+
../../node_modules/react/cjs/react-jsx-runtime.production.min.js 859 bytes [built] [code generated]
13+
./src/index.tsx + 12 modules 5.39 KiB [not cacheable] [built] [code generated]
14+
external "React" 42 bytes [built] [code generated]
15+
webpack 5.91.0 compiled successfully in 1318 ms

Readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# WP Query Include & Exclude
2+
3+
This package allows the editor to specify posts to include or exclude in a **Query Loop** block
4+
when used in the Block Editor.
5+
6+
The core block supports the include and exclude attributes, since the query loop uses `WP_Query`
7+
when rendering. Any attribute that can be passed to `WP_Query` can be included, so we use this
8+
package to provide an interface to allow an editor to specify which posts should appear in a
9+
query loop.
10+
11+
---
12+
13+
Please do not submit any Pull Requests here. They will be closed.
14+
---
15+
16+
Please submit your PR here instead: https://github.com/boxuk/wp-packages
17+
18+
This repository is what we call a "subtree split": a read-only subset of that main repository.
19+
We're looking forward to your PR there!

build/index.asset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => '695c6c4c5e72094f105f');

build/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
3+
"name": "boxuk/query-include-exclude",
4+
"type": "wordpress-muplugin",
5+
"autoload": {},
6+
"authors": [
7+
{
8+
"name": "BoxUK",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"require": {}
13+
}

node_modules/.bin/pot-to-php

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)