This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App\Controllers; | |
use Sober\Controller\Controller; | |
class App extends Controller | |
{ | |
public static function siteLogo() | |
{ | |
return get_theme_mod('upload_logo'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Sites/valet/ | |
# https://github.com/aaemnnosttv/wp-cli-valet-command | |
wp valet new projectname --dbname=agency.project --dbuser=root --dbprefix=wp_ --admin_user=Hippo --admin_password=password [email protected] | |
# for bedrock: | |
wp valet new projectname --project=bedrock --dbprefix=wp_ | |
# INSTALL ROOTS: https://roots.io/sage/docs/theme-installation/ | |
# go to themes folder: | |
composer create-project roots/sage your-theme-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Vendor/Project", | |
"description" : "", | |
"keywords" : [ "wordpress" ], | |
"license" : "GPL-2.0+", | |
"authors" : [ | |
{ | |
"name" : "HappyHippopotam.us", | |
"email" : "[email protected]", | |
"role" : "Lead Developer" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_grav_forms_permissions(){ | |
$role = get_role('editor'); | |
$role->add_cap('gravityforms_view_entries'); | |
$role->add_cap('gravityforms_delete_entries'); | |
$role->add_cap('gravityforms_view_entry_notes'); | |
$role->add_cap('gravityforms_export_entries'); | |
} | |
add_action('admin_init','add_grav_forms_permissions'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body:not(.is-touch) * { | |
cursor: url(https://uploads-ssl.webflow.com/5c290f904fdbba7493c2f04c/5c4ddff0a29a8f44aeefbb66_reddot.png) 3 3, auto; | |
cursor: -webkit-image-set(url(https://uploads-ssl.webflow.com/5c290f904fdbba7493c2f04c/5c4ddff0a29a8f44aeefbb66_reddot.png) 1x, url(https://uploads-ssl.webflow.com/5c290f904fdbba7493c2f04c/5c4de00da29a8f4533efbb6f_reddotx2.png) 2x) 3 3, auto; | |
} | |
body:not(.is-touch) .cursor-mask, | |
body:not(.is-touch) .cursor-mask__inner { | |
z-index: 1100; | |
-webkit-backface-visibility: hidden; | |
backface-visibility: hidden; |
NewerOlder