Skip to content

Commit

Permalink
[#39] setting up archive page
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-schmidt-viget committed Dec 18, 2023
1 parent df8a42f commit bb9a6c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client-mu-plugins/goodbids/src/classes/Auctions/Auctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function () {
];

$rewrite = [
'slug' => self::SINGULAR_SLUG,
'slug' => self::ARCHIVE_SLUG,
'with_front' => false,
'pages' => true,
'feeds' => true,
Expand All @@ -110,7 +110,7 @@ function () {
'label' => __( 'Auction', 'goodbids' ),
'description' => __( 'GoodBids Auction Custom Post Type', 'goodbids' ),
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'revisions' ),
'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'revisions' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
Expand All @@ -120,7 +120,7 @@ function () {
'show_in_admin_bar' => true,
'show_in_nav_menus' => true,
'can_export' => true,
'has_archive' => self::ARCHIVE_SLUG,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'rewrite' => $rewrite,
Expand Down
1 change: 1 addition & 0 deletions themes/goodbids-nonprofit/templates/archive-bg-auction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test

0 comments on commit bb9a6c9

Please sign in to comment.