Skip to content

Commit

Permalink
Fixed #6 (Not working with GRAV 1.0+)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sommerregen committed Dec 23, 2015
1 parent ae5fbd9 commit 0bcd13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive_plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function onPluginsInitialized()
$this->config->set('plugins.archives.emulated', true);

// Dynamically add the needed taxonomy types to the taxonomies config
$archive = $this->grav['language']->translate(['PLUGIN_ARCHIVE_PLUS.NAME']);
$archive = $this->grav['language']->translate(['PLUGINS.ARCHIVE_PLUS.NAME']);
$taxonomy_config = array_merge((array)
$this->config->get('site.taxonomies'), [$archive]);
$this->config->set('site.taxonomies', $taxonomy_config);
Expand Down

0 comments on commit 0bcd13c

Please sign in to comment.