Skip to content

Instantly share code, notes, and snippets.

@Dreamelf
Dreamelf / Uikit 3.0 walker wordpress menu
Last active September 3, 2023 12:45
UIkit 3.0 wordpress menu
<?php
/**
* Class Name: your_themename_top_menu
* Description: A custom WordPress nav walker class to implement UIkit menu markup
*/
class your_themename_top_menu extends Walker_Nav_Menu {
/**
* @see Walker::start_lvl()
* @since 3.0.0