You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-6Lines changed: 23 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,29 @@
1
-
# README #
1
+
# README
2
2
3
3
This README documents whatever steps are necessary to get this plugin up and running.
4
4
5
-
### How do I get set up? ###
5
+
### How do I get set up?
6
6
7
7
* Unzip and/or move all files to the /wp-content/plugins/pdc-faq directory
8
8
* Log into WordPress admin and activate the ‘PDC FAQ’ plugin through the ‘Plugins’ menu
9
9
10
+
## Getting started
11
+
### Installation
12
+
13
+
#### For users
14
+
1. Download the latest release from [the releases page](https://github.com/OpenWebconcept/plugin-pdc-faq/releases)
15
+
2. Unzip and move all files to the `/wp-content/plugins/pdc-faq` directory.
16
+
3. Log into the WordPress admin and activate the 'PDC FAQ' plugin through the 'plugins' menu
17
+
18
+
#### For developers
19
+
To contribute to this project, no dependencies are required. However, you will need to download [Composer](https://getcomposer.org/) to run tests or create an optimized build of the plugin.
20
+
21
+
1. Clone this repository to your machine and/or WordPress installation
22
+
2. Optionally use Composer (`composer install`) to install the dev dependencies
23
+
24
+
To create an optimized and zipped build, run the `composer run package` command. This requires `Composer`, `rsync` and `zip` to run.
25
+
26
+
10
27
### Filters & Actions
11
28
12
29
There are various [hooks](https://codex.wordpress.org/Plugin_API/Hooks), which allows for changing the output.
@@ -23,7 +40,7 @@ Via the plugin object the following config settings can be adjusted
23
40
- rest_api_fields
24
41
25
42
26
-
### Translations ###
43
+
### Translations
27
44
28
45
If you want to use your own set of labels/names/descriptions and so on you can do so.
29
46
All text output in this plugin is controlled via the gettext methods.
@@ -40,7 +57,7 @@ This plugin provides an easy interface for custom translations and a way to stor
40
57
For instructions how to use the 'Loco Translate' plugin, we advice you to read the Beginners's guide page on their website: https://localise.biz/wordpress/plugin/beginners
41
58
or start at the homepage: https://localise.biz/wordpress/plugin
42
59
43
-
### Running tests ###
60
+
### Running tests
44
61
To run the Unit tests go to a command-line.
45
62
```bash
46
63
cd /path/to/wordpress/htdocs/wp-content/plugins/pdc-faq/
@@ -53,13 +70,13 @@ For code coverage report, generate report with command line command and view res
53
70
phpunit --coverage-html ./tests/coverage
54
71
```
55
72
56
-
### Contribution guidelines ###
73
+
### Contribution guidelines
57
74
58
75
##### Writing tests
59
76
Have a look at the code coverage reports to see where more coverage can be obtained.
60
77
Write tests
61
78
Create a Pull request to the OWC repository
62
79
63
-
### Who do I talk to? ###
80
+
### Who do I talk to?
64
81
65
82
If you have questions about or suggestions for this plugin, please contact <ahref="mailto:hpeters@Buren.nl">Holger Peters</a> from Gemeente Buren.
0 commit comments