Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to remove adsense code?
Old 01-06-2011, 08:27 AM How to remove adsense code?
Novice Talker

Posts: 6
Trades: 0
Hi,

Not sure if this is the right section, so forgive me if I'm wrong.

I downloaded a free wordpress theme, I noticed they have added adsense their adsense code to it inside a page which you can view here.

Can someone tell me where I can find the adsense code(s) in the theme so I can remove it.

Thank you.

Critic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-06-2011, 09:20 AM Re: How to remove adsense code?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
It depends on how the theme is implemented, but you may want to start looking in single.php (if it exists).
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-06-2011, 11:18 AM Re: How to remove adsense code?
Digital Friend's Avatar
...

Posts: 2,017
Name: Marc
Location: The Caribbean
Trades: 0
Your adsense script is in the content on your wordpress theme.

That means you'll have to search and find the PHP file which displays content, then you'll find the script to remove it.
__________________
Blackberry Torch - Make it your next smartphone, or we'll find you. <_<
Digital Friend is offline
Reply With Quote
View Public Profile
 
Old 01-06-2011, 12:55 PM Re: How to remove adsense code?
Novice Talker

Posts: 6
Trades: 0
Is there any chance that it might be hidden, because I cannot find it, I checked both single.php and page.php?

Thanks
Critic is offline
Reply With Quote
View Public Profile
 
Old 01-06-2011, 01:20 PM Re: How to remove adsense code?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
It's possible that the code could be obscured. If it is it would be easy to spot: look for a blob of encoded text.

It is possible for the code to be located in any one of the theme files, not just single.php or page.php.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-06-2011, 01:51 PM Re: How to remove adsense code?
Novice Talker

Posts: 6
Trades: 0
Yh, this theme is encrypted in the footer, editing it will crash the theme.

Whatever the case is i have managed to get rid of the adsense on the page by deleting the post and re publishing it.

Thanks everyone.
Critic is offline
Reply With Quote
View Public Profile
 
Old 01-06-2011, 04:23 PM Re: How to remove adsense code?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
I really doubt the footer is encrypted. The most common tactic I see is inserting a chunk of base 64 encoded code and then decoding and evaluating it at runtime.

It's an easily reversible process.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-12-2011, 05:43 AM Re: How to remove adsense code?
Average Talker

Posts: 23
Name: Reynold Hugh
Trades: 0
Just open your website in some dreamweaver type software and at there just see the code and design together.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
rhugh is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to remove adsense code?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26978 seconds with 12 queries