*

mphker

  • ***
  • 57 posts
Permalinks don't work with Elena theme
« on: June 16, 2016, 01:12:38 AM »
Hello,
when I enable Permalinks with Elena theme , it don't work and appear error 404 but it work well with others theme .

*

MB Themes

Re: Permalinks don't work with Elena theme
« Reply #1 on: June 16, 2016, 08:55:00 AM »
@mphker
Please try this.
Go to file:
oc-content/themes/elena/functions.php

Find code:
Code: [Select]
// IF CATEGORY IS 0, REPLACE WITH EMPTY
if(Params::getParam('sCategory') == 0) {
  if(method_exists('Params', 'unsetParam')) {
    Params::unsetParam('sCategory');
  } else {
    Params::setParam('sCategory', '');
  }
}

Remove it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mphker

  • ***
  • 57 posts
Re: Permalinks don't work with Elena theme
« Reply #2 on: June 16, 2016, 02:10:20 PM »
solved , thanks  :) :) :)