Integrating Plogger With your WordPress Blog:
Step 1
Open the index.php file found in your Plogger’s installation folder.
Index.php is actually a very simple file, there are only a few lines of code in it.
The only three lines of code that you need to run Plogger are:
require(“gallery.php”);the_gallery_head();
the_gallery();You will need to keep these three lines of code handy.
Step 2
You now need to create a new index.php file. (It is worth making a backup of the old one frist though!). The new version will be made to look like your theme starting with the page.php file from the WordPress theme you are using.
Find your page.php file. Make a copy of it called index.php and open it.Step 3
Add <?php require(‘../wp-blog-header.php’); as the very first line of code to the file. The index file will end up in your plogger folder. This line locates the WordPress code. The path shown here assumes your plogger directory is in a subfolder on your site and WordPress is installed in the root. If it isn’t you will obviously need to change this path.
Immediately after, on the second line you need to add the Plogger code:Now remove everything inside the main content div tags and replace it with just:
The finished file should look something like:
Step 4
Save the file as index.php and copy it to the folder where you installed Plogger.That’s It!
Popularity: 1%







