WSA Context Names

I have just uploaded the themes pack and I am finding that almost every theme has a different context name (i.e. "336x280-anubis-top").

This is proving to be a serious pain as I am having to manually go through every theme template file in order to find out what names are being used, so I can then add them manually to the "Edit Context" page of the WSA Plugin.

Am I missing something here as this will take me weeks!

Many thanks.

    James Farmer

    Promise I'll make the next one easier... this was very much a first go at this so al feedback is muchly appreciated

    In the meantime, here's a list for you:

    This is used by far the most of all the codes:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280nocolor"); } ?>

    And here's the lot of them:

    Different themes

    Almost Spring

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-almostspring-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-almostspring-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-almostspring-sidebar"); } ?>

    Anubis:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-anubis-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-anubis-sidebar"); } ?>

    Anarchy:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-anarchy-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-anarchy-sidebar"); } ?>

    Bluebird

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-bluebird"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-bgb-bluebird"); } ?>

    Borderline Chaos

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280-borderline-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-borderline-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-borderline-sidebar"); } ?>

    Contempt

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-contempt-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-contempt-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-contempt-sidebar"); } ?>

    Cutline:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-0060ff-cutline"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-0060ff-cutline-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-0060ff-cutline"); } ?>

    Alternative

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("cutline-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-cutline-sidebar"); } ?>

    Daisy Rae Gemini

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-daisy-rae-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-daisy-rae-sidebar"); } ?>

    Default:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-default-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-default-sidebars"); } ?>

    Glossy Blue:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-glossyblue-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-glossyblue-sidebar"); } ?>

    Jakata:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-jakarta-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-jakata-sidebar"); } ?>

    Mandigo

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-mandigo-fafafa"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-mandigo-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-mandigo"); } ?>

    Mistylook

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-mistylook-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160-x-600-mistylook-sidebar"); } ?>

    Oceanmist

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-oceanmist-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-oceanmist-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-oceanmistsidebar"); } ?>

    Pink Kupy

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-pinkkupy-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-pinkkupy-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-pinkkupy-sidebar"); } ?>

    Pressrow:

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("338x280-pressrow-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-pressrow-bottom"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-pressrow-sidebar"); } ?>

    Alternative

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("250x250-pressrow-top"); } ?>

    Seashore

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-seashore-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x200-seashore-sidebar"); } ?>

    Solipsus

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-solipsus-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x200-solipsus-sidebar"); } ?>

    Vistered Little

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280-vistered-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-vistered-little"); } ?>

    Oceanwide

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("250x250-oceanwide-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-oceanwide-left"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-oceanwide-right"); } ?>

    Generic

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("72890nocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280nocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("46860nocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("72815linkunitnocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("20090linkunitnocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("16090linkunitnocolor"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("72890graphite"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280graphite"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("46860graphite"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("20090linkunitgraphite"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("72890shadow"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280shadow"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("18090linkunitshadow"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("72890ink"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336280ink"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("20090linkunitink"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("46860ink"); } ?>

    Google search Units

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("gsearch-30char-white"); } ?>

    Blue title, grey text, blue link

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("336x280nocolor-bgb-top"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("728x15-nocolor-bgb"); } ?>

    <?php if (function_exists('wp_ozh_wsa')) { wp_ozh_wsa("160x600-nocolor-bgb"); } ?>

    simonben

    James,

    I made the mistake of creating Google TEXT banners, not Images Only.

    This now means that many of the black themes have white text box ads - which looks awfull.

    I could do a global "find and replace" if I knew where the code was stored on the WSA plugin. I have searched via mysql and also the three main plugin files, but cannot find the code.

    Where should I be looking? Or should I wait for the new version?

    Is it ready yet? LOL.

    andrea_r

    There might be issues on the latest codebase. But it doesn't link to *users*, it just shows what themes are being used on which *blogs*. Themes don't really have any relation to users. One user can have many blogs, each with a different theme (or all the same).

    So in your list above, you've got 3 blogs using the default theme, and one using blue zinfandel. It doesn't count unused themes, and will have more relevance when you have more blogs.

    Steve Atty

    I tidied all the names up to make them consistent but some of the sizes look wrong to me - there seems to be a lot of use of large squares where sometimes I suspect banner might be more fitting? I don't know I'm not an Adsense guru but sometimes the ads do seem a bit "in your face"

    Also any idea why all the contexts now appear as widgets which makes the widgets page look terrible?

    It is a huge number of different contexts to create but given the way google have now changed the way they handle adsense unit code (colours for example are now controlled from the adsense server which can be a bit of a pain) using the google_ad_slot parameter I don't think there is any easier way to do it