-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
114 lines (75 loc) · 3.96 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
=== Content Parts ===
Contributors: husobj
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZU69EJN4XBP3A
Tags: content, layout, the_content, templates, theme, editor
Requires at least: 3.9
Tested up to: 4.9.1
Stable tag: 1.8
License: GPLv2 or later
Divide your post content into parts that you can show in different areas of your theme templates.
== Description ==
If you want to spice up your theme layouts this plugin will allow you to show different parts of your content in different area of your theme templates - break out of a single column of content.
More information can be found on the [Content Parts plugin page](https://github.com/benhuson/content-parts/wiki).
== Installation ==
1. Download the archive file and uncompress it (or install it via your WordPress admin).
2. Put the "content-parts" folder in the "wp-content/plugins" folder
3. Enable in WordPress by visiting the "Plugins" menu and activating it.
= Upgrading =
If you are not performing an automatic upgrade, deactivate and reactivate the plugin to ensure any new features are correctly installed.
= Documentation =
For full details how to implement this plugin visit the [Content Parts plugin page](http://www.benhuson.co.uk/wordpress-plugins/content-parts/).
== Screenshots ==
1. Content Parts editor icon.
2. Content part divider inserted into the editor.
== Changelog ==
= Unreleased =
= Content Parts 1.8 =
* Add wrapper divs around automatically output content parts.
= Content Parts 1.7 =
* Don't Automatically output `<div>` blocks - broke styling on some some site.
* Added settings page: Select post types to which `<div>` blocks will be automatically added.
* Added admin notification if settings page has not been visited.
* `content_parts_auto_format_post_types` filter added to enable override of admin settings.
* Removed the `content_parts_auto_content` filter. Instead use the `content_parts_auto_format_post_types` filter.
= Content Parts 1.6 =
* Use PHP5 constructors.
* Automatically output `<div>` blocks around content parts in the main content on single posts and pages. Disable via the `content_parts_auto_content` filter.
* Use SVG images.
= Content Parts 1.5 =
* Add post classes ( has-content-parts, content-parts-{n}, no-content-parts).
* Don't load editor functionality if DOING_AJAX.
* Updated Tiny MCE button image.
* Tested up to WordPress 4.0
= Content Parts 1.4 =
* Automatically make content parts work when 'in the loop'.
* Added %%part%% placeholder to before/after strings to replace with content part index.
* Add content_part_args filter.
= Content Parts 1.3 =
* All functions can now be passed an array of parameters.
* Deprecate the_content_part() multiple args - now expects an array.
* Moved code to a class structure.
= Content Parts 1.2 =
* Validate 'start' and 'limit' args are numeric.
* If $post not set, ignore.
* Checked WordPress 3.3 compatibility.
= Content Parts 1.1 =
* Added count_content_parts() function. props Rory.
= Content Parts 1.0 =
* First release.
== Upgrade Notice ==
= Content Parts 1.8 =
Added wrapper divs around automatically output content parts.
= Content Parts 1.7 =
Remove automatic output of `<div>` blocks - broke styling on some some sites. Instead provide settings page and `content_parts_auto_format_post_types` filter.
= Content Parts 1.6 =
Automatically output `<div>` blocks around content parts in the main content on single posts and pages. Disable via the `content_parts_auto_content` filter.
= Content Parts 1.5 =
Add post classes ( has-content-parts, content-parts-{n}, no-content-parts).
= Content Parts 1.4 =
Added content_part_args filter and %%part%% placeholder to before/after strings to replace with content part index.
= Content Parts 1.3 =
All functions can now be passed an array of parameters. Deprecate the_content_part() multiple args - now expects an array.
= Content Parts 1.2 =
Validate 'start' and 'limit' args are numeric.
= Content Parts 1.1 =
Added count_content_parts() function. props Rory.