Skip to content

Instantly share code, notes, and snippets.

@davewarfel
davewarfel / expand-learndash-course-nav-widget-lessons.css
Last active March 31, 2021 16:42
(For LearnDash 2.x. Does not work with LearnDash 3.0+.) Auto-Expand Lessons in LearnDash Course Navigation Widget
/**
* This code will do two things:
*
* 1. Expand the topics (beneath each lesson) in the LearnDash
* course navigation widget.
*
* 2. Hide the arrow that allows lessons to be expanded/collapsed.
*
* NOTE: Be careful using this if you have a large number of lessons and/or topics.
* It could make for a REALLY long sidebar.
@davewarfel
davewarfel / default-wordpress-blocks-sass.scss
Last active November 8, 2023 11:31
WordPress Blocks Styles - Cleaned Up, Commented & Sassified
/**
* WordPress Blocks
*
* Default block styling included with WordPress core.
* Provides a better starting point for WordPress theme developers,
* especially when using Sass.
*
* @link https://github.com/WordPress/WordPress/blob/master/wp-includes/css/dist/block-library/style.css
*
* Most styles from the above file are included.