PenciDesign Supporter replied
Hi,
Please follow the instruction to add your item to Navigation:
1. Install Code Snippet plugin,
2. Create a new snippet and add the following code:
add_filter( 'wp_nav_menu_items', 'e128_add_custom_menu_link', 10, 2 );
function e128_add_custom_menu_link( $items, $args ) {
if ( 'main-menu' == $args->theme_location ) {
$items .= '<button type="button" class="wahout aicon_link" accesskey="z" aria-label="סרגל צד של עוזר נגישות" title="סרגל צד של עוזר נגישות">
<img src="https://icwf.co.il/wp-content/uploads/2021/06/accessibility-icon-128px.png" alt="נגישות" class="nolazy aicon_image" style="vertical-align:unset;">
</button>';
} return $items;
}
Save & done.
Regards,
PenciDesign.
