SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member Mezner's Avatar
    Join Date
    Dec 2011
    Location
    Minneapolis, MN
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    adsense in user admin for wordpress?

    I'm building an adsense theme to give to a couple buddies of mine. Plain theme, very fast load speeds. Anyways I have 3 areas where I want to implement banners. I was wondering if there was a plugin or tutorial to teach me how to make it so all they have to do is go into the Wordpress administration panel, enter in their adsense ID, then the ads will magically appear without them touching the code.

    I know how to do it manually by hard-cording, but that is not the solution I'm currently after.

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Have a look into the options and settings API's.

    http://codex.wordpress.org/Options_API
    http://codex.wordpress.org/Settings_API
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •