My question is about the top menu: is it possible to assign this menu to display the contents of a Wordpress page, instead of the Top Menu Widgets?
I am using the bundled WooCommerce Product Filter, and would like to show a multi-column product filter in this top menu area, which is not possible if the Product Filter is added via a widget. I believe this would be possible if the Product Filter is added via a shortcode on a page, which is why I am wondering if the top menu can display a page, as opposed to the widgets.
For anyone else who may be interested, you can add the product filter by following the documentation's "Manual Installation Options," which gives various display options, for example:
Hello,
First, thank you for a very nice theme.
My question is about the top menu: is it possible to assign this menu to display the contents of a Wordpress page, instead of the Top Menu Widgets?
I am using the bundled WooCommerce Product Filter, and would like to show a multi-column product filter in this top menu area, which is not possible if the Product Filter is added via a widget. I believe this would be possible if the Product Filter is added via a shortcode on a page, which is why I am wondering if the top menu can display a page, as opposed to the widgets.
Thank you for any thoughts.
Best, thk
Hi thk,
This is possible but requires template customization. So, in order to apply your desired content just modify the content of this template file:
~/wp-content/themes/kalium/tpls/menu-top.php
(view large version)
I suggest you doing these edits in Child THeme so you won't loose them when you update the theme.
Hi Arlind,
Thank you -- that works like a charm.
For anyone else who may be interested, you can add the product filter by following the documentation's "Manual Installation Options," which gives various display options, for example:
<?php do_action( 'prdctfltr_output' ); ?>
Best, thk
Dear thk, thank you so much for providing this code snippet. I hope it'll help others who want filters implemented on top menu.
Will close this ticket now.