Description
Provides the ability to enter Bible and Science and Health citations and publish and share the referenced text. Uses cskit-rb written by Cameron. We built this plugin as part of the "Hack Your Church" hackathon at the U.C. Berkeley CSO. Participants / contributors include Gabriel, Julian, Cameron and James.
Demonstration site here: PleasantViewer.org
Allows zero-signup (anonymous) posting of citations.
Shortcodes:
Insert [pleasantviewer] on a page to display a form to add citations. Note that this will enable anonymous publishing of citations to your site. Citations are published as WordPress posts.
Installation
Install via Plugins > Install New
- Search for "Pleasant Viewer"
- Click the "Install Now" link
- Click "Activate Plugin"
Via ZIP / FTP
- Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
Use as a shortcode
Insert [pleasantviewer] on a page to display a form to add citations. Note that this will enable anonymous publishing of citations to your site.
Frequently Asked Questions
Is Support Available?
Yes, use the contact form on the ShareThePractice.org website.
Screenshots
Add citations form
Displayed citations
Changelog
1.3
- Security: Add nonce verification to form submission
- Security: Sanitize all user input (sanitize_text_field, sanitize_textarea_field, absint)
- Security: Escape all output (esc_html, esc_attr, esc_url, wp_kses, wp_kses_post)
- Security: Add capability checks for post creation
- Fix: Resolve JavaScript error on pages without the Pleasant Viewer form
- Improvement: Modernize jQuery to use .on() event binding and .done()/.fail() AJAX callbacks
- Improvement: Add null guards for DOM element access
- Improvement: Rename template file from underscore to hyphen convention
- Improvement: Prefix all global functions with pleasantviewer_
- Coding standards: Full PHPCS WordPress-Extra compliance
1.2
- Release date: October 31, 2018
- Changed order of enqueued javascript to fix dependency
1.1
- Update API endpoints to use https, now should work on SSL served sites
1.0
- Initial release of plugin
Upgrade Notice
1.0
Initial Release

