Forums

Do Theme Authors Distribute Themes for Adsense Revenue? (4 posts)

  1. furball
    Member
    Posted 3 years ago #

    Question: Am I correct that the author of the theme I am using has embedded google adsense code in the theme header so that my site will generate revenue for the author? (Could this be an error on the author's part, copied by accident?)

    Let me preface this by saying I am new to wordpress, blogging, themes, php, css ... the whole thing. I have been working with four or five different themes the last three months to develop a blog with a cms focus. I've been taking themes apart to learn how to put mine together. And, of course, I end up with lots of formating errors.

    One pointed me to the header of a theme I downloaded. It looks to me like adsense code buried in the header file. It points to another web site and references the theme author's home web site. I can find no reference to google adsense in any of the css or php files. It appears in Firefox's javascript console as a parsing error. Here it is in part:

    "Error: Error in parsing value for property 'cursor'. Declaration dropped.
    Source File: http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub- ..."

    The java script is located in the theme header, which I edited which may be why it is generating a "bad selector" error. Apparently, whenever the header is selected it is supposed to notify google adsense as in this script in the header <<onMouseOver="ss('go to www.xxxxx.com','aw0')">> .

    Am I correct that the theme author has embedded google adsense code in the theme?

    furball

  2. VaamYob
    Member
    Posted 3 years ago #

    Which theme, where did you download it ?

  3. moshu
    Member
    Posted 3 years ago #

    I hope it just happens by accident (I remember several cases reported in the forum), followed by the theme author's apologies.
    Regardless, it's a very, very bad manner - should I say, shameless practice? - if it's done intentionally.

    Delete it and yes, post it here with the theme name and author name!

  4. Cypher
    Member
    Posted 3 years ago #

    It is a mistake. Many theme authors seem to put their code into the files and forget to remove it when they ship the theme out for general consumption.

    Contact the theme author and let them know so that they can remove the code or STUB it out so that you can enter your own code.

    Regards

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags