This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
69 lines (46 loc) · 1.68 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
=== Fieldmanager Plus ===
Contributors: s3rgiosan
Tags: custom, fields, fieldmanager, library
Requires at least: 4.7
Tested up to: 4.7
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Common utility classes for the Fieldmanager plugin on WordPress.
== Description ==
Common utility classes for the Fieldmanager plugin on WordPress.
= Usage =
= Adds a meta box to the new/edit front page screen =
```php
add_action( 'fm_post_page_on_front', function() {
$fm = new \Fieldmanager_TextField( array(
'name' => 'demo',
) );
$fm->add_meta_box( 'Basic Field', 'post' );
} );
```
== Installation ==
Even though Fieldmanager Plus exists as a plugin, it doesn't do anything by
itself, but it does make its classes and functions available so you don't have
to include it as a dependency in every single one of your plugins or themes.
= Dashboard =
1. Go to the 'Plugins' menu, and choose 'Add New'.
2. Search for 'fm-plus', and then click 'Install Now'.
2. Click 'Activate'.
= FTP =
1. Download and extract the .zip file.
2. Upload the unzipped folder to the `/wp-content/plugins/` directory.
3. Activate the plugin through the 'Plugins' menu.
= Composer =
`composer require s3rgiosan/fm-plus`
== Frequently Asked Questions ==
= Where can I report bugs? =
Bugs can be reported on the [GitHub repository](https://github.com/s3rgiosan/fm-plus/issues).
= How can I contribute? =
Join in on our [GitHub repository](https://github.com/s3rgiosan/fm-plus) and read our [contribution](https://github.com/s3rgiosan/fm-plus/blob/master/CONTRIBUTING.md) guidelines.
== Changelog ==
= 1.0.0 =
* Initial release.
== Upgrade Notice ==
= 1.0 =
Initial release.