Created code to show the user is online but don’t know where to put it

[ad_1]

I have woocommerce and dokan installed but I have absolutely no idea where to place the php, I’ve tried store.php and store-header.php but it doesn’t work properly it just shows up as online for all users even tho they’re not.

I’m PRETTY sure my code is correct. But again I have no idea where to actually place it? Any ideas?

[ad_2]
1 Comment
  1. Likely the functions.php file in the theme folder. But, you might want to post the code to be sure.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer