Gwolle Guestbook is the WordPress guestbook you've just been looking for. Beautiful and easy.
As an alternative for the shortcode, you can use the function
show_gwolle_gb(); to show the guestbook in your templates.
It couldn't be easier.
With version 1.0 there have been some changes:
The plugin itself is released under the GNU General Public License. A copy of this license can be found at the license homepage or in the gwolle-gb.php file at the top.
There are many hooks available in this plugin. Documentation is included in the zip file in /docs/actions and /docs/filters. Examples are included. If you have a need for a hook, please request this in the support forum.
It is not that hard to add an entry in PHP code.
<?php $entry = new gwolle_gb_entry(); // Set the data in the instance, returns true $set_data = $entry->set_data( $args ); // Save entry, returns the id of the entry $save = $entry->save(); ?>
The Array $args can have the following key/values:
The importer expects a certain format of the CSV-file. If you need to import from a custom solution, your CSV needs to conform. The header needs to look like this:
<?php array( 'id', 'author_name', 'author_email', 'author_origin', 'author_website', 'author_ip', 'author_host', 'content', 'datetime', 'isspam', 'ischecked', 'istrash', 'admin_reply' ) ?>
The next lines are made up of the content.
Date needs to be a UNIX timestamp. For manually creating a timestamp, look at the timestamp generator.
It expects quotes around each field, and when no quotes are used the import process can break when having quotes or comma's inside the content of the entry.
With version 1.4.1 and older, the field datetime was called date.
You could make a test-entry, export that, and look to see what the importer expects from the CSV. There is also an example CSV file included in the zipfile of the plugin under '/docs/import_example/'.
Make sure you use UNIX line-endings. Any decent text-editor can transform a textdocument to UNIX line-endings.
Requires: 3.7 or higher
Compatible up to: 4.6
Last Updated: 3 days ago
Active Installs: 20,000+
12 of 13 support threads in the last two months have been marked resolved.
Got something to say? Need help?