data-ad-format="auto" data-full-width-responsive="true">

Custom theme menus

Custom theme menus

Home News Carousel Menu

Copy the source code of this menu to any plugin folder (themeoptions plugin is an example, jmelements could be used too). Temp solution.

Add it to layout manually or via Menu Manager:

{MENU: path=themeoptions/home_news_carousel}

Carousel template is used (key = carousel, so copy this part from news_menu_template.php to your theme.

This is new variation of the news core carousel menu, but only location 0 is used.  The core version was hard to understand and it always adds javascript - it is for one of type carousel, not a general solution.

3 items by row are hardcoded. If you want more items by line, change this line:  elseif($i == 2 ) {

Used in:

Metis