allow editors

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );

Optin View

#om-{{id}}-optin button.{{ns}}-CloseButton { /* Your Custom Styles */ }

plain-css.css

html div#om-{{id}} * { /* Anything inside here will be applied to all elements within your…

wrong redirect .htaccess

# Slash al final RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !# RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule…

Disabling the Admin Bar for Non-Admin Users

add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }

catalogue

Tyler Carroll
<10

Sort Events Category by Publish Date (Oldest First)

function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…

Hello

echo "hello World !";

LIFTER_TextReplace - Changes "Courses" to "Modules" and "Lessons" to "Steps

* Changes "Courses" to "Modules" and "Lessons" to "Steps" * Add to WP Code Snippets or…

ismail daugherty PRO
<10

SYNC_DIR - Users

/** * WPCode Snippet: WordPress Users Sync - FINAL NO DUPLICATES VERSION * Description: Bulletproof manual…

ismail daugherty PRO
<10
1 136 137 138 139 140 224