Skip to content

Instantly share code, notes, and snippets.

View actual-saurabh's full-sized avatar
💭
I may be slow to respond.

Saurabh Shukla actual-saurabh

💭
I may be slow to respond.
View GitHub Profile
@thomasplevy
thomasplevy / llms-reporting-custom-col.php
Created April 25, 2018 16:29
add access plan column to course student list
<?php // don't copy this line
/**
* Output data for a custom column on the student reporting table/export
* @param string $value default value being output
* @param string $key name of the custom field being output
* @param obj $student LLMS_Student for the row
* @param string $context output context "display" or "export"
* @param obj $table instance of the LLMS_Table_Course_Students
* @return mixed
*/
@tpkemme
tpkemme / lifterlms-custom-profile-fields.php
Last active May 4, 2018 13:18
Custom Fields added to LifterLMS Registration/Checkout
<?php // don't copy this line to your functions.php file
/**
*
* Create Company Industry as a custom field upon registration or checkout
*
* @param $fields - fields already being registered
* @param $screen - either checkout or registration screen
* @return $fields - array with added field
*/
function add_company_industry_lifterlms ( $fields , $screen ) {
@jeffgolenski
jeffgolenski / WordPress Comment Styling SCSS
Last active October 19, 2022 14:25
SCSS WordPress Comment Styles. Based on the WordPress threaded comments CSS over at css-tricks.com, I created this nested SCSS. It's basic, simple, and clean. Quickly copy, paste, and style away! Original CSS located at: http://css-tricks.com/snippets/wordpress/base-threaded-comments-styling/
/* =========================================================
Comments
========================================================= */
ol.commentlist {
list-style:none;
margin:0 0 1em;
padding:0;
text-indent:0;