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
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,29 @@ Toggling that option will hide or show the layout on the fronted.
22
22
1. Clone this repo to `/wp-content/plugins`.
23
23
2. Activate the plugin through the 'Plugins' screen in WordPress.
24
24
25
+
## Publish the plugin to wordpress.org
26
+
27
+
To publish the plugin to the official wordpress.org page we will need to use SVN. Read more about about [using subversion with WordPress](https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/)
28
+
29
+
SVN and the Plugin Directory are a release repository. Unlike Git, you shouldn’t commit every small change, as doing so can degrade performance. Please only push finished changes to your SVN repository.
30
+
31
+
SVN uses the wordpress.org account username and password. It might aks for password for you u
32
+
33
+
0. Dont't forget to update the plugin version in the `acf-hide-layout.php` and in the `readme.txt`.
34
+
1. Make sure you have SVN installed.
35
+
* To install it with homebrew run `brew install subversion`.
36
+
2. Run `./run svn_setup`.
37
+
* This will create a new folder `svn` and connect it with plugin SVN repository.
38
+
3. When you have made changes to the plugin use `./run svn_update_trunk`.
39
+
* This will copy all the plugin folders and files to `svn/trunk` folder (except those in the `svn-exclude-list.txt`).
40
+
4. Go into `svn` folder with `cd svn` and use `svn` commands to add, commit/push the changes. Here are few useful commands
41
+
*`svn up` Update SVN repository, like `git pull`
42
+
*`svn status` See status of files, e.g. which are added (A), modified(M) or not added(?)
43
+
*`svn add trunk/*` Adds all files in the trunk folder
44
+
*`svn ci -m 'feat: add something new'` Commits and pushes the changes
45
+
46
+
Read more about ["Tagging" New Versions](https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#tagging-new-versions)
47
+
25
48
## Maintainers
26
49
This project is maintained by [bleech](https://github.com/bleech).
Copy file name to clipboardExpand all lines: readme.txt
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,9 @@ Easily hide the layout of the flexible content on the frontend but still keep it
12
12
13
13
== Description ==
14
14
15
-
Sometimes you may need to hide/remove a flexible content layout from showing on the frontend of the website,
16
-
but you would still like to keep it in the backend in case you need to re-enable that layout again in the future.
17
-
Of course you can always just remove the layout, but if it’s a complex group of fields with a lot of data,
18
-
re-creating it later would be a pain. And here the **ACF Hide Layout** plugin comes into play. It adds a small button
19
-
with an "eye" icon to easily disable/enable flexible layout content without removing it.
15
+
Sometimes you may need to hide/remove a flexible content layout from showing on the frontend of the website, but you would still like to keep it in the backend in case you need to re-enable that layout again in the future.
16
+
17
+
Of course you can always just remove the layout, but if it’s a complex group of fields with a lot of data, re-creating it later would be a pain. And here the **ACF Hide Layout** plugin comes into play. It adds a small button with an "eye" icon to easily disable/enable flexible layout content without removing it.
20
18
21
19
== Frequently Asked Questions ==
22
20
@@ -25,6 +23,12 @@ with an "eye" icon to easily disable/enable flexible layout content without remo
25
23
Next to the flexible content options "Add Layout" and "Remove Layout" is a new option "Hide / Show Layout".
26
24
Toggling that option will hide or show the layout on the fronted.
0 commit comments