Website Marketing Manager and Marketing Operations Specialist for NonProfits, Gov Agencies, & B2B businesses at @elsqrd
-
eLsqrd Media Group
- Missouri City, TX
- https://www.elsqrd.com
- @elsqrd
- in/ghwoodard
Block or Report
Block or report ghwoodard
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
Create a custom user role in WordPre...
Create a custom user role in WordPress and remove admin pages that don't have the user role 1<?php
2/*
3You want to add this code to the functions.php file or, ideally, to a new plugin. Best for when you need to provide admin
4access to a website but don't want admins having access to certain pages that will break or mess up the website.
5*/
-
Require a Featured Image Before You ...
Require a Featured Image Before You Can Publish a Post 1<?php
2/*
3A great function that will display a message to the user that a Featured Image is missing and is required in order to publish
4a new post.
5*/
-
hide-admin-notices.php
hide-admin-notices.php 1<?php
23// Hide Admin Notices
4function hide_update_msg_non_admins(){
5if (current_user_can( 'manage_options' )) { // User Caps
-
Fix WP Login Error: Cookies are Bloc...
Fix WP Login Error: Cookies are Blocked or Not Supported by Your Browser // Source: https://wp-staging.com/how-to-fix-the-error-cookies-are-blocked-or-not-supported-by-your-browser 1<?php
23// Option 1: Add following to WP-Config.php before That’s all, stop editing! line
45define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
-
Disable Comments on WordPress CMS
Disable Comments on WordPress CMS 1<?php
23// Add to existing function.php file
45// Disable support for comments and trackbacks in post types
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.