Skip to content

Commit

Permalink
bugfix: required init.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mmirzaee committed Jan 7, 2019
1 parent 99f7f5a commit 368bfab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ function mfnch_textdomain()
* Load Dependencies
* --------------------------------------------------------------------------- */
require_once('vendor/autoload.php');

if (file_exists('vendor/cmb2/cmb2/init.php')) {
require_once('vendor/cmb2/cmb2/init.php');
}
require_once('vendor/cmb2/cmb2/init.php');


/* ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion initials/taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ function muffia_taxonomies_init()
$muffia_products_cat_args = array(
'hierarchical' => true,
'labels' => $muffia_products_cat_labels,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'rewrite' => array('slug' => 'products-cat'),
);


Expand Down

0 comments on commit 368bfab

Please sign in to comment.