Skip to content

Commit

Permalink
Events: Show filter count on Past Events
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Dec 15, 2023
1 parent 2eb0ef8 commit 05a5209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
function init() {
register_block_type(
dirname( dirname( __DIR__ ) ) . '/build/event-list',
dirname( __DIR__, 2 ) . '/build/event-list',
array(
'render_callback' => __NAMESPACE__ . '\render',
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"0px"}},"className":"entry-content","layout":{"type":"constrained"}} -->
<main class="wp-block-group entry-content">
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull"
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"
style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:post-title /-->
<!-- wp:pattern {"slug":"wporg-events-2023/event-list-filters"} /-->
<!-- wp:pattern {"slug":"wporg-events-2023/event-list-filters-with-count"} /-->
<!-- wp:wporg/event-list {"events":"all-past"} /-->
</div>
<!-- /wp:group -->
Expand Down

0 comments on commit 05a5209

Please sign in to comment.