Skip to content

Commit

Permalink
nextwp-toolkit:1.1.2 rename settings field group label to NextWP Sett…
Browse files Browse the repository at this point in the history
…ings
  • Loading branch information
CalebBarnes committed Jan 9, 2024
1 parent f8986fb commit 4b98a71
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions wordpress/plugins/nextwp-toolkit/acf/options-page.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?php
function nextwp_admin_menu_icon_css() {
?>
function nextwp_admin_menu_icon_css()
{
?>
<style>
#adminmenu .toplevel_page_nextwp div.wp-menu-image img {
height: 20px;
margin-top: -2px;
}
}
</style>
<?php
<?php
}
add_action('admin_head', 'nextwp_admin_menu_icon_css');

Expand Down Expand Up @@ -38,7 +39,7 @@ function nextwp_admin_menu_icon_css() {
if (function_exists('acf_add_local_field_group')) :
acf_add_local_field_group(array(
'key' => 'group_1',
'title' => 'Settings',
'title' => 'NextWP Settings',
'fields' => array(
array(
'key' => 'field_63dac3a7baf64',
Expand Down
5 changes: 3 additions & 2 deletions wordpress/plugins/nextwp-toolkit/nextwp-toolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
* Plugin Name: NextWP - Headless Toolkit
* Plugin URI: https://github.com/CalebBarnes/nextwp/@nextwp/wp-plugin
* Description: A toolkit for headless Wordpress sites built with NextWP
* Version: 1.1.1
* Version: 1.1.2
* Author: Caleb Barnes
* Author URI: https://github.com/CalebBarnes
*/

add_action('acf/init', 'nextwp_acf_init');

function nextwp_acf_init() {
function nextwp_acf_init()
{
if (class_exists('acf')) {
include_once('acf/options-page.php');

Expand Down

1 comment on commit 4b98a71

@vercel
Copy link

@vercel vercel bot commented on 4b98a71 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextwp-starter – ./apps/next-wordpress-starter

nextwp-starter-calebbarnes.vercel.app
nextwp-starter.vercel.app
nextwp-starter-git-main-calebbarnes.vercel.app

Please sign in to comment.