Skip to content

Instantly share code, notes, and snippets.

View ImShuvo's full-sized avatar
🏠
Working from home

Najmul Hasan ImShuvo

🏠
Working from home
  • Bangladesh
View GitHub Profile
@bradtraversy
bradtraversy / docker_wordpress.md
Last active June 3, 2024 07:17
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

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
@danielpataki
danielpataki / add-section.php
Last active February 5, 2021 09:32
Customizer Tutorial
$wp_customize->add_section( 'cd_colors' , array(
'title' => 'Colors',
'priority' => 30,
) );
@CodeMyUI
CodeMyUI / cube-service-box.markdown
Created November 4, 2016 04:02
cube service box
@chrisgrabinski
chrisgrabinski / shopify-auto-currencies-switcher.js
Last active January 16, 2023 20:04
(Shopify) Automatically change a shop's currency based on the customer's geolocation
// 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',
@hameedullah
hameedullah / customtaxonomydropdown.php
Created May 28, 2011 23:50
Custom Taxonomy drop downs for parents and child
<?php
/*
Plugin Name: Custom Taxonomy DropDown
Author: Hameedullah Khan
Aurhot URI: http://hameedullah.com
*/
// change this to your taxonomy
$brand_taxonomy = 'category';