PageMenu : Different Nav Menu on specific pages

WordPress allow only one menu for one location , But if you need specific nav menu on specific pages or post in then here is the solution.I have upgraded PageMenu after 2 years , with this¬† feature to show different nav menu on specific pages ,post and custom post with additional feature to hide or show specific menu item in selected menu . Continue reading “PageMenu : Different Nav Menu on specific pages”

Redirect CMS Category to CMS Page [Prestashop]

<?php

class CmsController extends CmsControllerCore
{

public function initContent()
	{
		
CmsControllerCore::initContent();
		if(isset($this->context->controller->cms_category->id)) {
		 if($this->context->controller->cms_category->id == 17)
			Tools::redirect('index.php?id_cms=138&controller=cms');
			
		 if($this->context->controller->cms_category->id == 16)
			Tools::redirect('index.php?id_cms=137&controller=cms');
		}
	}

}