• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Help needed to remove a line of code

vijihel

Active member
May 2, 2020
125
61
28
Hii Devs,

Am having trouble to remove a piece of text "CART" from header.
Original Site: Manymore.me

remove cart text help.png

While i use inspect element, I need to remove these line and it works. I find that code was written in widgets.php file and when i remove those lines am header gets broken

how to remove this line.png

Am attaching widget.php file for your reference, Please help me to remove this line

This bug was inserted by developer itself to restrict his theme not to share with anyone. He requests to send email to remove the code with proofs (If we downloaded from Envato). I have emailed and not got reply from two days.

Here is line of code in widget.php

line of code in widegets file.png

Any help will be appreciated, Thanks in Advance
 
Hii Devs,

Am having trouble to remove a piece of text "CART" from header.
Original Site: Manymore.me

remove cart text help.png

While i use inspect element, I need to remove these line and it works. I find that code was written in widgets.php file and when i remove those lines am header gets broken

how to remove this line.png

Am attaching widget.php file for your reference, Please help me to remove this line

This bug was inserted by developer itself to restrict his theme not to share with anyone. He requests to send email to remove the code with proofs (If we downloaded from Envato). I have emailed and not got reply from two days.

Here is line of code in widget.php

line of code in widegets file.png

Any help will be appreciated, Thanks in Advance
If you have TeamViewer, share me on PM the connect details and I will help you now.
 
  • Like
Reactions: vijihel
Simple
Just add this code in custom CSS
h2.widgettitle {

visibility: hidden;
}
Hii Devs,

Am having trouble to remove a piece of text "CART" from header.
Original Site: Manymore.me

remove cart text help.png

While i use inspect element, I need to remove these line and it works. I find that code was written in widgets.php file and when i remove those lines am header gets broken

how to remove this line.png

Am attaching widget.php file for your reference, Please help me to remove this line

This bug was inserted by developer itself to restrict his theme not to share with anyone. He requests to send email to remove the code with proofs (If we downloaded from Envato). I have emailed and not got reply from two days.

Here is line of code in widget.php

line of code in widegets file.png

Any help will be appreciated, Thanks in Advance
 
First of all: wp-includes/widgets.php is part of core WordPress and you should never ever edit those files.

Second: this seems like the default WooCommerce header cart widget, which was probably inserted by the theme developer into some template. It's not a bug and it's definitely not some code to 'prevent sharing'. If he says so, I doubt what kind of developer he is.

Third: yes, it's indeed the easiest to just hide the title with CSS.
 
  • Like
Reactions: vijihel
future reference, if you need to find lines of code, just use notepad++ and "find in files" and it'll search every single file for the code
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock