Support » Plugin: Quick Restaurant Menu » Search box unable to find menu

  • Hello,

    I’ve a slight problem with the menu. I’ve set it up on 3 diferent pages on my website. The standard wordpress search box can find the text, but as you click on a menu item you’ll receive a 404 error.
    It seems the ressource isn’t saved properly anywhere (which i guess is the reason for the 404).

    The site is: website

    To try it out yourself search “boller” and pick the first one (an item on a menu).

    each page has a single menu, with subtitles in it etc. it is not divided into different menus on the same page. There are 3 menus, one on each respective page: Cafeén, Købmanden, Bageriet.

    I’ve updated permalinks but nothing new. Anything else you can think of, which could solve this issue and thereby make the menu items searchable?

Viewing 1 replies (of 1 total)
  • Plugin Author Alejandro

    (@alejandropascual)

    Hi:
    the menu item does not have a custom page, but if you add this function inside your theme functions.php file will be accesible:

    add_filter( 'erm_menu_item_post_type_args', 'aps_erm_menu_item_post_type_args' );
    function aps_erm_menu_item_post_type_args( $args ) {
    	$args['publicly_queryable'] = true;
    	return $args;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Search box unable to find menu’ is closed to new replies.