Add a custum post type for testimonails in WordPress.
This includes Advanced Custom Fields field groups for some extra fields.
Create a directory to store all files.
<?php | |
/* | |
* WordPress: Page Post Screen Columns | |
* | |
* To add a custom column for pages, hook the manage_pages_columns filter. | |
*/ | |
define("SHOW_ICON", true); | |
if (SHOW_ICON) { | |
/* |
.logo { | |
svg { | |
.cls-1{ | |
fill:none; | |
stroke: get-color('primary'); | |
} | |
.cls-2{ | |
fill: get-color('primary'); | |
} | |
} |
$darken-scale: 10%; | |
$topbar-color: $white; | |
$topbar-font-family: $body-font-family; | |
$topbar-font-weight: $global-weight-normal; | |
$topbar-bg-color: $primary-color; | |
$active-link-color: $topbar-color; | |
$active-link-bg-color: darken($topbar-bg-color, $darken-scale);// default is transparent | |
$active-link-hover-color: $topbar-bg-color; | |
$topbar-menu-border-type: none; | |
$topbar-menu-border-color: transparent; |
/** ref: http://dimsemenov.com/plugins/magnific-popup/ */ | |
jQuery(document).ready(function ($) { | |
var small=''; | |
if (typeof site !== 'undefined') { | |
small = '<small>'+site.name+' - '+site.description+'</small>'; | |
} | |
$('.lightbox-gallery').each(function() { // the containers for all your galleries | |
$(this).magnificPopup({ | |
delegate: 'a.lightbox', // the selector for gallery item | |
type: 'image', |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This gist shows how you can add your own custom colors to the Zurb Foundation color palette.
They new colors can then be used to create custom buttons. The color sass variable is also avaliable using the get-color()
function.