Remove tawk.to Branding & White Label [tawk.to plugin]

expert_winxp

Member
Aug 4, 2019
60
15
8
hey @biggidroid

First of all, thank for sharing good stuff and we note that one point in your post, you have missed one big step in this post Because of that tawk.to branding not remove.

When we create your-name.js, we miss add this file path in our php file so we add one new step :-

go to below path and open file
tawkto-live-chat(our plugin file)/tawkto.php
go to line no 46 and add below code
wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );

Save it
And enjoy ;)
Thanks bro
 
  • Like
Reactions: biggidroid

cryptointel

Active member
Trusted Uploader
Jul 19, 2019
247
54
28
hey @biggidroid

First of all, thank for sharing good stuff and we note that one point in your post, you have missed one big step in this post Because of that tawk.to branding not remove.

When we create your-name.js, we miss add this file path in our php file so we add one new step :-

go to below path and open file
tawkto-live-chat(our plugin file)/tawkto.php
go to line no 46 and add below code
wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );

Save it
And enjoy ;)

Brand name still not removed.Questions:
  1. are we going to remove line 46 and this code there or place below or above line 46?
  2. line 56, 57 and your code are almost the same i.e start with wp_enqueue_script........ will be suitable there?
I tried the option above bust still not working. Please help further @john119 @biggidroid
 

john119

New member
Aug 19, 2019
19
4
3
Brand name still not removed.Questions:
  1. are we going to remove line 46 and this code there or place below or above line 46?
  2. line 56, 57 and your code are almost the same i.e start with wp_enqueue_script........ will be suitable there?
I tried the option above bust still not working. Please help further @john119 @biggidroid
hi @cryptointel
not remove any line exist code only put wp_enqueue_script () code below 46 line number
Code:
 wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );

and replace the script js that you have created before step and your-name.js is the js that you have created you put your js name that you have given.

Thank you
 
B

biggidroid

Guest
Brand name still not removed.Questions:
  1. are we going to remove line 46 and this code there or place below or above line 46?
  2. line 56, 57 and your code are almost the same i.e start with wp_enqueue_script........ will be suitable there?
I tried the option above bust still not working. Please help further @john119 @biggidroid
No just modify
 

ernnesto76

New member
Sep 7, 2019
2
0
1
Hi guys. Everything works as expected. But an error appears
Code:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in .../public_html/wp-includes/functions.php on line 4773
Is there a way to paste
PHP:
wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );
it in another place so that everything works and there are no errors?
 
B

biggidroid

Guest
Hi guys. Everything works as expected. But an error appears
Code:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in .../public_html/wp-includes/functions.php on line 4773
Is there a way to paste
PHP:
wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );
it in another place so that everything works and there are no errors?
Kindly explain better
 

ernnesto76

New member
Sep 7, 2019
2
0
1
Kindly explain better
I don’t know how to explain in more detail, cause I am not a developer, but something tells me that this line (wp_enqueue_script...etc) should be executed differently and/or from another place/file (may be at functions,php).
 
B

biggidroid

Guest
I don’t know how to explain in more detail, cause I am not a developer, but something tells me that this line (wp_enqueue_script...etc) should be executed differently and/or from another place/file (may be at functions,php).
Everything done above is absolutely well syntax. Go back to the code and check again
 

john119

New member
Aug 19, 2019
19
4
3
Hi guys. Everything works as expected. But an error appears
Code:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in .../public_html/wp-includes/functions.php on line 4773
Is there a way to paste
PHP:
wp_enqueue_script( 'tawk_custom_script', plugins_url( 'templates/hide-tawk-branding/your-name.js' , __FILE__) );
it in another place so that everything works and there are no errors?
HI
You have add wp_enqueue_script must be in __construct() function.
 

bayunorman

New member
Jan 3, 2019
9
12
3
one question.. what if the website is not powered by WP? and the code is added by copying the snippet from tawkTo instead of adding it by plugin.. how to edit such code? sorry I'm newbie here
 
B

biggidroid

Guest
one question.. what if the website is not powered by WP? and the code is added by copying the snippet from tawkTo instead of adding it by plugin.. how to edit such code? sorry I'm newbie here
Is possible, but not to use for a live website.
 

jbburayag

New member
Oct 17, 2019
1
0
1
Hello,

Seems I got lost with this part...

After that find this words <b>tawk.to</b>

I can't find that. Where should I find this?

Please help.

Thank you.
 

mattytime1

New member
Dec 16, 2019
1
0
1
Is this still current, I've followed all steps including the addition to Line 46 but the chat app doesn't appear unless I use the html JS script provided by Talkto - which again shows the branding.

How due you display chat app without JS snippet.
 
B

biggidroid

Guest
Brand name still not removed.Questions:
  1. are we going to remove line 46 and this code there or place below or above line 46?
  2. line 56, 57 and your code are almost the same i.e start with wp_enqueue_script........ will be suitable there?
I tried the option above bust still not working. Please help further @john119 @biggidroid
Kindly check for the sourcode attached
 
B

biggidroid

Guest
Is this still current, I've followed all steps including the addition to Line 46 but the chat app doesn't appear unless I use the html JS script provided by Talkto - which again shows the branding.

How due you display chat app without JS snippet.
Try Following the steps easily
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu