Skip to content

Instantly share code, notes, and snippets.

@Uranbold
Uranbold / country-shortcode.php
Created January 8, 2021 10:40 — forked from MatthewEppelsheimer/country-shortcode.php
WP Contact Form 7 shortcode with list of Countries
<?php
/*
Localizations:
- [Spanish](https://gist.github.com/MatthewEppelsheimer/1498955#gistcomment-3317461) props @chdgp
UPDATED: 2020-03-09
@Uranbold
Uranbold / mn_aimag_hot_duureg_horoo.sql
Created December 15, 2020 08:28 — forked from anonymous/mn_aimag_hot_duureg_horoo.sql
Монгол улсын хот, аймаг, дүүрэг, хороодын мэдээллийн бааз. By Анхаа Анхбаяр
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version 5.5.16
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@Uranbold
Uranbold / Woocommerce Disable Fragments AJAX
Created April 26, 2018 10:07
Need to disable it because the Pingdom Tools test has shown Empty Ajax Requests
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_cart_fragments', 11); function dequeue_woocommerce_cart_fragments() { if (is_front_page()) wp_dequeue_script('wc-cart-fragments'); }
@Uranbold
Uranbold / swiperinit.html
Created November 8, 2017 05:27 — forked from AminulBD/swiperinit.html
Swiper Initialization with data attribute and Animate.css integrate
<div id="content-carousel" class="content-carousel-widget" data-carousel="swiper">
<!--
You can use: data-items="5" for total items display in single page
data-autoplay="true" or "false" for autoplay.
data-loop="true" or "false" for looping the carousel
data-effect="fade" or "cube" for slide changing effects
data-direction="horizontal" or "vertical" for sliding direction
data-initlal="3" for for first active slide
data-center="true" or "false" for centerize slider
-->