|
@@ -4,18 +4,19 @@ Just another WordPress project for - [https://hospicepiedmont.org/](https://hos
|
|
*****
|
|
*****
|
|
#### Built With:
|
|
#### Built With:
|
|
- [Wordpress](https://github.com/WordPress/WordPress)
|
|
- [Wordpress](https://github.com/WordPress/WordPress)
|
|
|
|
+- [Bootstrap](https://github.com/twbs/bootstrap)
|
|
- [Node](https://github.com/nodejs/node)
|
|
- [Node](https://github.com/nodejs/node)
|
|
- [NPM](https://github.com/npm/npm)
|
|
- [NPM](https://github.com/npm/npm)
|
|
- [Gulp](https://github.com/gulpjs/gulp)
|
|
- [Gulp](https://github.com/gulpjs/gulp)
|
|
- [BrowserSync](https://github.com/BrowserSync/browser-sync)
|
|
- [BrowserSync](https://github.com/BrowserSync/browser-sync)
|
|
-- [Bootstrap](https://github.com/twbs/bootstrap)
|
|
|
|
|
|
|
|
|
|
|
|
*****
|
|
*****
|
|
#### Usage
|
|
#### Usage
|
|
|
|
|
|
- $ npm run
|
|
|
|
- $ npm ship
|
|
|
|
|
|
+ $ npm install
|
|
|
|
+ $ gulp copy / build / run
|
|
|
|
+
|
|
/* you know the drill */
|
|
/* you know the drill */
|
|
|
|
|
|
*****
|
|
*****
|
|
@@ -26,6 +27,9 @@ Just another WordPress project for - [https://hospicepiedmont.org/](https://hos
|
|
*****
|
|
*****
|
|
#### Notes:
|
|
#### Notes:
|
|
|
|
|
|
|
|
+##### 2021.2.12 - ( v. 1.0.0 )
|
|
|
|
+- seperate the core functions from the theme functions so that it can be reused on other projects.
|
|
|
|
+
|
|
##### 2021.1.27 - ( v. 1.0.0 )
|
|
##### 2021.1.27 - ( v. 1.0.0 )
|
|
|
|
|
|
- originally brought on to fix a hacked site
|
|
- originally brought on to fix a hacked site
|
|
@@ -46,18 +50,15 @@ Just another WordPress project for - [https://hospicepiedmont.org/](https://hos
|
|
- DELETE FROM wp\_terms WHERE term\_id IN (SELECT term\_id FROM wp\_term\_taxonomy WHERE count = 0 );
|
|
- DELETE FROM wp\_terms WHERE term\_id IN (SELECT term\_id FROM wp\_term\_taxonomy WHERE count = 0 );
|
|
- DELETE FROM wp\_term\_taxonomy WHERE term\_id not IN (SELECT term\_id FROM wp\_terms);
|
|
- DELETE FROM wp\_term\_taxonomy WHERE term\_id not IN (SELECT term\_id FROM wp\_terms);
|
|
- DELETE FROM wp\_term\_relationships WHERE term\_taxonomy\_id not IN (SELECT term\_taxonomy\_id FROM wp\_term\_taxonomy);
|
|
- DELETE FROM wp\_term\_relationships WHERE term\_taxonomy\_id not IN (SELECT term\_taxonomy\_id FROM wp\_term\_taxonomy);
|
|
- - DELETE FROM `wp\_options` WHERE `option\_name` LIKE ('\_transient%\_feed\_%');
|
|
|
|
|
|
+ - DELETE FROM wp\_options WHERE option\_name LIKE ('\_transient%\_feed\_%');
|
|
- DELETE a,b,c FROM wp\_posts a WHERE a.post\_type = 'revision' LEFT JOIN wp\_term\_relationships b ON (a.ID = b.object\_id) LEFT JOIN wp\_postmeta c ON (a.ID = c.post\_id);
|
|
- DELETE a,b,c FROM wp\_posts a WHERE a.post\_type = 'revision' LEFT JOIN wp\_term\_relationships b ON (a.ID = b.object\_id) LEFT JOIN wp\_postmeta c ON (a.ID = c.post\_id);
|
|
- DELETE FROM wp\_usermeta WHERE NOT EXISTS ( SELECT * FROM wp\_users WHERE wp\_usermeta.user\_id = wp\_users.ID )
|
|
- DELETE FROM wp\_usermeta WHERE NOT EXISTS ( SELECT * FROM wp\_users WHERE wp\_usermeta.user\_id = wp\_users.ID )
|
|
- DELETE hp\_postmeta FROM hp\_postmeta LEFT JOIN hp\_posts ON hp\_posts.ID = hp\_postmeta.post\_id WHERE hp\_posts.ID IS NULL;
|
|
- DELETE hp\_postmeta FROM hp\_postmeta LEFT JOIN hp\_posts ON hp\_posts.ID = hp\_postmeta.post\_id WHERE hp\_posts.ID IS NULL;
|
|
- DELETE hp\_postmeta FROM hp\_postmeta LEFT JOIN hp\_posts ON hp\_posts.ID = hp\_postmeta.post\_id WHERE wp\_posts.ID IS NULL;
|
|
- DELETE hp\_postmeta FROM hp\_postmeta LEFT JOIN hp\_posts ON hp\_posts.ID = hp\_postmeta.post\_id WHERE wp\_posts.ID IS NULL;
|
|
- - DELETE FROM hp\_posts WHERE post\_type='donation';
|
|
|
|
- - DELETE FROM hp\_posts WHERE post\_type='donor';
|
|
|
|
- DELETE FROM hp\_posts WHERE post\_type='faq';
|
|
- DELETE FROM hp\_posts WHERE post\_type='faq';
|
|
- DELETE FROM hp\_posts WHERE post\_type='portfolio';
|
|
- DELETE FROM hp\_posts WHERE post\_type='portfolio';
|
|
- DELETE FROM hp\_posts WHERE post\_type='services';
|
|
- DELETE FROM hp\_posts WHERE post\_type='services';
|
|
- DELETE FROM hp\_posts WHERE post\_type='team';
|
|
- DELETE FROM hp\_posts WHERE post\_type='team';
|
|
- - DELETE FROM hp\_posts WHERE post\_type='wpcf7\_contact\_form';
|
|
|
|
- DELETE FROM wp\_postmeta WHERE 'meta\_key' LIKE ‘%review%’;
|
|
- DELETE FROM wp\_postmeta WHERE 'meta\_key' LIKE ‘%review%’;
|
|
|
|
|
|
- cleaned media library
|
|
- cleaned media library
|
|
@@ -65,8 +66,3 @@ Just another WordPress project for - [https://hospicepiedmont.org/](https://hos
|
|
- remove useless files thumbs.db/index.html
|
|
- remove useless files thumbs.db/index.html
|
|
- convert .tif -> .jpg
|
|
- convert .tif -> .jpg
|
|
- strip thumbnail sizes and regenerate
|
|
- strip thumbnail sizes and regenerate
|
|
-
|
|
|
|
-- todo:
|
|
|
|
- - rewrite the donation/donor fields back into hp\_posts
|
|
|
|
- - create a form to sit on top of donate to determine receipient and then plug that action into the existing donate button
|
|
|
|
- - configure forms
|
|
|