Skip to content

Commit 2a05bcd

Browse files
authored
Merge pull request #88 from rtCamp/feature/GH-66
GH-66 : Prepare plugin for the release
2 parents d2470ef + 7572492 commit 2a05bcd

18 files changed

+44
-24
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,43 @@
22
<a href="https://rtcamp.com/?ref=wp-menu-custom-fields-repo" target="_blank"><img width="200"src="https://rtcamp.com/wp-content/uploads/sites/2/2020/11/site-logo-black.svg"></a>
33
</p>
44

5-
# WP Menu Custom Fields - v1.0.2
5+
# WP Menu Custom Fields - v1.1
66
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
77

88
This plugin adds custom fields on menu item's edit screen of wp-admin.
99

1010
**Author:** rtCamp
1111

12-
**Contributors:** rtcamp, sid177, kiranpotphode, devikvekariya, vaishaliagola27, deepaklalwani97
12+
**Contributors:** rtcamp, sid177, kiranpotphode, devikvekariya, vaishuagola27, deepaklalwani, alvitazwar052, pradeep1308, shreyasikhar26, gagan0123
1313

1414
**Tags:** Navigation Menu, Navigation Menu Custom Fields
1515

1616
**Requires at least:** 5.4
1717

18-
**Tested up to:** 5.7
18+
**Tested up to:** 6.0.3
1919

2020
**Requires PHP version:** 7.0
2121

22-
**Stable tag:** 1.0.2
22+
**Stable tag:** 1.1
2323

2424
**License:** GPLv2 or later (of course!)
2525

2626
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
2727

