This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Scroll the area below and watch the navigation update. The dropdown sub items will be highlighted as well.--> | |
| <div class="navbar navbar-fixed-top"> | |
| <div class="navbar-inner"> | |
| <div class="container"> | |
| <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| </a> | |
| <a class="brand" href="./index.html">Bootstrap</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- ScrollSpy with custom background color --> | |
| <div class="navbar navbar-fixed-top"> | |
| <div class="navbar" style="background-color:#4E7E79;"> | |
| <div class="container"> | |
| <a class="brand" href="./index.html">LogoName</a> | |
| <div class="nav-collapse collapse"> | |
| <ul class="nav"> | |
| <li class=""> | |
| <a href="./#.html">Menu1</a> | |
| </li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#" class="btn btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">hover for popover</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import markdown in InDesign | |
| #source : https://github.com/ambroisemaupate/indesign-scripts/blob/master/markdown.jsx | |
| #target indesign; | |
| main(); | |
| function fuzzyIndex(list, string) { | |
| for(var i = 0; i < list.length; i++) { | |
| if(list[i].indexOf(string) != -1) { | |
| return i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'origin_byline', 'my_byline' ); | |
| function my_byline( $byline ) { | |
| $byline = '<div class="byline">' . __( 'Article by [entry-author] - [entry-comments-link]', 'origin' ) . '</div>'; | |
| return $byline; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Template Name: blog | |
| * | |
| * A custom page template for displaying blog archives. | |
| * | |
| * @package Hatch Pro | |
| * @subpackage Template | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Usage: | |
| * Paste a gist link into a blog post or page and it will be embedded eg: | |
| * https://gist.github.com/2926827 | |
| * | |
| * If a gist has multiple files you can select one using a url in the following format: | |
| * https://gist.github.com/2926827?file=embed-gist.php | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Genbu Table Of Content Shortcode | |
| * use [gtoc] to generate shortcode | |
| * | |
| * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | |
| * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| * | |
| * Based on (credit) : | |
| * WP TOC by Brendon Boshell http://infinity-infinity.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Sticky Custom Post Types | |
| Plugin URI: http://superann.com/sticky-custom-post-types/ | |
| Description: Enables support for sticky custom post types. Set options in Settings → Reading. | |
| Version: 1.2.2 | |
| Author: Ann Oyama | |
| Author URI: http://superann.com | |
| License: GPL2 |