And Avast IDs the lib.php as containing malware
I have rev slider, but it is current.
I’d like to add that I have the soaksoak.ru on a site and also found several files in the site root and includes folder that have been affected. I wish I noted the file names before posting here, but the modified dates seem to correspond with the same edit date as the template-loader.php
and swfobject.js files. Also Avast identified these files as containing malware references.
Can someone check their site root for these file names?
For showing a menu item only when a user is logged in use:
is_user_logged_in()
for the opposite behavior (display only when not logged in) use:
! is_user_logged_in()