-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathreadme.txt
137 lines (96 loc) · 4.87 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
=== Any Ipsum ===
Contributors: gungeekatx, shooper
Tags: content, ipsum
Donate link: https://baconipsum.com/
Requires at least: 4.0
Tested up to: 6.7.1
Stable tag: 1.9.4
Text Domain: any-ipsum
Domain Path: /lang
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Roll your own custom lorem ipsum generator
== Description ==
If you've ever had an idea for your own custom lorem ipsum generator (like Bacon Ipsum), this plugin will allow you to do so without any coding. Just fill in a list of words, drop
the `[anyipsum-form]` shortcode in a post or page, and you have your very own custom ipsum generator. Forked from [Bacon Ipsum](http://baconipsum.com)
Includes:
* [anyipsum-form] shortcode for end-users to use, fully configurable
* custom words and filler text
* API (returns JSON, HTML or plain text)
* oEmbed support
* WP-CLI support via the 'wp any-ipsum' command
The plugin installs Bacon Ipsum filler by default, so be sure to check Settings/Any Ipsum to fully customize your ipsum.
== Installation ==
1. Upload the wp-any-ipsum directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place the `[anyipsum-form]` shortcode in a page or post
4. Check Settings/Any Ipsum to fully customize your ipsum
== Changelog ==
= v1.9.4 December 26, 2024 =
* Fixed deprecated notices for PHP 8.
= v1.9.3 July 31, 2018 =
* Fixed bugs in the code that loads default filler and custom words and an array count bug (props @colinusher)
= v1.9.1 November 15, 2017 =
* Added 'anyipsum-generated-filler' filter to API output.
= v1.9.0 September 23, 2016 =
* Added 'anyipsum-generated-filler' filter to allow modification of generated filler before display.
* Added 'anyipsum-after-starts-with-row' action to HTML form.
* Reformatted some of the label tags in the HTML form.
= v1.8.1 January 8, 2016 =
* Fixed a bug that was always showing the 'Starts with' text (thanks @ghost_harrenhal)
= v1.8.0 December 1, 2015 =
* Changed the WP-CLI generate-posts output to display a progress bar instead of individual posts (can be toggled via --no-progress-bar)
= v1.7.0 November 30, 2015 =
* 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
= v1.6.1 September 18, 2015 =
* 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
= v1.5.0 June 19, 2015 =
* Action 'anyipsum-filler-generated' is fired after either the shortcode or API generates any custom filler (useful for logging)
= v1.4.1 July 30, 2015 =
* Fixed a missing </div> tag in the form
= v1.4.0 June 9, 2015 =
* Added 'html' format to API, which wraps each paragraph in p 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
= v1.3.0 May 29, 2015 =
* API now supports a 'format' parameter to specify return format
* 'text' return format added to return ipsum in plain text
= v1.2.3 March 27, 2015 =
* Trim each word before adding it to a sentence
= v1.2.2 March 6, 2015 =
* Bux fix for API POST requests
= v1.2.1 March 4, 2015 =
* Code refactoring to use filter_input() and better WordPress coding standards
* Fixed activation bug that was not setting up the initial oEmbed settings
= v1.2.0 January 7, 2015 =
* Added admin notice to visit settings page on plugin activation
* Bug fix for sentences in JSON API
= v1.1.0 October 22, 2014 =
* 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!
= 1.0.1 =
* Bug fixes for translations
= 1.0.0 =
* Initial release
== Upgrade Notice ==
= v1.9.3 July 31, 2018 =
* Fixed bugs in the code that loads default filler and custom words and an array count bug (props @colinusher)
= v1.9.1 November 15, 2017 =
* Added 'anyipsum-generated-filler' filter to API output.
= v1.9.0 September 23, 2016 =
* Added 'anyipsum-generated-filler' filter to allow modification of generated filler before display.
* Added 'anyipsum-after-starts-with-row' action to HTML form.
* Reformatted some of the label tags in the HTML form.
== Frequently Asked Questions ==
= Do you have any questions? =
We can answer them here!
== Screenshots ==
1. Configure your custom ipsum
2. Sample form
3. Sample output