Home › Forums › Support › Issue with custom menu item › Reply To: Issue with custom menu item
September 21, 2016 at 2:39 am
#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.