Help needed to remove a line of code

vijihel

Active member
May 2, 2020
118
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
 

alexmisaila

Legend member
Trusted Uploader
May 9, 2020
1,140
922
133
⭐⭐⭐⭐⭐
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

iamanoob

Active member
May 28, 2020
404
127
43
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
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
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

Clouded

Active member
Dec 27, 2020
107
21
28
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
 

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