Skip to content

Instantly share code, notes, and snippets.

View karrirasinmaki's full-sized avatar

Karri Rasinmäki karrirasinmaki

  • Helsinki, Finland
View GitHub Profile
@karrirasinmaki
karrirasinmaki / LESS mixin for CSS arrow
Last active April 27, 2017 16:17 — forked from julienchazal/LESS mixin for CSS arrow
LESS mixin for CSS arrow
/* ------------------------ */
/* LESS mixin for CSS arrow */
/* ------------------------ */
/* https://github.com/HugoGiraudel/LESS-Mixin-for-CSS-arrows
Source: https://gist.github.com/karrirasinmaki/f5b665461e78ef76758cd7007a40cd25
Original source: https://gist.github.com/julienchazal/11044351
//Usage
<?php
class comment_walker extends Walker_Comment {
var $tree_type = 'comment';
var $db_fields = array( 'parent' => 'comment_parent', 'id' => 'comment_ID' );
// constructor – wrapper for the comments list
function __construct() { ?>
<section class="comments-list">