2828
## Description ##
29-
This plugin adds custom fields on Appearance -> Menus page of wp-admin (see [screenshots](#screenshots)).
29+
This plugin adds custom fields on Appearance -> Menus page of wp-admin (see [screenshots](#screenshots)) and supports only 1-level menu configuration.
3030
It uses `wp_nav_menu_item_custom_fields` hook added in WordPress 5.4 release to add custom fields.
3131
Below is the list of custom fields added by this plugin.
3232
- Custom text
3333
- Image selection with link and caption
3434
- Shortcode with caption
3535
- Custom HTML with tinyMCE editor
3636

37-
**Note:** This plugin works with default themes. In order to use it with custom themes, please add the necessary styling.
37+
**Notes:**
38+
39+
- This plugin works with default themes. In order to use it with custom themes, please add the necessary styling in your theme/child theme to override the plugin's CSS.
40+
- The custom fields from this plugin should be used in the submenu for well-structured and responsive UI.
41+
- Currently, this plugin is not supported with FSE themes.
3842

3943
## Installation ##
4044

@@ -57,7 +61,7 @@ Below is the list of custom fields added by this plugin.
5761
- You can enter a URL in **Image Link** text field. On front-end, clicking on the image will lead to this URL.
5862
- You can enter a caption text in **Image Caption** field and it'll be displayed below the image on the front-end.
5963
#### Using Shortcode ####
60-
- You can add a shortcode in **Shortcode** field. We've added some stylings to handle WordPress' defaut `[video]` shortcode.
64+
- You can add a shortcode in **Shortcode** field. We've added some stylings to handle WordPress' default `[video]` and `[audio]` shortcode.
6165
- You can enter a caption text in **Shortcode Caption** field and it'll be displayed below the shortcode on the front-end.
6266
#### Using Custom HTML ####
6367
- TinyMCE editor is used to add custom HTML here.

assets/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wp-menu-custom-fields",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "Adds custom fields on nav menu edit screen and shows it on site menu.",
55
"author": "rtCamp",
66
"license": "MIT",

languages/wp-menu-custom-fields.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Copyright (C) 2020 rtCamp
1+
# Copyright (C) 2022 rtCamp
22
# This file is distributed under the GPL2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WP Menu Custom Fields 1.0.2\n"
5+
"Project-Id-Version: WP Menu Custom Fields 1.1\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-menu-custom-fields\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2020-12-18T10:53:40+00:00\n"
12+
"POT-Creation-Date: 2022-10-19T07:35:22+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"X-Generator: WP-CLI 2.4.0\n"
14+
"X-Generator: WP-CLI 2.5.0\n"
1515
"X-Domain: wp-menu-custom-fields\n"
1616

1717
#. Plugin Name of the plugin

readme.txt

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
=== WP Menu Custom Fields ===
2-
Contributors: rtcamp, sid177, kiranpotphode, devikvekariya
2+
Contributors: rtcamp, sid177, kiranpotphode, devikvekariya, vaishuagola27, deepaklalwani, alvitazwar052, pradeep1308, shreyasikhar26, gagan0123
33
Tags: Navigation Menu, Navigation Menu Custom Fields
44
Requires at least: 5.4
5-
Tested up to: 5.7
5+
Tested up to: 6.0.3
66
Requires PHP: 7.0
7-
Stable tag: 1.0.2
7+
Stable tag: 1.1
88
License: GPLv2 or later (of course!)
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

1111
This plugin adds custom fields on menu item's edit interface of wp-admin.
1212

1313
== Description ==
1414

15-
This plugin adds custom fields on menu item's edit interface of wp-admin.
15+
This plugin adds custom fields on the menu item's edit interface of wp-admin and supports only 1-level menu configuration.
1616
Below is the list of custom fields this plugin adds.
1717

1818
- Custom text
1919
- Image selection with link and caption
2020
- Shortcode with caption
2121
- Custom HTML with TinyMCE editor
2222

23-
**Note:** This plugin works with default themes. In order to use it with custom themes, please add the necessary styling.
23+
**Notes:**
24+
25+
- This plugin works with default themes. In order to use it with custom themes, please add the necessary styling in your theme/child theme to override the plugin's CSS.
26+
- The custom fields from this plugin should be used in the submenu for well-structured and responsive UI.
27+
- Currently, this plugin is not supported with FSE themes.
2428

2529
== Installation ==
2630

@@ -50,7 +54,7 @@ Below is the list of custom fields this plugin adds.
5054

5155
= Using Shortcode =
5256

53-
- You can add a shortcode in **Shortcode** field. We've added some stylings to handle WordPress' defaut `[video]` shortcode.
57+
- You can add a shortcode in **Shortcode** field. We've added some stylings to handle WordPress' default `[video]` and `[audio]` shortcode.
5458
- You can enter a caption text in **Shortcode Caption** field and it'll be displayed below the shortcode on the front-end.
5559

5660
= Using Custom HTML =
@@ -61,10 +65,16 @@ Below is the list of custom fields this plugin adds.
6165

6266
== Screenshots ==
6367

64-
1. Custom fields added under Appearance -> Menus
65-
2. Custom HTML
66-
3. Image with custom text
67-
4. Video via shortcode
68+
1. Custom text field added under Appearance -> Menus
69+
2. Custom text field (frontend)
70+
3. Custom image field added under Appearance -> Menus from WP-Media
71+
4. Custom image field (frontend from WP-Media)
72+
5. Custom image field added under Appearance -> Menus from image url
73+
6. Custom image field (frontend from image url)
74+
7. Custom shortcode field added under Appearance -> Menus
75+
8. Custom shortcode field (frontend)
76+
9. Custom HTML field added under Appearance -> Menus
77+
10. Custom HTML field (frontend)
6878

6979
== Hooks ==
7080

@@ -192,6 +202,12 @@ Same [GPL](http://www.gnu.org/licenses/gpl-2.0.txt) that WordPress uses!
192202

193203
== Changelog ==
194204

205+
= 1.1 =
206+
FIXED
207+
* Fix UI bugs with default themes
208+
* Fix fatal error related to unknown format specifier with PHP v8.x.x
209+
* Fix image not showing when added with a link
210+
195211
= 1.0.2 =
196212
FIXED
197213
* Fix audio Shortcode not rendering on frontend

screenshots/backend-gif.gif

-5.91 MB
Loading

screenshots/frontend-gif.gif

-765 KB
Loading

screenshots/screenshot-1.png

118 KB
Loading

screenshots/screenshot-10.png

562 KB
Loading

screenshots/screenshot-2.png

465 KB
Loading

0 commit comments

Comments
 (0)