Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Wayne B Posted February 27, 2016 Posted February 27, 2016 Hi I have a script I want to embed within the themes global template for guest visitors only. The script needs to go inside the <head></head> tags. Is there any way I can make it so that this script is only run if the visitor is not logged into the forum, so a guest? Thanks
Daniel F Posted February 27, 2016 Posted February 27, 2016 {{if !\IPS\Member::loggedIn()->member_id}} your content {{endif}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.