Skip to content

Instantly share code, notes, and snippets.

View wowthemesnet's full-sized avatar

WowThemes.net wowthemesnet

View GitHub Profile
@wowthemesnet
wowthemesnet / bootstrap.js
Last active November 29, 2017 15:38
Bootstrap v4.0.0-alpha.6 without Tether
/*!
* Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Bootstrap without Tether modified (https://wowthemes.net)
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
@wowthemesnet
wowthemesnet / MultiSite htaccess default (if you installed before 3.5)
Created September 16, 2017 11:18
MultiSite htaccess default (if you installed before 3.5)
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
@wowthemesnet
wowthemesnet / Asher Theme - Modal Button
Created June 25, 2015 20:29
Place modal button where you want it to appear in theme
<!-- MODAL BUTTON BEGIN-->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button>
<!-- MODAL BUTTON END-->
@wowthemesnet
wowthemesnet / Asher Theme - Modal Window
Created June 25, 2015 20:25
Fix issue - bootstrap modal hidden behind the backdrop
<!-- MODAL WINDOW BEGIN-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
...
</div>
</div>
</div>
<!-- MODAL WINDOW END-->