Zorpia.com

Zorpia 'Thats Hot' Box WordPress Installation

What is the Hot Box?

The Zorpia 'Thats Hot' box makes it easy for your visitors to add your page to 'Zorpia Gossip'. Zorpia Gossip is proving to be a popular feature at Zorpia, and your site could soon be seen by any of our 6 million members. Follow the steps carefully, and you can have this feature working on your WordPress installation within minutes!

Step 1: Download and Unzip

You can down load all the files you need from HERE.

The zip file contains two files:
zorpia_hot_box.php
Readme.txt

Step 2: Upload to WordPress

Upload the zorpia_hot_box.php file to your WordPress plugins folder (e.g. myblog/wp-content/plugins/).

Step 3: Activate the Plugin

Go to the WordPress admin page and activate the plugin under the Plugins tab.

Activate

Step 4: Change the Theme File

Find the current wordpress themes folder (e.g. myblog/wp-content/themes/default/ ).
If you have the file theloop.php we will edit that, otherwise we will edit single.php.

Look for a section that starts like this:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

And ends like this:
<?php endwhile; else: ?>

Now add this line somewhere in between:
<?php if (function_exists('zorpia_hot_box')) zorpia_hot_box() ?>
Try to make a new antry and use it, you should see something like this:

Example 1

Step 5: Adding to the Index

You may also have the widget show on your index pages by following the previous step, but this time editing index.php in the theme's folder.

Step 6: Adding a Compact version
Compact Hot Box

To add a compact version of the hot box, follow step 4, but this time insert this code:

<?php if (function_exists('zorpia_hot_box')) zorpia_hot_box('compact') ?>

You can also set the background and text colors like so:
<?php if (function_exists('zorpia_hot_box')) zorpia_hot_box('compact', 'FFFFFF', '000000') ?>

In the above example, the text color is set to white (FFFFFF), and the background color is set to black (000000).

 


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser