This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
$wp_customize->add_section( 'cd_colors' , array( | |
'title' => 'Colors', | |
'priority' => 30, | |
) ); |
A Pen by RahulDhiman on CodePen.
// Dependencies | |
// - https://github.com/carolineschnapp/currencies | |
// Don't change currency if Cookie has been already set | |
if (Currency.cookie.read() == null) { | |
jQuery.ajax( { | |
url: '//freegeoip.net/json/', | |
type: 'GET', | |
dataType: 'jsonp', |
<?php | |
/* | |
Plugin Name: Custom Taxonomy DropDown | |
Author: Hameedullah Khan | |
Aurhot URI: http://hameedullah.com | |
*/ | |
// change this to your taxonomy | |
$brand_taxonomy = 'category'; |