Header Menu Styling

.w-nav-icon>div:before { width: 50%; } .w-nav-icon>div:after { width: 75%; } .w-nav-control:hover .w-nav-icon>div:before { width: 75%; transition: all 0.3s ease-in-out; } .w-nav-control:hover .w-nav-icon>div:hover { transition: all 0.3s ease-in-out; } .w-nav-control:hover .w-nav-icon>div:after { width: 50%; transition: all 0.3s ease-in-out; } .w-nav-control.active:hover .w-nav-icon>div:after…Continue reading

Custom Scrollbar

*::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); border-radius: 10px; background-color: var(–color-content-secondary); } *::-webkit-scrollbar { width: 1rem; background-color: var(–color-content-secondary); } *::-webkit-scrollbar-thumb { border-radius: 1.5rem; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: var(–color-content-primary); }Continue reading

Hide Admins from being tracked

/** * Start Tracking Tags **/ function hook_gtm_header() { if( !current_user_can(‘administrator’) && !current_user_can( ‘author’ ) && !current_user_can( ‘editor’ ) ) { ?>Continue reading

Reorder dashboard navigation

/** * Bring the order page to the front of the product page * * @param array $pages The pages. */ function add_test_page_nav( $pages ) { $order_page = array(); if ( isset( $pages[‘order’] ) ) { $order_page = $pages[‘order’]; unset(…Continue reading

Remove #listItem from Breadcrumb schema

add_filter(‘aioseo_schema_output’, ‘aioseo_schema_remove_list_item’); // Callback function to remove ‘#listItem’ from URLs in BreadcrumbList function aioseo_schema_remove_list_item($graphs) { // Loop through each element in the array foreach ($graphs as $index => $value) { // Check if the key ‘@type’ is set and its…Continue reading