I hereby claim:
- I am mattmcadams on github.
- I am mattmcadams (https://keybase.io/mattmcadams) on keybase.
- I have a public key ASCnanmilRwQGoE0_druWPrknR8kHDGlnEQ91OzZrEgV2wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
:invalid:not(:focus) { | |
color: red; | |
} |
body { font-family: sans-serif; max-width: 1300px; margin: 5rem auto; padding: 0 1rem; } | |
h1, h2, h3, ul, p { margin: 0 0 1rem 0; } | |
[hidden] { display: none !important; } | |
.item-list { | |
margin: 2.5rem 0; | |
padding: 0; | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); | |
grid-gap: 1rem; |
// Allow editors to see access the Menus page under Appearance but hide other options | |
function hide_menu() { | |
$user = wp_get_current_user(); | |
// Check if the current user is an Editor | |
if ( in_array( 'editor', (array) $user->roles ) ) { | |
// They're an editor, so grant the edit_theme_options capability if they don't have it | |
if ( ! current_user_can( 'edit_theme_options' ) ) { | |
$role_object = get_role( 'editor' ); |
<form id="myForm"> | |
<select id="select"> | |
<option value="pageSlug1">Page Title 1</option> | |
<option value="pageSlug2">Page Title 2</option> | |
<option value="pageSlug3">Page Title 3</option> | |
</select> | |
<button onclick="selectRedirect()">Submit</button> | |
</form> |
Route::redirect('.env', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ') | |
Route::redirect('wp-login.php', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ') | |
Route::redirect('wp-admin', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ') |
:link {} | |
:visited {} | |
:hover {} | |
:active {} | |
:focus {} |
.parent { | |
display: grid; | |
place-items: center; | |
} |
@keyframes slide-in-from-left { | |
from { | |
transfrom: translateX(-100%); | |
} | |
} | |
.class { | |
animation: slide-in-from-left .25s ease-in-out; | |
} |
/* Headers out of order (i.e. h2 before h1, etc.) */ | |
h2 ~ h1, | |
h3 ~ h1, | |
h4 ~ h1, | |
h5 ~ h1, | |
h6 ~ h1, | |
h3 ~ h2:first-of-type, | |
h4 ~ h2:first-of-type, | |
h5 ~ h2:first-of-type, | |
h6 ~ h2:first-of-type, |