WordPress plugin to roll your own custom lorem ipsum generator - used by the Bacon Ipsum web site
- wp-anyipsum.php - WordPress plugin wrapper (loades classes, registers core hooks, etc)
- readme.txt - Info for the WordPress repo
- uninstall.php - WordPress uninstall code
- assets/ - Assets for the WordPress plugin repository
- lang/ - For future translastions
- lib/
- admin-help - Help page for the plugin
- default-custom.txt - Default custom text (meat)
- default-filler.txt - Default filler text (lorem ipsum)
- class-WPAnyIpsumCore.php - Exposes filters used by other classes
- class-WPAnyIpsumForm.php - Shortcode for generating the form to allow visitors to generate your custom filler
- class-WPAnyIpsumSettings.php - Admin settings for managing your custom filler text
- class-WPAnyIpsumWPCLI.php - WP-CLI commands
- class-WPAnyIpsumAPI.php - API endpoint (supports JSON and plain text)
- class-WPAnyIpsumOembed.php - oEmbed endpoint
- class-WPAnyIpsumGenerator.php - The WPAnyIpsumGenerator class for generating custom filler text.
- Fixed a bug that was always showing the 'Starts with' text (thanks @ghost_harrenhal)
- Changed the WP-CLI generate-posts output to display a progress bar instead of individual posts (can be toggled via --no-progress-bar)
- Added --category support to WP-CLI, pass in either an ID, slug, or name
- Added --excerpt support to WP-CLI, pass this flag to use the first sentence of the post content as the post excerpt
- Added 'anyipsum-filler-wp-cli-insert-post-args' filter to allow modifications of the post insert args before each new post is created
- Added 'anyipsum-filler-wp-cli-post-inserted' action which is fired after each new post is created, passes post_id
- Added WP-CLI support for generating posts. Try 'wp help any-ipsum generate-posts' for more info
- Fixed a bug with sentence mode generating a random number of sentences
- Action 'anyipsum-filler-generated' is fired after either the shortcode or API generates any custom filler (useful for logging)
- Fixed a missing tag in the form
- Added 'html' format to API, which wraps each paragraph in
tags.
- Added range values for the 'paras' parameter to allow random number of paragraphs, ex: paras=3-7
- Added charset to Content-Type header for all API calls
- Added Content-Length header for all API calls
- API now supports a 'format' parameter to specify return format
- 'text' return format added to return ipsum in plain text
- Trim each word before adding it to a sentence
- Bux fix for API POST requests
- Code refactoring to use filter_input() and better WordPress coding standards
- Fixed activation bug that was not setting up the initial oEmbed settings
- Added admin notice to visit settings page on plugin activation
- Bug fix for sentences in JSON API
- Added a header for the form shortcode, ex: [anyipsum-form]Give our ipsum a try! It's the best![/anyipsum-form]
- Added sentence mode for ipsum generators that want to use full sentences as custom words.
- The ipsum generator on baconipsum.com site is now powered by this plugin!
- Initial Release