Conditional custom Javascript based on user?

I’ve tried searching for an existing topic on this subject, but was unable to find an answer. Is it possible to use the built-in conditionals to load custom Javascript for the current logged-in user (e.g. load custom JS for a specific user ID)?

I know it is possible using single layout + conditions, but what I am asking about it strictly loading the custom script on an existing single layout.

Hello @mediaryte,

Thanks for writing to us.

Regretfully there is no option for that at the moment. It would require custom development I would suggest you please contact a developer who can assist you with your concerns or you may subscribe to One where customization questions are answered. Alternatively, you may search for the plugin in the WordPress plugin repository as well. Please note that we don’t provide custom development support or any third-party plugin support it is out of the support scope.

Thanks for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.