Skip to content

Instantly share code, notes, and snippets.

View otundra's full-sized avatar

Otundra otundra

View GitHub Profile
@cinghaman
cinghaman / gist:008e4874ed4ceb33fd3f
Created March 26, 2016 15:51
Trying to convert bootstrap wp-navwalker to have a accordion menu instead of dropdwn line 24 and 85 needs to be dynamic
<?php
/**
* Class Name: wp_bootstrap_navwalker
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
* Description: A custom WordPress nav walker class to implement the Bootstrap 3 navigation style in a custom theme using the WordPress built in menu manager.
* Version: 2.0.4
* Author: Edward McIntyre - @twittem
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@drewm
drewm / mixed_article.html
Created February 10, 2015 17:13
Perch 2.8 Blocks template example
<perch:blocks>
<perch:before>
<div class="row">
<div class="col-md-6 col-md-offset-3">
</perch:before>
<perch:block type="text" label="Text">
<perch:content id="text" type="textarea" markdown="true" editor="markitup" size="s" label="Text" />
</perch:block>