Hi there,
For the slideout toggle, you can do this (if you’re using GPP 1.9.0):
add_filter( 'generate_off_canvas_toggle_output', function( $icon ) {
if ( ! function_exists( 'generate_menu_plus_get_defaults' ) ) {
return $icon;
}
$settings = wp_parse_args(
get_option( 'generate_menu_plus_settings', array() ),
generate_menu_plus_get_defaults()
);
$svg_icon = '';
if ( function_exists( 'generate_get_svg_icon' ) ) {
$svg_icon = generate_get_svg_icon( 'pro-menu-bars' );
}
return sprintf(
'<li class="slideout-toggle menu-item-align-right %2$s"><a aria-label="YOUR LABEL HERE" href="#">%1$s%3$s</a></li>',
$svg_icon,
$svg_icon ? 'has-svg-icon' : '',
'' !== $settings['off_canvas_desktop_toggle_label'] ? '<span class="off-canvas-toggle-label">' . wp_kses_post( $settings['off_canvas_desktop_toggle_label'] ) . '</span>' : ''
);
} );
The other link depends – can you link us to your site?