WordPress.org

Ready to get started?Download WordPress

Forums

How do you post advertisements within a theme (6 posts)

  1. AnneSpears
    Member
    Posted 6 years ago #

    I'm just getting started with WordPress and am in the process of selecting a theme. I'm using "WordPress for Dummies" to help me. I notice that nowhere in "Dummies" nor in any theme description is the topic of advertising discussed. Given that the desire of some (many?) bloggers is(at some time)to sell advertising on their blog, I'm thinking that I must be missing something here: I must not know enough to ask the right questions. But here goes:

    If I plan to have to have advertisements in a sidebar, what do I need to know? When I look at a theme description, what information should I look for that lets me know that I will be able to post advertisements if I use that particular theme?

    Will I need specific widgets for this purpose? If so, why have I not found any widget descriptions that reference advertising?

    Great appreciation to anyone who can help.

  2. MoonbatWingnut
    Member
    Posted 6 years ago #

    These folks set the standards:

    http://www.iab.net/iab_products_and_industry_services/1421

    But if you just want Adsense: https://www.google.com/adsense/

    You have a few choices on ad size and shape - squares, vertical rectangles, and horizontal rectangles. To put an Adsense ad in the sidebar, first be sure the sidebar is big enough to contain the shape/size you want. Then set up an account at Adsense and get the code to insert the ad. Go to widgets and add a text widget, then copy/paste the Adsense ad script into it.

    To add Adsense elsewhere, you will have to create a <div> to contain it, and add that <div> to the templates in the theme editor.

  3. AnneSpears
    Member
    Posted 6 years ago #

    This is wonderful information that, at some point, I know I'll be able to use. It does, however, point out to me that I'm correct in not knowing the right questions to ask. Thanks for bearing with me here.

    The type of blog I will have is a community/news blog--I plan on selling ads to local merchants. (As of now, I have no plans for any click-through type of ads).

    My idea is to place ads (which may include text, graphics, or photos and which would be linked to the merchant's web site) in one of the sidebars. An example of this kind of ad can be found at http://westseattleblog.com/blog/.

    Do you know how that's done?

    Thanks!

  4. moshu
    Member
    Posted 6 years ago #

    If I plan to have to have advertisements in a sidebar, what do I need to know?

    Basic HTML. That's what you need to learn before thinking of advertisement. If you want to be a webmaster and to manage your website - learn the basics first. That's how we all did.
    http://www.w3schools.com/ - very good resource!
    And the online WP manual, the Codex is also a good place to start.

    The other option is you outsource the jobs you don't want to learn. In plain English: hire a pro.

  5. MoonbatWingnut
    Member
    Posted 6 years ago #

    Right-click > View Source and scroll down to see the code for how they set up that side bar. It appears to be all hand-coded.

    If you are using Firefox there's a plugin for it called Firebug that you can use to inspect the code of any webpage to learn how they set it up.

    A good basic book on HTML/CSS: HTML, XHTML and CSS by Elizabeth Castro.

  6. AnneSpears
    Member
    Posted 6 years ago #

    Moshu and MoonbatWingnut: thank-you! I thought that maybe I could avoid mucking around in the code but I guess not. Very thoughtful for both of you to have included resource references.

Topic Closed

This topic has been closed to new replies.

About this Topic