Reply To: Issue with custom menu item

Home Forums Support Issue with custom menu item Reply To: Issue with custom menu item

#228237
stardrive

Hi Tom,

Thanks for your response.

I replaced if (is_single() ) {
with

if(is_user_logged_in() && $args->theme_location == ‘secondary’)

and the code worked.

Sorry I should have informed you much earlier

Thank you.