Title: WoWpi
Author: avenirer
Published: <strong>June 27, 2016</strong>
Last modified: February 3, 2019

---

Search plugins

![](https://ps.w.org/wowpi/assets/banner-772x250.png?rev=1452398)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wowpi/assets/icon-256x256.png?rev=1496293)

# WoWpi

 By [avenirer](https://profiles.wordpress.org/avenirer/)

[Download](https://downloads.wordpress.org/plugin/wowpi.zip)

 * [Details](https://wordpress.org/plugins/wowpi/#description)
 * [Reviews](https://wordpress.org/plugins/wowpi/#reviews)
 *  [Installation](https://wordpress.org/plugins/wowpi/#installation)
 * [Development](https://wordpress.org/plugins/wowpi/#developers)

 [Support](https://wordpress.org/support/plugin/wowpi/)

## Description

**ATTENTION: AFTER AN UPDATE IT IS IMPORTANT TO GO TO THE SETTINGS OF THE PLUGIN
AND DO A SAVE, IN ORDER TO CLEAR THE OLD DATA**

#### Highlights

**Guild Roster**

**Guild Progression (as I see it…)**

**Guild Achievements**

**Guild Tabard**

**Character Datasheets**

**Realm status**

The plugin allows you to get your character data from Battle.net API service. The
plugin uses caching of 12 hours, so you don’t have to worry about reaching the quota
established by the Battle.net. Also, for general data, like classes, factions, races
and so on, the cache is set for 14 days. If you however find yourself in the position
to show data that appeared between the refresh of caches you can go to the admin
section and save your data again, which will simply destroy all cache.

For example, a new expansion appeared in World of Warcraft with and you created 
a new character of a race that didn’t exist before the expansion. In order to show
that race you need to refresh the cache. Just go to WoWpi settings and push the 
save button. That’s it.

The plugin allows you to choose if you want to include the Tooltip script from Wowhead(
the one that shows a tooltip on mouseover). More info on the Tooltip can be found
here (http://www.wowhead.com/tooltips).

Also, when retrieving the Guild Tabard, the plugin uses a personal script located
at http://wow-hunter.ro/tabard-creator (by the way, my wow blog is http://wow-hunter.
ro)

## Screenshots

 * [[
 * WoWpi Settings Panel.
 * [[
 * WoWpi Character Widget Panel.
 * [[
 * WoWpi Guild Roster (don’t worry about the language…)
 * [[
 * WoWpi Sidebar character widget
 * [[
 * WoWpi Character data sheet
 * [[
 * WoWpi Guild Progression
 * [[
 * WoWpi Realm Status
 * [[
 * An implementation of WoWpi
 * [[
 * Another implementation of WoWpi
 * [[
 * Eh… another one…

## Installation

The WoWpi plugin allows you to get your character data from Battle.net API service.

 1. Upload the plugin files to the `/wp-content/plugins/wowpi/` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the `Plugins` screen in WordPress.
 3. Create an account on Battle.net API (https://develop.battle.net/).
 4. After creating an account on the Battle.net API website, you must add your website
    as a client (https://develop.battle.net/access/clients). Once created, the app 
    will provide with a Client ID and a Client Secret.
 5. On your WordPress, you must go to “Settings” > “WoWpi Settings” screen, and fill
    those in, including the Region and Locale, Realm, and Character Name.

#### Use it inside themes as PHP function

**wowpi_show_character()**

After you’ve set up the plugin, you can output the character data in your theme 
by using the wowpi_show_character() function:

    ```
    <?php
    if (function_exists('wowpi_show_character')) {
     wowpi_show_character();
    }
    ;?>
    ```

The code above will output character name, profile picture, guild, main title, level,
race and class.

For aditional information regarding the character, you must pass the function an
array with the data you want retrieved:

 * ‘achievement_points’ – will output the achievement points your character has;
 * ‘achievement_feed’ – will output the achievement feed of your character;
 * ‘kills’ – shows how many honorable kills your character did;
 * ‘professions’ – enumerates the character’s professions and their levels;
 * ‘ilvl’ – outputs the item level of the character;
 * ‘gear’ – outputs the gear that the character is having;
 * ‘artifact_weapon’ – outputs the artifact weapon traits;
 * ‘talents’ – shows the talents that the character has enabled.

For example, in order to get the talents and the gear of your character, you can
insert the following php code:

    ```
    <?php
    if (function_exists('wowpi_show_character')) {
     wowpi_show_character(array('talents','gear'));
    }
    ;?>
    ```

You can also insert another character, different than the main one (the one you’ve
set up in the settings), by mentioning the character name as a second paramenter
of the function:

    ```
    <?php
    if (function_exists('wowpi_show_character')) {
     wowpi_show_character(array('kills','professions'),'Thonk');
    }
    ;?>
    ```

**wowpi_get_guild_tabard($guild_name = null, $realm = null)**

Returns you the url of the guild tabard, created by http://tabard.gnomeregan.info/
using the data received from the API.
 $guild_name and $realm are optional parameters.
If you don’t pass them, the tabard retrieved is the one that belongs to the character
you’ve set up in the administration panel of WoWpi.

#### Use it as a widget

You can also use the plugin through its widgets, by going to the Widgets inside 
your administration interface… I do not think this needs more explaining.

#### Shortcodes?

You can use the following shortcodes inside your posts (or templates…):

    ```
    [wowpi_character]
    ```

‘[wowpi_character]’ allows you to show a character data sheet. The shortcode also
accepts suplemental parameters. These are:

_name=”Name of character”_ – allows you to show characters that don’t necessary 
belongs to you (like the one you’ve set inside the WoWpi Settings page). You can
also use “[username] – Guild name” or [nickname] – Guild name” if you want the plugin
to take the name of the character from logged in username/nickname.

_realm=”Realm”_ – allows you to show characters from another realm

_show=”talents,gear”_ – allows you to only show specific parts of the character 
sheet (although the name of the character, title level, race and class will always
appear – you can hide them by applying css, if you want to). You can show the following:**
achievement_points, achievement_feed, kills, professions, gear, artifact_weapon,
talents** (all of them are shown by default)

_type=”condensed”_ – allows you to choose between to types of tables (and designs).
You can choose between “condensed” and “extended”.

_class=”table table-striped table-condensed”_ – you can add a css class to your 
html table. If you do not mention the class name, the default class name inserted
by the plugin will be “.wowpi_character_data”.

    ```
    [wowpi_guild_members]
    ```

‘[wowpi_guild_members]’ allows you to show your guild’s members. The shortcode also
accepts suplemental parameters. These are:

_guild=”Name of Guild”_ – allows you to show members of another guild, not the guild
that your character belongs to (the one you’ve set inside the WoWpi Settings page)

_realm=”Name of realm”_ – allows you to show members of another realm’s guild

_ranks=”9,8″_ – allows you to show only members with a specified rank

_rank\_names = “0:The Big Boss|1:The subordinates|2:The others”_ – if you want to
be original, you can name the ranks so instead of “Rank 1” another name may appear,
like “The Others”. Please take note that, the guild master’s rank is “0”.

_id=”the\_roster”_ – you can add an id to the html table element if you want to.
This should happen only if you have more than one guild roster table on the page.

_class=”table table-striped table-condensed”_ – you can add a css class to your 
html table. If you do not mention the class name, the default class name inserted
by the plugin will be “.wowpi_guild_roster”.

_order\_by=”1|asc”_ – you can set an order in which the members of the guild will
be displayed. You need to pass the column number and eventually the direction of
the ordering (by default it is ascending: examples: order_by=”2″; order_by=”4|desc”).

_rows\_per\_page=”25″_ – you can set the number of rows displayed on each “page”
of the table. Imagine you have a huge guild with many players. You don’t want to
display a huuuuge page with all the members, so you can decide how many members 
should be displayed on every “page” of the roster.

_direction=”ASC”_ – you can set the direction by which the ordered members are shown,
either ascending (ASC), or descending (desc)

_linkto=”advanced”_ – as you can imagine, every character inside the roster has 
a link that sends the users to the official World of Warcraft website (the character’s
page). By default the page that the user is sent to is the “simple” one. If you 
want to send the user to the “advanced” view you can pass this parameter with either“
simple” or “advanced” as values. You may aswell link the character name to an internal
page or another website by passing the base url as value. If for example you have
an address where you present each character like: http://wowblog.com/character/CharacterName,
you should pass “http://wowblog.com/character/” as value for linkto.

_paginate=”false”_ – by default, the table is paginated (imagine what would happen
if the guild had more than a hundred members…). If you don’t want the table to be
paginated, you can use this parameter passing it “false” as value.

_hidecolumns=”2,3″_ – maybe you don’t want some columns in the table to be shown.
You can do that by passing the “hidecolumns” parameter and giving it the number 
of the column(s) you want to hide.

_table\_style=”profile\_picture|notop”_ – table_style changes the way the table 
is shown. For example, if we put “profile_picture” as value for table_style, this
will make the shortcode to show the profile pictures of the guild members in a column,
instead of race and class columns. PLEASE TAKE NOTE THAT, DEPENDING ON THE NUMBER
OF MEMBERS IN THE GUILD ROSTER, AT LEAST THE FIRST LOAD MIGHT TAKE “FOREVER” TO 
RETRIEVE THE AVATARS OF THE CHARACTERS. You can mention more than one elements inside
the table_style as values, by separating them with a vertical pipe. Besides the “
profile_picture” you may want to eliminate the top part of the table (the one that
allows users to set the number of members per page and the search input). You can
do this by using the “notop” value.

    ```
    [wowpi_tabard]
    ```

‘[wowpi_tabard]’ allows you to output an image with your guild’s tabard. When retrieving
the Guild Tabard, the plugin uses my tabard creator (http://wow-hunter.ro/tabard-
creator) , and saves the tabard in the uploads directory. The shortcode also accepts
suplemental parameters. These are:

_guild=”Name of Guild”_ – allows you to show the tabard of another guild, not the
guild that your character belongs to (the one you’ve set inside the WoWpi Settings
page)

_id=”the\_one”_ – you can add an id to the img element if you want to.

_class=”my\_tabard”_ – you can add a css class to your img. If you do not mention
the class name, the default class name inserted by the plugin will be “.crest”

    ```
    [wowpi_guild_progression]
    ```

‘[wowpi_guild_progression]’ shows a table with all the dungeons and raids made by
the guild (completed or not).

    ```
    [wowpi_realms]
    ```

‘[wowpi_realms]’ allows you to show your realm status. The shortcode also accepts
suplemental parameters. These are:

_realm=”Realm name”_ – allows you to show a specific realm status (not the one that
your character belongs to). You can mention more than one realm if you separate 
the realms using a pipe “|”.

_battlegroup=”Name of battlegroup”_ – allows you to show the statuses of all the
realms that belong to a battlegroup

_view=”battlegroup”_ – If you don’t know what battlegroup your realm is part of,
you can name the realm (or don’t name it if it’s the same as your character’s), 
and use view=”battlegroup”. All realms of your realm battlegroup will be shown.

_show = “status|type|population”_ – if you want to show more than just the status
of the realm you can mention what you want to be shown by separating them with a
pipe “|”. The widget can show the status, the type of the realm (RP, PVP, RPPVP),
and the range of the population (low, medium, high).

_class=”my\_own\_css\_class”_ – you can add a CSS class to your realm status table.

    ```
    [wowpi_guild_achievements]
    ```

‘[wowpi_guild_achievements]’ allows you to show your guild achievements. The shortcode
also accepts suplemental parameters. These are:

_guild=”Name of Guild”_ – allows you to show members of another guild, not the guild
that your character belongs to (the one you’ve set inside the WoWpi Settings page)

_realm=”Name of realm”_ – allows you to show members of another realm’s guild

_class=”personal\_class”_ – you can add a css class to your list.

_limit=”none”_ – you can set a limit of achievements. You can show only the last
10 of them by using limit=”10″

## FAQ

  Are there any bugs?

I sure hope not, but this being my first plugin I can’t guarantee for everything.
Anyway, you can at any time write me at **avenir.ro@gmail.com** or use the forum
to report any issues or ask for more things. Also, please, do tell me if the plugin
needs something else added or if you have some styling proposals.

## Reviews

![](https://secure.gravatar.com/avatar/08dc3e152ac1cace50a55e302a4fd986c132c83e257c9f95dafcff499aaedb78?
s=60&d=retro&r=g)

### 󠀁[Awesome, essential plugin for your WOW guild](https://wordpress.org/support/topic/awesome-essential-plugin-for-your-wow-guild/)󠁿

 [shokku](https://profiles.wordpress.org/shokku/) October 5, 2018

You are doing a fantastic job with this plugin, your support is great too! Keep 
up the good work! 🙂

![](https://secure.gravatar.com/avatar/13a0c166d662f6e0433fe572ec65125369ebe2597f025ba504c543f9bfc088f9?
s=60&d=retro&r=g)

### 󠀁[Best one for your wordpress install!](https://wordpress.org/support/topic/best-one-for-your-wordpress-install/)󠁿

 [wade217](https://profiles.wordpress.org/wade217/) September 17, 2018

Alot of options and great support!

![](https://secure.gravatar.com/avatar/13d541d608954f74c14bc6be17a59cbb6ea8a98dbae3182d86266d422bc609f1?
s=60&d=retro&r=g)

### 󠀁[Best World of Warcraft plugin available right now](https://wordpress.org/support/topic/best-world-of-warcraft-plugin-available-right-now/)󠁿

 [fantomeng](https://profiles.wordpress.org/fantomeng/) August 5, 2018

Simply the best and most extensive one. Thanks.

![](https://secure.gravatar.com/avatar/86c9aecf33b57cd45b295cf5e524cba5506a16a007352ddf73f4e5411692a989?
s=60&d=retro&r=g)

### 󠀁[I love it](https://wordpress.org/support/topic/i-love-it-398/)󠁿

 [furuba](https://profiles.wordpress.org/furuba/) July 14, 2018

Thank you for the great plugin. I hope it stays with us!!!

![](https://secure.gravatar.com/avatar/2a9f370a4a51cf7022fdcecbb452307700cce8f9100dda21df8e5586d7b13bf1?
s=60&d=retro&r=g)

### 󠀁[Super plugin](https://wordpress.org/support/topic/super-plugin-249/)󠁿

 [olayanne](https://profiles.wordpress.org/olayanne/) October 29, 2016 1 reply

Excellent plugin fonctionnant très bien sur mon site de guilde

![](https://secure.gravatar.com/avatar/2844a2867b894732ce11aa2f673d556f1c23f185677f55ded08895e5b482862c?
s=60&d=retro&r=g)

### 󠀁[great job](https://wordpress.org/support/topic/great-job-133/)󠁿

 [worene](https://profiles.wordpress.org/worene/) October 14, 2016 1 reply

thanks for all your hard work on this keep up the good job!!!!!

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/wowpi/reviews/)

## Contributors & Developers

“WoWpi” is open source software. The following people have contributed to this plugin.

Contributors

 *   [ avenirer ](https://profiles.wordpress.org/avenirer/)

[Translate “WoWpi” into your language.](https://translate.wordpress.org/projects/wp-plugins/wowpi)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wowpi/), check out 
the [SVN repository](https://plugins.svn.wordpress.org/wowpi/), or subscribe to 
the [development log](https://plugins.trac.wordpress.org/log/wowpi/) by [RSS](https://plugins.trac.wordpress.org/log/wowpi/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.5.2

Added BfA dungeons and raids to progression

#### 2.5.1

Fixing some api calls for guild progression

#### 2.5.0

Trying to connect using oAuth2

#### 2.4.2

The character image didn’t show. Now it should.

#### 2.4.1

Forgot what I did

#### 2.4

Refactoring

#### 2.3.6

Repaired the showing of allied races thumbs. Thank you @tectas for the fix. The 
problem was reported here: https://wordpress.org/support/topic/allied-races-image-
error/

#### 2.3.6

Repaired the “murloc” face, by retrieving the character avatar from the right url.
Thank you, Bastiaan.

#### 2.3.5

forgot to mention changes

#### 2.3.4

bug squashing – if in widget was chosen nickname or password, when no one was logged
in an error appeared. some guild achievements didn’t have points… hence some errors

#### 2.3.3

add guild achievement points total

#### 2.3.2

Allowing users to have more than one guild roster on a page.

#### 2.3.1

Separating item level from the gear output

#### 2.3.0

Added item level to the gear output

#### 2.2.9

Repaired a small bug…

#### 2.2.8

In the hopes of not dealing with curl anymore, used the native WordPress HTTP API.
Added [wowpi_guild_achievements]

#### 2.2.7

Changed admin interface and added caching options.

#### 2.2.6

Added tabard creator to use my script.

#### 2.2.5

Added some screenshots. Created a new facility that shows the realm status.

#### 2.2.4

Debuggind links of the guild roster (language specific links). Added option to use
nickname inside the shortcode. Added option to link the member to a different page
than those on blizzard

#### 2.2.3

Added option to not show the top of the table (the one that has the search and page
length elements).

#### 2.2.2

Added Guild Progressions the way I think they should be… If you think of another
way, please do tell me.

#### 2.2.1

Started work at Guild Progressions
 Repairing some guild roster errors and widget…

#### 2.2.0

Added possibility for blog admins to allow logged-in users (with their character
name as username) to see their own character data on the widget. Needs testing…

Changed the dark and faction styling for the guild roster and widget.

#### 2.1.9

Added rank naming on guild roster
 Styling the names in guild roster with class 
specific colors (on dark and faction themes, not on light…)

#### 2.1.8

Update on character data to be more inline with Blizzard’s talent calculator

#### 2.1.7

Artifact weapon traits rank added to tooltips (hence modified the look)

#### 2.1.6

Radical changes. Execution time reduced to half.
 Artifact relics now have the spec
added

#### 2.1.5

Added german language thanks to Santio (http://entropie-gaming.com/hain-der-traeume/
gargy-the-owl/)
 Added language domain to wowhead tooltips

#### 2.1.4

Added the possibility for admins to choose what tooltips to get, either from wowhead,
or from wowdb, or none.
 Worked on the tooltips in order for them to show the correct
values and/or sets that are actually on the characters and not generic tooltips.

#### 2.1.3

Now the images taken from Blizzard are imported locally and then outputed.
 Now 
you can also show artifact weapon on character sheet, thanks to the artifact trait-
to-spell json file that can be found here: https://gist.github.com/erorus/06eda88ed9eaf18ad7b4c9cf62eda528

#### 2.1.2

Images wouldn’t show when character shortcode was called, because the class names
are different depending on the realm language. So I chose to use the universal language…
numbers.

#### 2.1.1

repairing some bugs regarding two parts classes (death knight, demon hunter)
 start
work on artifact weapon display

#### 2.1.0

overhaul of the caching and organizing files

#### 2.0.9

This is sooooo embarrassing… repaired the caching…

#### 2.0.8

Added new parameters for wowpi_guild_members: linkto – for setting the page type
for the character sheet on blizzard’s site, paginate – option regarding the pagination
of the table, hidecolumns – option for hiding columns in table

#### 2.0.7

Some updates on shortcodes for US (sorry for that US users…)
 Caching wasn’t done
properly Guild Master instead of Guild master Using “DataTables Table plug-in for
jQuery”: https://datatables.net/ – reason: paginating the guild roster

#### 2.0.6

A lot of changes thanks to a user named Kevin Ference

#### 2.0.3

Inserting table sorter for guild roster

#### 2.0.1 and 2.0.2

Repairing some errors…

#### 2.0.0

Started adding language support

#### 1.1.9

Added a new shortcode [wowpi_character]
 Started translations… a reason for version
1.2

#### 1.1.8

Added “order_by” and “direction” as options for [wowpi_guild_members]
 Names of 
the members in [wowpi_guild_members] will act as links toward the battle.net armory.

#### 1.1.7

Added the [wowpi_tabard] shortcode and wowpi_get_guild_tabard() function

#### 1.1.6

Some errors repaired… not worth mentioning

#### 1.1.5

Added the [wowpi_guild_members] shortcode

#### 1.1.4

Added option to include the Wowhead tooltip script.

#### 1.1.3

Changed the class name for the character container. Can break compatibility if you
have your own css…

#### 1.1.2

Working on guild output

#### 1.1

 * [enhancement] added a new view wowpi_show_guild();
 * [bug] removed “of the” when the character has no guild;

#### 1.0

 * The first commit

## Meta

 *  Version **2.5.2**
 *  Last updated **7 years ago**
 *  Active installations **20+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.9.29**
 * Tags
 * [armory](https://wordpress.org/plugins/tags/armory/)[world of warcraft](https://wordpress.org/plugins/tags/world-of-warcraft/)
   [wow](https://wordpress.org/plugins/tags/wow/)
 *  [Advanced View](https://wordpress.org/plugins/wowpi/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/wowpi/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wowpi/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wowpi/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wowpi/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wowpi/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wowpi/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wowpi/reviews/)

## Contributors

 *   [ avenirer ](https://profiles.wordpress.org/avenirer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wowpi/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6PDPV9L47HC86)