Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Buy a Brick

Plugin used to dynamically create CSS image maps for use in fundraising. Admin panel includes XML editor for updating fundraising information.

  1. Create and upload the sprite image, popup image, and XML file for use with the plugin. See the official plugin site for details on how to do this, especially if you will be linking to Paypal from your image map.

  2. Edit the brickstatic.css file to match your WordPress theme or fundraising page. Replace the existing CSS file in the .zip file with the file you edited.

  3. Install and activate the Buy-a-brick plugin as normal.

  4. Select the Buy-a-Brick Settings under the Options admin menu and fill out the form with the correct information.

  5. Install, activate, and configure exec-PHP or another plugin that allows the execution of PHP code in WordPress posts and pages.

  6. Edit the header.php file for the WordPress theme you are using. Add the following lines somewhere above the </head> tag:

<link type="text/css" href="<?php echo home_url().'/wp-content/plugins/buy-a-brick/brickstatic.css'; ?>" rel="stylesheet" media="screen">
    if (is_page('[PAGE_SLUG]')) {

where [PAGE_SLUG] is the slug of the page you wish the image map to appear on. You can also use any of the other conditional tags in WordPress if you want the image map to appear elsewhere in the site (with a specific page template, in a post, etc.). See the official plugin page for more details.

  1. In the page, post, etc. where you want the image map to appear, add the following code:

Requires: 2.7.0 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 10+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.