Browse Source

log readme

windhamdavid 1 year ago
parent
commit
e9d44f7b3d
2 changed files with 10 additions and 6 deletions
  1. 9 5
      README.md
  2. 1 1
      functions.php

+ 9 - 5
README.md

@@ -1,15 +1,19 @@
 # README 
 
-### The Greenwood Promise
+## The Greenwood Promise
 
 [https://greenwoodpromise.com](https://greenwoodpromise.com)
 
-Charitable work for a good cause. They had an unkempt wix site that I migrated to a static site so that I could clean it up a bit. I may eventually move it to a CMS if needed.  
+Charitable work for a good cause. They had an unkempt wix site that I migrated to a static site so that I could clean it up a bit. ~~I may eventually move it to a CMS if needed~~. I migrated it to a custom WordPress Block theme so staff can edit and add news items. Simplified and styled the admin section to match the site. 
 
-#### Notes
+---
 
-- 23/11/16 - started v0.0.2
-  - admin edits
+### Notes
+
+- 23/11/27 - master ๐Ÿ‘‰๐Ÿผ main
+  - mv old site to `/_static`
+- 23/11/16 ๐Ÿ”ฅ - started v0.0.2
+  - admin edits to content
   - moving it to a CMS so they can post updates
 - 23/10/03 - changed exec, rm eScholarship link
 - 23/08/23 - board edits, rm release form, change photos

+ 1 - 1
functions.php

@@ -210,7 +210,7 @@ add_action( 'admin_menu', 'gwp24_remove_admin_pages', 99 );
 function gwp24_remove_admin_pages() {
   global $current_user;
   $user_id = get_current_user_id();
-  if($user_id != '0') {
+  if($user_id != '1') {
     remove_submenu_page('themes.php', 'themes-editor.php');
     remove_submenu_page( 'themes.php', 'customize.php?return=' . urlencode($_SERVER['SCRIPT_NAME']));
     remove_submenu_page( 'themes.php', 'themes.php' );