bobbingwide / oik-types

oik custom content type manager
http://www.oik-plugins.com/oik-plugins/oik-types/
GNU General Public License v2.0
1 stars 0 forks source link

Support `has_archive` parameter set to a string value such as `shop` #25

Closed bobbingwide closed 1 year ago

bobbingwide commented 2 years ago

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.

See https://github.com/bobbingwide/wizzie/issues/10#issuecomment-1177324628

Requirement

Proposed solution

bobbingwide commented 1 year ago

Delivered in v2.3.0 on oik-plugins.