oik-types allows the definition of a post type to be overridden.
When overriding the product post type the string value of shop for the has_archive parameter was lost.
This led to an incorrect setting of the archive prefix for products.
The result was that the Shop page was not displaying the default shop display.
oik-types allows the definition of a post type to be overridden. When overriding the
product
post type the string value ofshop
for thehas_archive
parameter was lost. This led to an incorrect setting of thearchive
prefix for products. The result was that the Shop page was not displaying the default shop display.See https://github.com/bobbingwide/wizzie/issues/10#issuecomment-1177324628
Requirement
has_archive
parameter to a string value such asshop
.Proposed solution
has_archive
value is0
for false and either1
oron
for true