?> in Wordpress (inside index.php of wordpress1.2
and e.g. inside sidebar.php of wordpress1.5), shows the latest image from your
Pixelpost photoblog in the wordpress blog. Compatible with Pixelpost version 1.3
or higher. From version 0.4 it shows the random thumbnails too.
Author: Ramin Mehran Installation:
upload this plugin to Wordpress plugin folder <main folder>/wp-content/plugins
and open it in an editor. Edit relative address of the Pixelpost
Relative address of Pixelpost main directory on
the local server to the main address of the wordpress directory. For
example, if your blog is placed at "/public_html/blog/" and you
photoblog is placed at "/public_html/photoblog/" the relative
address will be: "../photoblog/"
Don't forget the tailing slash
'/'. Thus, the in the php file you will see:
$PixelPost_local_address = "../pblog/";
Now edit URL address of the Pixelpost photoblog (do not miss the
tailing "/" )
$PixelPost_URL = "http://pblog.raminia.com/";
Set number of thumbs to show up. The default value is 1 for the latest
$num_thum_toshow = 1;
Also, you could set the number of random photos to show up.
$num_rand_thum_toshow = 1;
Use the function, show_latest_pixelpost_thumbnail(), in your wordpress weblog
where you want the latest thumbnail(s) appear inside the php tags
<?php show_latest_pixelpost_thumbnail(); ?>
Use the function, show_random_pixelpost_thumbnail(), in your wordpress weblog
where you want random thumbnail(s) appear inside the php tags
Activate the plugin in Admin menu of wordpress.
If you use old modification of latest_pblog.php form pixelpost.org you
should eliminate it and delete the changes you made in the
index.php(wordpress1.2) or sidebar.php (wordpress1.5).
Delete the call for function show_latest_pixelpost_thumbnail() from wordpress weblog.
The connection to the database for Pixelpost data was not closed at the
early version and it may cause some problems with other plugins. This is
Some strange manipulation of the Spell Checker pluging with path revealed
some bugs with my plugin. I change the plugin version to 0.2 after correcting
these bugs. Now on, the plugin should not prompt error if the path is not ok
and it will simply be silent!
Since Pixelpost version 1.4 has some modification in directories that
differs from all of its older versions, a modified version of this plugin is
released specially for Pixelpost version 1.4.
GMT offset bug is fixed. Now it shows the latest thumb if your location
differs from location of the server.
Now you can set number of thumbnails to show up in you wp weblog (not just
the last thumbnail). i.e. this can be set as $num_thum_toshow = 1; for the
latest and $num_thum_toshow = 3; for the last three thumbs. The version is
increased to 0.3.
Now in addition to latest photo you can show the a number of random
thumbnails from pixelpost on your photoblog. Teh version is increased to 0.4.
Version 1.0: more descriptive reports on errors. a bit clean up.
Version 1.0: more UTF-8 compatible!
Version 1.1: A big bug with date format that was making the plugin to not function is
fixed. If you tried this plugin and it didn't work for you before you may try
it again and it should work!