--
-- Host: localhost    Database: icreated_snippets
-- ------------------------------------------------------


--
-- Table structure for table `wp_commentmeta`
--

CREATE TABLE `wp_commentmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `comment_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`meta_id`),
  KEY `comment_id` (`comment_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_commentmeta`
--


--
-- Table structure for table `wp_comments`
--

CREATE TABLE `wp_comments` (
  `comment_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `comment_post_ID` bigint(20) unsigned NOT NULL DEFAULT '0',
  `comment_author` tinytext COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment_author_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_author_url` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_author_IP` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment_karma` int(11) NOT NULL DEFAULT '0',
  `comment_approved` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `comment_agent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
  `user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`comment_ID`),
  KEY `comment_post_ID` (`comment_post_ID`),
  KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`),
  KEY `comment_date_gmt` (`comment_date_gmt`),
  KEY `comment_parent` (`comment_parent`),
  KEY `comment_author_email` (`comment_author_email`(10))
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_comments`
--

INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES (1,1,'Mr WordPress','','https://wordpress.org/','','2016-07-25 23:48:18','2016-07-25 23:48:18','Hi, this is a comment.\nTo delete a comment, just log in and view the post&#039;s comments. There you will have the option to edit or delete them.',0,'1','','',0,0);

--
-- Table structure for table `wp_facetwp_index`
--

CREATE TABLE `wp_facetwp_index` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_id` int(10) unsigned DEFAULT NULL,
  `facet_name` varchar(255) DEFAULT NULL,
  `facet_source` varchar(255) DEFAULT NULL,
  `facet_value` text,
  `facet_display_value` text,
  `term_id` int(10) unsigned DEFAULT '0',
  `parent_id` int(10) unsigned DEFAULT '0',
  `depth` int(10) unsigned DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `facet_name_idx` (`facet_name`),
  KEY `facet_source_idx` (`facet_source`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_facetwp_index`
--

INSERT INTO `wp_facetwp_index` (`id`, `post_id`, `facet_name`, `facet_source`, `facet_value`, `facet_display_value`, `term_id`, `parent_id`, `depth`) VALUES (1,12,'cat','tax/snippet-category','php','PHP',4,0,0),(2,10,'cat','tax/snippet-category','forms','Forms',7,4,1),(3,8,'cat','tax/snippet-category','seo','SEO',6,4,1),(4,8,'cat','tax/snippet-category','tinymce','TinyMCE',5,4,1),(5,6,'cat','tax/snippet-category','php','PHP',4,0,0),(6,4,'cat','tax/snippet-category','css','CSS',2,0,0),(7,4,'cat','tax/snippet-category','navigation','Navigation',3,2,1);

--
-- Table structure for table `wp_links`
--

CREATE TABLE `wp_links` (
  `link_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_target` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_visible` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y',
  `link_owner` bigint(20) unsigned NOT NULL DEFAULT '1',
  `link_rating` int(11) NOT NULL DEFAULT '0',
  `link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `link_rel` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `link_notes` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_rss` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`link_id`),
  KEY `link_visible` (`link_visible`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_links`
--


--
-- Table structure for table `wp_options`
--

CREATE TABLE `wp_options` (
  `option_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`option_id`),
  UNIQUE KEY `option_name` (`option_name`),
  KEY `autoload` (`autoload`)
) ENGINE=MyISAM AUTO_INCREMENT=3977 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_options`
--

INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES (1,'siteurl','http://icreatedev.com.au/snippets','yes'),(2,'home','http://icreatedev.com.au/snippets','yes'),(3,'blogname','iCreate Snippets','yes'),(4,'blogdescription','','yes'),(5,'users_can_register','0','yes'),(6,'admin_email','dev@icreatesolutions.com.au','yes'),(7,'start_of_week','1','yes'),(8,'use_balanceTags','0','yes'),(9,'use_smilies','1','yes'),(10,'require_name_email','1','yes'),(11,'comments_notify','1','yes'),(12,'posts_per_rss','10','yes'),(13,'rss_use_excerpt','0','yes'),(14,'mailserver_url','mail.example.com','yes'),(15,'mailserver_login','login@example.com','yes'),(16,'mailserver_pass','password','yes'),(17,'mailserver_port','110','yes'),(18,'default_category','1','yes'),(19,'default_comment_status','open','yes'),(20,'default_ping_status','open','yes'),(21,'default_pingback_flag','1','yes'),(22,'posts_per_page','10','yes'),(23,'date_format','F j, Y','yes'),(24,'time_format','g:i a','yes'),(25,'links_updated_date_format','F j, Y g:i a','yes'),(26,'comment_moderation','0','yes'),(27,'moderation_notify','1','yes'),(28,'permalink_structure','/%postname%/','yes'),(29,'rewrite_rules','a:121:{s:7:\"search$\";s:18:\"index.php?&sfid=16\";s:11:\"^wp-json/?$\";s:22:\"index.php?rest_route=/\";s:14:\"^wp-json/(.*)?\";s:33:\"index.php?rest_route=/$matches[1]\";s:21:\"^index.php/wp-json/?$\";s:22:\"index.php?rest_route=/\";s:24:\"^index.php/wp-json/(.*)?\";s:33:\"index.php?rest_route=/$matches[1]\";s:10:\"snippet/?$\";s:27:\"index.php?post_type=snippet\";s:40:\"snippet/feed/(feed|rdf|rss|rss2|atom)/?$\";s:44:\"index.php?post_type=snippet&feed=$matches[1]\";s:35:\"snippet/(feed|rdf|rss|rss2|atom)/?$\";s:44:\"index.php?post_type=snippet&feed=$matches[1]\";s:27:\"snippet/page/([0-9]{1,})/?$\";s:45:\"index.php?post_type=snippet&paged=$matches[1]\";s:47:\"category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:42:\"category/(.+?)/(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:23:\"category/(.+?)/embed/?$\";s:46:\"index.php?category_name=$matches[1]&embed=true\";s:35:\"category/(.+?)/page/?([0-9]{1,})/?$\";s:53:\"index.php?category_name=$matches[1]&paged=$matches[2]\";s:17:\"category/(.+?)/?$\";s:35:\"index.php?category_name=$matches[1]\";s:44:\"tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?tag=$matches[1]&feed=$matches[2]\";s:39:\"tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?tag=$matches[1]&feed=$matches[2]\";s:20:\"tag/([^/]+)/embed/?$\";s:36:\"index.php?tag=$matches[1]&embed=true\";s:32:\"tag/([^/]+)/page/?([0-9]{1,})/?$\";s:43:\"index.php?tag=$matches[1]&paged=$matches[2]\";s:14:\"tag/([^/]+)/?$\";s:25:\"index.php?tag=$matches[1]\";s:45:\"type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?post_format=$matches[1]&feed=$matches[2]\";s:40:\"type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?post_format=$matches[1]&feed=$matches[2]\";s:21:\"type/([^/]+)/embed/?$\";s:44:\"index.php?post_format=$matches[1]&embed=true\";s:33:\"type/([^/]+)/page/?([0-9]{1,})/?$\";s:51:\"index.php?post_format=$matches[1]&paged=$matches[2]\";s:15:\"type/([^/]+)/?$\";s:33:\"index.php?post_format=$matches[1]\";s:35:\"snippet/[^/]+/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:45:\"snippet/[^/]+/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:65:\"snippet/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:60:\"snippet/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:60:\"snippet/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:41:\"snippet/[^/]+/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:24:\"snippet/([^/]+)/embed/?$\";s:40:\"index.php?snippet=$matches[1]&embed=true\";s:28:\"snippet/([^/]+)/trackback/?$\";s:34:\"index.php?snippet=$matches[1]&tb=1\";s:48:\"snippet/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:46:\"index.php?snippet=$matches[1]&feed=$matches[2]\";s:43:\"snippet/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:46:\"index.php?snippet=$matches[1]&feed=$matches[2]\";s:36:\"snippet/([^/]+)/page/?([0-9]{1,})/?$\";s:47:\"index.php?snippet=$matches[1]&paged=$matches[2]\";s:43:\"snippet/([^/]+)/comment-page-([0-9]{1,})/?$\";s:47:\"index.php?snippet=$matches[1]&cpage=$matches[2]\";s:32:\"snippet/([^/]+)(?:/([0-9]+))?/?$\";s:46:\"index.php?snippet=$matches[1]&page=$matches[2]\";s:24:\"snippet/[^/]+/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:34:\"snippet/[^/]+/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:54:\"snippet/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:49:\"snippet/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:49:\"snippet/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:30:\"snippet/[^/]+/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:57:\"snippet-category/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:55:\"index.php?snippet-category=$matches[1]&feed=$matches[2]\";s:52:\"snippet-category/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:55:\"index.php?snippet-category=$matches[1]&feed=$matches[2]\";s:33:\"snippet-category/([^/]+)/embed/?$\";s:49:\"index.php?snippet-category=$matches[1]&embed=true\";s:45:\"snippet-category/([^/]+)/page/?([0-9]{1,})/?$\";s:56:\"index.php?snippet-category=$matches[1]&paged=$matches[2]\";s:27:\"snippet-category/([^/]+)/?$\";s:38:\"index.php?snippet-category=$matches[1]\";s:52:\"snippet-tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?snippet-tag=$matches[1]&feed=$matches[2]\";s:47:\"snippet-tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?snippet-tag=$matches[1]&feed=$matches[2]\";s:28:\"snippet-tag/([^/]+)/embed/?$\";s:44:\"index.php?snippet-tag=$matches[1]&embed=true\";s:40:\"snippet-tag/([^/]+)/page/?([0-9]{1,})/?$\";s:51:\"index.php?snippet-tag=$matches[1]&paged=$matches[2]\";s:22:\"snippet-tag/([^/]+)/?$\";s:33:\"index.php?snippet-tag=$matches[1]\";s:48:\".*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\.php$\";s:18:\"index.php?feed=old\";s:20:\".*wp-app\\.php(/.*)?$\";s:19:\"index.php?error=403\";s:18:\".*wp-register.php$\";s:23:\"index.php?register=true\";s:32:\"feed/(feed|rdf|rss|rss2|atom)/?$\";s:27:\"index.php?&feed=$matches[1]\";s:27:\"(feed|rdf|rss|rss2|atom)/?$\";s:27:\"index.php?&feed=$matches[1]\";s:8:\"embed/?$\";s:21:\"index.php?&embed=true\";s:20:\"page/?([0-9]{1,})/?$\";s:28:\"index.php?&paged=$matches[1]\";s:27:\"comment-page-([0-9]{1,})/?$\";s:38:\"index.php?&page_id=2&cpage=$matches[1]\";s:41:\"comments/feed/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?&feed=$matches[1]&withcomments=1\";s:36:\"comments/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?&feed=$matches[1]&withcomments=1\";s:17:\"comments/embed/?$\";s:21:\"index.php?&embed=true\";s:44:\"search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:40:\"index.php?s=$matches[1]&feed=$matches[2]\";s:39:\"search/(.+)/(feed|rdf|rss|rss2|atom)/?$\";s:40:\"index.php?s=$matches[1]&feed=$matches[2]\";s:20:\"search/(.+)/embed/?$\";s:34:\"index.php?s=$matches[1]&embed=true\";s:32:\"search/(.+)/page/?([0-9]{1,})/?$\";s:41:\"index.php?s=$matches[1]&paged=$matches[2]\";s:14:\"search/(.+)/?$\";s:23:\"index.php?s=$matches[1]\";s:47:\"author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?author_name=$matches[1]&feed=$matches[2]\";s:42:\"author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?author_name=$matches[1]&feed=$matches[2]\";s:23:\"author/([^/]+)/embed/?$\";s:44:\"index.php?author_name=$matches[1]&embed=true\";s:35:\"author/([^/]+)/page/?([0-9]{1,})/?$\";s:51:\"index.php?author_name=$matches[1]&paged=$matches[2]\";s:17:\"author/([^/]+)/?$\";s:33:\"index.php?author_name=$matches[1]\";s:69:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:80:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]\";s:64:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$\";s:80:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]\";s:45:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$\";s:74:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true\";s:57:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$\";s:81:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]\";s:39:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$\";s:63:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]\";s:56:\"([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:64:\"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]\";s:51:\"([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$\";s:64:\"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]\";s:32:\"([0-9]{4})/([0-9]{1,2})/embed/?$\";s:58:\"index.php?year=$matches[1]&monthnum=$matches[2]&embed=true\";s:44:\"([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$\";s:65:\"index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]\";s:26:\"([0-9]{4})/([0-9]{1,2})/?$\";s:47:\"index.php?year=$matches[1]&monthnum=$matches[2]\";s:43:\"([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?year=$matches[1]&feed=$matches[2]\";s:38:\"([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?year=$matches[1]&feed=$matches[2]\";s:19:\"([0-9]{4})/embed/?$\";s:37:\"index.php?year=$matches[1]&embed=true\";s:31:\"([0-9]{4})/page/?([0-9]{1,})/?$\";s:44:\"index.php?year=$matches[1]&paged=$matches[2]\";s:13:\"([0-9]{4})/?$\";s:26:\"index.php?year=$matches[1]\";s:27:\".?.+?/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:37:\".?.+?/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:57:\".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:33:\".?.+?/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:16:\"(.?.+?)/embed/?$\";s:41:\"index.php?pagename=$matches[1]&embed=true\";s:20:\"(.?.+?)/trackback/?$\";s:35:\"index.php?pagename=$matches[1]&tb=1\";s:40:\"(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:47:\"index.php?pagename=$matches[1]&feed=$matches[2]\";s:35:\"(.?.+?)/(feed|rdf|rss|rss2|atom)/?$\";s:47:\"index.php?pagename=$matches[1]&feed=$matches[2]\";s:28:\"(.?.+?)/page/?([0-9]{1,})/?$\";s:48:\"index.php?pagename=$matches[1]&paged=$matches[2]\";s:35:\"(.?.+?)/comment-page-([0-9]{1,})/?$\";s:48:\"index.php?pagename=$matches[1]&cpage=$matches[2]\";s:24:\"(.?.+?)(?:/([0-9]+))?/?$\";s:47:\"index.php?pagename=$matches[1]&page=$matches[2]\";s:27:\"[^/]+/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:37:\"[^/]+/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:57:\"[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\"[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\"[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:33:\"[^/]+/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:16:\"([^/]+)/embed/?$\";s:37:\"index.php?name=$matches[1]&embed=true\";s:20:\"([^/]+)/trackback/?$\";s:31:\"index.php?name=$matches[1]&tb=1\";s:40:\"([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?name=$matches[1]&feed=$matches[2]\";s:35:\"([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?name=$matches[1]&feed=$matches[2]\";s:28:\"([^/]+)/page/?([0-9]{1,})/?$\";s:44:\"index.php?name=$matches[1]&paged=$matches[2]\";s:35:\"([^/]+)/comment-page-([0-9]{1,})/?$\";s:44:\"index.php?name=$matches[1]&cpage=$matches[2]\";s:24:\"([^/]+)(?:/([0-9]+))?/?$\";s:43:\"index.php?name=$matches[1]&page=$matches[2]\";s:16:\"[^/]+/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:26:\"[^/]+/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:46:\"[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:41:\"[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:41:\"[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:22:\"[^/]+/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";}','yes'),(30,'hack_file','0','yes'),(31,'blog_charset','UTF-8','yes'),(32,'moderation_keys','','no'),(33,'active_plugins','a:6:{i:0;s:31:\"query-monitor/query-monitor.php\";i:1;s:51:\"category-checklist-tree/category-checklist-tree.php\";i:2;s:45:\"crayon-syntax-highlighter/crayon_wp.class.php\";i:3;s:43:\"icreate-snippet-cpt/icreate-snippet-cpt.php\";i:4;s:39:\"search-filter-pro/search-filter-pro.php\";i:5;s:32:\"wp-sync-db-master/wp-sync-db.php\";}','yes'),(34,'category_base','','yes'),(35,'ping_sites','http://rpc.pingomatic.com/','yes'),(36,'comment_max_links','2','yes'),(37,'gmt_offset','','yes'),(38,'default_email_category','1','yes'),(39,'recently_edited','','no'),(40,'template','twentyfifteen','yes'),(41,'stylesheet','twentyfifteen','yes'),(42,'comment_whitelist','1','yes'),(43,'blacklist_keys','','no'),(44,'comment_registration','0','yes'),(45,'html_type','text/html','yes'),(46,'use_trackback','0','yes'),(47,'default_role','subscriber','yes'),(48,'db_version','47018','yes'),(49,'uploads_use_yearmonth_folders','1','yes'),(50,'upload_path','','yes'),(51,'blog_public','0','yes'),(52,'default_link_category','2','yes'),(53,'show_on_front','page','yes'),(54,'tag_base','','yes'),(55,'show_avatars','1','yes'),(56,'avatar_rating','G','yes'),(57,'upload_url_path','','yes'),(58,'thumbnail_size_w','150','yes'),(59,'thumbnail_size_h','150','yes'),(60,'thumbnail_crop','1','yes'),(61,'medium_size_w','300','yes'),(62,'medium_size_h','300','yes'),(63,'avatar_default','mystery','yes'),(64,'large_size_w','1024','yes'),(65,'large_size_h','1024','yes'),(66,'image_default_link_type','none','yes'),(67,'image_default_size','','yes'),(68,'image_default_align','','yes'),(69,'close_comments_for_old_posts','0','yes'),(70,'close_comments_days_old','14','yes'),(71,'thread_comments','1','yes'),(72,'thread_comments_depth','5','yes'),(73,'page_comments','0','yes'),(74,'comments_per_page','50','yes'),(75,'default_comments_page','newest','yes'),(76,'comment_order','asc','yes'),(77,'sticky_posts','a:0:{}','yes'),(78,'widget_categories','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(79,'widget_text','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(80,'widget_rss','a:0:{}','yes'),(81,'uninstall_plugins','a:0:{}','no'),(82,'timezone_string','Australia/Brisbane','yes'),(83,'page_for_posts','0','yes'),(84,'page_on_front','2','yes'),(85,'default_post_format','0','yes'),(86,'link_manager_enabled','0','yes'),(87,'finished_splitting_shared_terms','1','yes'),(88,'site_icon','0','yes'),(89,'medium_large_size_w','768','yes'),(90,'medium_large_size_h','0','yes'),(91,'initial_db_version','36686','yes'),(92,'wp_user_roles','a:5:{s:13:\"administrator\";a:2:{s:4:\"name\";s:13:\"Administrator\";s:12:\"capabilities\";a:62:{s:13:\"switch_themes\";b:1;s:11:\"edit_themes\";b:1;s:16:\"activate_plugins\";b:1;s:12:\"edit_plugins\";b:1;s:10:\"edit_users\";b:1;s:10:\"edit_files\";b:1;s:14:\"manage_options\";b:1;s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:6:\"import\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:8:\"level_10\";b:1;s:7:\"level_9\";b:1;s:7:\"level_8\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;s:12:\"delete_users\";b:1;s:12:\"create_users\";b:1;s:17:\"unfiltered_upload\";b:1;s:14:\"edit_dashboard\";b:1;s:14:\"update_plugins\";b:1;s:14:\"delete_plugins\";b:1;s:15:\"install_plugins\";b:1;s:13:\"update_themes\";b:1;s:14:\"install_themes\";b:1;s:11:\"update_core\";b:1;s:10:\"list_users\";b:1;s:12:\"remove_users\";b:1;s:13:\"promote_users\";b:1;s:18:\"edit_theme_options\";b:1;s:13:\"delete_themes\";b:1;s:6:\"export\";b:1;s:18:\"view_query_monitor\";b:1;}}s:6:\"editor\";a:2:{s:4:\"name\";s:6:\"Editor\";s:12:\"capabilities\";a:34:{s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;}}s:6:\"author\";a:2:{s:4:\"name\";s:6:\"Author\";s:12:\"capabilities\";a:10:{s:12:\"upload_files\";b:1;s:10:\"edit_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;s:22:\"delete_published_posts\";b:1;}}s:11:\"contributor\";a:2:{s:4:\"name\";s:11:\"Contributor\";s:12:\"capabilities\";a:5:{s:10:\"edit_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;}}s:10:\"subscriber\";a:2:{s:4:\"name\";s:10:\"Subscriber\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:7:\"level_0\";b:1;}}}','yes'),(93,'widget_search','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(94,'widget_recent-posts','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(95,'widget_recent-comments','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(96,'widget_archives','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(97,'widget_meta','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(98,'sidebars_widgets','a:3:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:1:{i:0;s:31:\"search_filter_register_widget-2\";}s:13:\"array_version\";i:3;}','yes'),(99,'widget_pages','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(100,'widget_calendar','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(101,'widget_tag_cloud','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(102,'widget_nav_menu','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(103,'cron','a:8:{i:1647020978;a:1:{s:34:\"wp_privacy_delete_old_export_files\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"hourly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:3600;}}}i:1647038977;a:1:{s:32:\"recovery_mode_clean_expired_keys\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1647039008;a:1:{s:25:\"delete_expired_transients\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1647042500;a:3:{s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:16:\"wp_update_themes\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}i:1647042596;a:1:{s:19:\"wp_scheduled_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1647043500;a:1:{s:30:\"wp_scheduled_auto_draft_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1647577545;a:1:{s:30:\"wp_site_health_scheduled_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"weekly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:604800;}}}s:7:\"version\";i:2;}','yes'),(128,'WPLANG','','yes'),(134,'recently_activated','a:0:{}','yes'),(144,'syntaxhighlighter_settings','a:15:{s:9:\"shversion\";i:3;s:5:\"theme\";s:7:\"default\";s:6:\"gutter\";i:1;s:9:\"autolinks\";i:1;s:9:\"smarttabs\";i:1;s:9:\"wraplines\";i:1;s:9:\"classname\";s:0:\"\";s:9:\"firstline\";i:1;s:14:\"padlinenumbers\";s:5:\"false\";s:7:\"tabsize\";i:4;s:5:\"title\";s:0:\"\";s:14:\"loadallbrushes\";i:0;s:8:\"collapse\";i:0;s:5:\"light\";i:0;s:7:\"toolbar\";i:0;}','yes'),(158,'facetwp_settings','{\"facets\":[{\"label\":\"Cat\",\"name\":\"cat\",\"type\":\"checkboxes\",\"source\":\"tax\\/snippet-category\",\"parent_term\":\"\",\"orderby\":\"count\",\"operator\":\"and\",\"hierarchical\":\"yes\",\"ghosts\":\"yes\",\"preserve_ghosts\":\"no\",\"count\":\"10\"},{\"label\":\"Text Search\",\"name\":\"text_search\",\"type\":\"search\",\"search_engine\":\"\",\"placeholder\":\"\"}],\"templates\":[{\"label\":\"Snippet Search\",\"name\":\"snippet_search\",\"query\":\"<?php\\nreturn array(\\n    \'post_type\' => \'snippet\',\\n    \'posts_per_page\' => 15,\\n);\",\"template\":\"<?php while ( have_posts() ) : the_post(); ?>\\n    <h2><a href=\\\"<?php the_permalink(); ?>\\\"><?php the_title(); ?><\\/a><\\/h2>\\n    <div class=\\\"snippet-body\\\"><?php the_content(); ?><\\/div>\\n<?php endwhile; ?>\"}],\"settings\":{\"permalink_type\":\"get\",\"thousands_separator\":\",\",\"decimal_separator\":\".\"}}','yes'),(159,'facetwp_version','2.2.7','yes'),(165,'facetwp_transients','','yes'),(166,'theme_mods_twentysixteen','a:1:{s:16:\"sidebars_widgets\";a:2:{s:4:\"time\";i:1469494848;s:4:\"data\";a:4:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:1:{i:0;s:6:\"text-2\";}s:9:\"sidebar-2\";a:0:{}s:9:\"sidebar-3\";a:0:{}}}}','yes'),(167,'current_theme','Twenty Fifteen','yes'),(168,'theme_switched','','yes'),(170,'widget_widget_twentyfourteen_ephemera','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(171,'theme_mods_twentyfourteen','a:1:{s:16:\"sidebars_widgets\";a:2:{s:4:\"time\";i:1469494887;s:4:\"data\";a:4:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:1:{i:0;s:6:\"text-2\";}s:9:\"sidebar-2\";N;s:9:\"sidebar-3\";N;}}}','yes'),(174,'facetwp_activation','{\"status\":\"error\",\"message\":\"The license does not exist\"}','yes'),(175,'widget_search_filter_register_widget','a:2:{i:2;a:2:{s:5:\"title\";s:15:\"Search Snippets\";s:6:\"formid\";s:2:\"16\";}s:12:\"_multiwidget\";i:1;}','yes'),(176,'search-filter-cache','a:12:{s:6:\"status\";s:8:\"finished\";s:11:\"last_update\";i:1469500826;s:7:\"restart\";b:0;s:10:\"cache_list\";a:0:{}s:18:\"current_post_index\";i:5;s:16:\"progress_percent\";d:100;s:6:\"locked\";b:0;s:11:\"error_count\";i:0;s:9:\"rc_status\";s:15:\"connect_success\";s:10:\"process_id\";i:0;s:12:\"caching_data\";a:2:{s:10:\"post_types\";a:1:{i:0;s:7:\"snippet\";}s:9:\"meta_keys\";a:0:{}}s:16:\"total_post_index\";i:5;}','no'),(180,'crayon_options','a:95:{s:5:\"theme\";s:7:\"classic\";s:7:\"preview\";b:1;s:15:\"enqueque-themes\";b:1;s:4:\"font\";s:6:\"monaco\";s:16:\"font-size-enable\";b:1;s:9:\"font-size\";i:12;s:11:\"line-height\";i:15;s:14:\"enqueque-fonts\";b:1;s:11:\"height-mode\";i:0;s:6:\"height\";s:3:\"500\";s:11:\"height-unit\";i:0;s:10:\"width-mode\";i:0;s:5:\"width\";s:3:\"500\";s:10:\"width-unit\";i:0;s:7:\"top-set\";b:1;s:10:\"top-margin\";i:12;s:10:\"bottom-set\";b:1;s:13:\"bottom-margin\";i:12;s:11:\"left-margin\";i:12;s:12:\"right-margin\";i:12;s:7:\"h-align\";i:0;s:13:\"inline-margin\";i:5;s:7:\"toolbar\";i:1;s:15:\"toolbar-overlay\";b:1;s:12:\"toolbar-hide\";b:1;s:13:\"toolbar-delay\";b:1;s:10:\"show-title\";b:1;s:9:\"show-lang\";i:0;s:7:\"striped\";b:1;s:7:\"marking\";b:1;s:6:\"ranges\";b:1;s:4:\"nums\";b:1;s:11:\"nums-toggle\";b:1;s:11:\"wrap-toggle\";b:1;s:10:\"start-line\";i:1;s:5:\"plain\";b:1;s:10:\"show-plain\";i:0;s:12:\"plain-toggle\";b:1;s:4:\"copy\";b:1;s:5:\"popup\";b:1;s:13:\"expand-toggle\";b:1;s:17:\"decode-attributes\";b:1;s:15:\"trim-whitespace\";b:1;s:13:\"trim-code-tag\";b:1;s:5:\"mixed\";b:1;s:10:\"show_mixed\";b:1;s:8:\"tab-size\";i:4;s:17:\"whitespace-before\";i:0;s:16:\"whitespace-after\";i:0;s:10:\"inline-tag\";b:1;s:11:\"inline-wrap\";b:1;s:21:\"code-tag-capture-type\";i:0;s:9:\"backquote\";b:1;s:11:\"capture-pre\";b:1;s:13:\"fallback-lang\";s:7:\"default\";s:10:\"local-path\";s:0:\"\";s:8:\"attr-sep\";i:0;s:21:\"tag-editor-front-hide\";b:1;s:26:\"tag-editor-button-add-text\";s:8:\"Add Code\";s:27:\"tag-editor-button-edit-text\";s:9:\"Edit Code\";s:31:\"tag-editor-quicktag-button-text\";s:6:\"crayon\";s:5:\"cache\";i:1;s:12:\"safe-enqueue\";b:1;s:8:\"comments\";b:1;s:11:\"touchscreen\";b:1;s:12:\"disable-date\";s:0:\"\";s:9:\"error-log\";b:1;s:13:\"error-log-sys\";b:1;s:14:\"error-msg-show\";b:1;s:9:\"error-msg\";s:46:\"An error has occurred. Please try again later.\";s:7:\"version\";s:11:\"_2.7.2_beta\";s:10:\"height-set\";b:0;s:9:\"width-set\";b:0;s:8:\"left-set\";b:0;s:9:\"right-set\";b:0;s:12:\"float-enable\";b:0;s:11:\"tab-convert\";b:0;s:6:\"scroll\";b:0;s:18:\"show-plain-default\";b:0;s:12:\"disable-anim\";b:0;s:7:\"runtime\";b:0;s:9:\"hide-help\";b:0;s:17:\"efficient-enqueue\";b:0;s:16:\"capture-mini-tag\";b:0;s:9:\"plain_tag\";b:0;s:10:\"main-query\";b:0;s:18:\"inline-tag-capture\";b:0;s:16:\"code-tag-capture\";b:0;s:6:\"decode\";b:0;s:13:\"excerpt-strip\";b:0;s:16:\"tag-editor-front\";b:0;s:4:\"wrap\";b:0;s:6:\"expand\";b:0;s:8:\"minimize\";b:0;s:13:\"delay-load-js\";b:0;}','yes'),(181,'crayon_posts','a:31:{i:0;i:12;i:1;i:10;i:2;i:6;i:3;i:4;i:4;i:8;i:5;i:31;i:6;i:34;i:7;i:38;i:8;i:44;i:9;i:49;i:10;i:51;i:11;i:54;i:12;i:60;i:13;i:62;i:14;i:65;i:15;i:69;i:16;i:72;i:17;i:76;i:18;i:82;i:19;i:86;i:20;i:90;i:21;i:92;i:22;i:97;i:23;i:102;i:24;i:106;i:25;i:109;i:26;i:113;i:27;i:118;i:28;i:121;i:29;i:126;i:30;i:131;}','yes'),(182,'crayon_legacy_posts','a:1:{i:0;i:69;}','yes'),(204,'wpsdb_settings','a:7:{s:11:\"max_request\";i:1048576;s:3:\"key\";s:32:\"LBGHeb6Q+WcmVg0r4EAvmsSmLzzqq8h8\";s:10:\"allow_pull\";b:1;s:10:\"allow_push\";b:1;s:8:\"profiles\";a:0:{}s:10:\"verify_ssl\";b:0;s:17:\"blacklist_plugins\";a:0:{}}','yes'),(203,'wpsdb_error_log','********************************************\n******  Log date: 2016/07/26 04:34:10 ******\n********************************************\n\nWPSDB Error: The connection succeeded but the remote site is configured to reject push connections. You can change this in the \"settings\" tab on the remote site. (#122) <a href=\"#\" class=\"try-again js-action-link\">Try again?</a>\n\nAttempted to connect to: http://icreatedev.com.au/snippets/wp-admin/admin-ajax.php\n\nArray\n(\n    [error] => 1\n    [message] => The connection succeeded but the remote site is configured to reject push connections. You can change this in the \"settings\" tab on the remote site. (#122) <a href=\"#\" class=\"try-again js-action-link\">Try again?</a>\n)\n\n\n********************************************\n******  Log date: 2016/07/26 04:34:20 ******\n********************************************\n\nWPSDB Error: The connection succeeded but the remote site is configured to reject push connections. You can change this in the \"settings\" tab on the remote site. (#122) <a href=\"#\" class=\"try-again js-action-link\">Try again?</a>\n\nAttempted to connect to: http://icreatedev.com.au/snippets/wp-admin/admin-ajax.php\n\nArray\n(\n    [error] => 1\n    [message] => The connection succeeded but the remote site is configured to reject push connections. You can change this in the \"settings\" tab on the remote site. (#122) <a href=\"#\" class=\"try-again js-action-link\">Try again?</a>\n)\n\n\n','yes'),(2359,'recovery_keys','a:0:{}','yes'),(3082,'_transient_health-check-site-status-result','{\"good\":8,\"recommended\":6,\"critical\":3}','yes'),(3974,'_site_transient_update_themes','O:8:\"stdClass\":4:{s:12:\"last_checked\";i:1647018548;s:7:\"checked\";a:4:{s:13:\"twentyfifteen\";s:3:\"2.6\";s:14:\"twentynineteen\";s:3:\"1.4\";s:15:\"twentyseventeen\";s:3:\"2.2\";s:12:\"twentytwenty\";s:3:\"1.2\";}s:8:\"response\";a:4:{s:13:\"twentyfifteen\";a:6:{s:5:\"theme\";s:13:\"twentyfifteen\";s:11:\"new_version\";s:3:\"3.1\";s:3:\"url\";s:43:\"https://wordpress.org/themes/twentyfifteen/\";s:7:\"package\";s:59:\"https://downloads.wordpress.org/theme/twentyfifteen.3.1.zip\";s:8:\"requires\";b:0;s:12:\"requires_php\";s:5:\"5.2.4\";}s:14:\"twentynineteen\";a:6:{s:5:\"theme\";s:14:\"twentynineteen\";s:11:\"new_version\";s:3:\"2.2\";s:3:\"url\";s:44:\"https://wordpress.org/themes/twentynineteen/\";s:7:\"package\";s:60:\"https://downloads.wordpress.org/theme/twentynineteen.2.2.zip\";s:8:\"requires\";s:5:\"4.9.6\";s:12:\"requires_php\";s:5:\"5.2.4\";}s:15:\"twentyseventeen\";a:6:{s:5:\"theme\";s:15:\"twentyseventeen\";s:11:\"new_version\";s:3:\"2.9\";s:3:\"url\";s:45:\"https://wordpress.org/themes/twentyseventeen/\";s:7:\"package\";s:61:\"https://downloads.wordpress.org/theme/twentyseventeen.2.9.zip\";s:8:\"requires\";s:3:\"4.7\";s:12:\"requires_php\";s:5:\"5.2.4\";}s:12:\"twentytwenty\";a:6:{s:5:\"theme\";s:12:\"twentytwenty\";s:11:\"new_version\";s:3:\"1.9\";s:3:\"url\";s:42:\"https://wordpress.org/themes/twentytwenty/\";s:7:\"package\";s:58:\"https://downloads.wordpress.org/theme/twentytwenty.1.9.zip\";s:8:\"requires\";s:3:\"4.7\";s:12:\"requires_php\";s:5:\"5.2.4\";}}s:12:\"translations\";a:0:{}}','no'),(3975,'_site_transient_update_plugins','O:8:\"stdClass\":5:{s:12:\"last_checked\";i:1647018549;s:7:\"checked\";a:6:{s:51:\"category-checklist-tree/category-checklist-tree.php\";s:5:\"1.3.2\";s:45:\"crayon-syntax-highlighter/crayon_wp.class.php\";s:5:\"2.8.4\";s:43:\"icreate-snippet-cpt/icreate-snippet-cpt.php\";s:5:\"1.0.0\";s:31:\"query-monitor/query-monitor.php\";s:5:\"3.6.0\";s:39:\"search-filter-pro/search-filter-pro.php\";s:5:\"2.4.6\";s:32:\"wp-sync-db-master/wp-sync-db.php\";s:3:\"1.5\";}s:8:\"response\";a:1:{s:31:\"query-monitor/query-monitor.php\";O:8:\"stdClass\":13:{s:2:\"id\";s:27:\"w.org/plugins/query-monitor\";s:4:\"slug\";s:13:\"query-monitor\";s:6:\"plugin\";s:31:\"query-monitor/query-monitor.php\";s:11:\"new_version\";s:5:\"3.8.2\";s:3:\"url\";s:44:\"https://wordpress.org/plugins/query-monitor/\";s:7:\"package\";s:62:\"https://downloads.wordpress.org/plugin/query-monitor.3.8.2.zip\";s:5:\"icons\";a:3:{s:2:\"2x\";s:66:\"https://ps.w.org/query-monitor/assets/icon-256x256.png?rev=2301273\";s:2:\"1x\";s:58:\"https://ps.w.org/query-monitor/assets/icon.svg?rev=2056073\";s:3:\"svg\";s:58:\"https://ps.w.org/query-monitor/assets/icon.svg?rev=2056073\";}s:7:\"banners\";a:2:{s:2:\"2x\";s:69:\"https://ps.w.org/query-monitor/assets/banner-1544x500.png?rev=2457098\";s:2:\"1x\";s:68:\"https://ps.w.org/query-monitor/assets/banner-772x250.png?rev=2457098\";}s:11:\"banners_rtl\";a:0:{}s:8:\"requires\";s:3:\"3.7\";s:6:\"tested\";s:5:\"5.9.2\";s:12:\"requires_php\";s:5:\"5.3.6\";s:13:\"compatibility\";O:8:\"stdClass\":0:{}}}s:12:\"translations\";a:0:{}s:9:\"no_update\";a:2:{s:51:\"category-checklist-tree/category-checklist-tree.php\";O:8:\"stdClass\":10:{s:2:\"id\";s:37:\"w.org/plugins/category-checklist-tree\";s:4:\"slug\";s:23:\"category-checklist-tree\";s:6:\"plugin\";s:51:\"category-checklist-tree/category-checklist-tree.php\";s:11:\"new_version\";s:5:\"1.3.2\";s:3:\"url\";s:54:\"https://wordpress.org/plugins/category-checklist-tree/\";s:7:\"package\";s:72:\"https://downloads.wordpress.org/plugin/category-checklist-tree.1.3.2.zip\";s:5:\"icons\";a:1:{s:7:\"default\";s:67:\"https://s.w.org/plugins/geopattern-icon/category-checklist-tree.svg\";}s:7:\"banners\";a:0:{}s:11:\"banners_rtl\";a:0:{}s:8:\"requires\";s:3:\"3.4\";}s:45:\"crayon-syntax-highlighter/crayon_wp.class.php\";O:8:\"stdClass\":10:{s:2:\"id\";s:39:\"w.org/plugins/crayon-syntax-highlighter\";s:4:\"slug\";s:25:\"crayon-syntax-highlighter\";s:6:\"plugin\";s:45:\"crayon-syntax-highlighter/crayon_wp.class.php\";s:11:\"new_version\";s:5:\"2.8.4\";s:3:\"url\";s:56:\"https://wordpress.org/plugins/crayon-syntax-highlighter/\";s:7:\"package\";s:68:\"https://downloads.wordpress.org/plugin/crayon-syntax-highlighter.zip\";s:5:\"icons\";a:1:{s:7:\"default\";s:76:\"https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.svg\";}s:7:\"banners\";a:1:{s:2:\"1x\";s:79:\"https://ps.w.org/crayon-syntax-highlighter/assets/banner-772x250.jpg?rev=646332\";}s:11:\"banners_rtl\";a:0:{}s:8:\"requires\";s:3:\"3.0\";}}}','no'),(2348,'widget_media_audio','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(2353,'wp_page_for_privacy_policy','0','yes'),(2354,'show_comments_cookies_opt_in','1','yes'),(2349,'widget_media_image','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(2350,'widget_media_gallery','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(2351,'widget_media_video','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(2352,'widget_custom_html','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(2320,'snippet-category_children','a:3:{i:2;a:1:{i:0;i:3;}i:4;a:3:{i:0;i:5;i:1;i:6;i:2;i:7;}i:9;a:1:{i:0;i:10;}}','yes'),(555,'auto_core_update_notified','a:4:{s:4:\"type\";s:7:\"success\";s:5:\"email\";s:27:\"dev@icreatesolutions.com.au\";s:7:\"version\";s:5:\"4.5.9\";s:9:\"timestamp\";i:1494997532;}','yes'),(2355,'db_upgraded','','yes'),(2361,'theme_mods_twentyfifteen','a:1:{s:18:\"custom_css_post_id\";i:-1;}','yes'),(3071,'admin_email_lifespan','1657338191','yes'),(3073,'_site_transient_update_core','O:8:\"stdClass\":4:{s:7:\"updates\";a:7:{i:0;O:8:\"stdClass\":10:{s:8:\"response\";s:7:\"upgrade\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.9.2.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.9.2.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.9.2-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.9.2-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.9.2\";s:7:\"version\";s:5:\"5.9.2\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";}i:1;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.9.2.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.9.2.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.9.2-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.9.2-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.9.2\";s:7:\"version\";s:5:\"5.9.2\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";s:9:\"new_files\";s:1:\"1\";}i:2;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.8.4.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.8.4.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.8.4-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.8.4-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.8.4\";s:7:\"version\";s:5:\"5.8.4\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";s:9:\"new_files\";s:1:\"1\";}i:3;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.7.6.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.7.6.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.7.6-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.7.6-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.7.6\";s:7:\"version\";s:5:\"5.7.6\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";s:9:\"new_files\";s:1:\"1\";}i:4;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.6.8.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.6.8.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.6.8-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.6.8-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.6.8\";s:7:\"version\";s:5:\"5.6.8\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";s:9:\"new_files\";s:1:\"1\";}i:5;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.5.9.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.5.9.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.5.9-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.5.9-new-bundled.zip\";s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"5.5.9\";s:7:\"version\";s:5:\"5.5.9\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:0:\"\";s:9:\"new_files\";s:1:\"1\";}i:6;O:8:\"stdClass\":11:{s:8:\"response\";s:10:\"autoupdate\";s:8:\"download\";s:60:\"https://downloads.wordpress.org/release/wordpress-5.4.10.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:60:\"https://downloads.wordpress.org/release/wordpress-5.4.10.zip\";s:10:\"no_content\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.4.10-no-content.zip\";s:11:\"new_bundled\";s:72:\"https://downloads.wordpress.org/release/wordpress-5.4.10-new-bundled.zip\";s:7:\"partial\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.4.10-partial-1.zip\";s:8:\"rollback\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.4.10-rollback-1.zip\";}s:7:\"current\";s:6:\"5.4.10\";s:7:\"version\";s:6:\"5.4.10\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.9\";s:15:\"partial_version\";s:5:\"5.4.1\";s:9:\"new_files\";s:0:\"\";}}s:12:\"last_checked\";i:1647018522;s:15:\"version_checked\";s:5:\"5.4.1\";s:12:\"translations\";a:0:{}}','no'),(3968,'_site_transient_timeout_php_check_6a93f292d9a273c004fc36e1f86d97b3','1647482719','no'),(3969,'_site_transient_php_check_6a93f292d9a273c004fc36e1f86d97b3','a:5:{s:19:\"recommended_version\";s:3:\"7.4\";s:15:\"minimum_version\";s:6:\"5.6.20\";s:12:\"is_supported\";b:0;s:9:\"is_secure\";b:0;s:13:\"is_acceptable\";b:0;}','no'),(3085,'can_compress_scripts','0','no'),(3972,'_site_transient_timeout_theme_roots','1647020347','no'),(3973,'_site_transient_theme_roots','a:4:{s:13:\"twentyfifteen\";s:7:\"/themes\";s:14:\"twentynineteen\";s:7:\"/themes\";s:15:\"twentyseventeen\";s:7:\"/themes\";s:12:\"twentytwenty\";s:7:\"/themes\";}','no'),(3878,'search_filter_transient_keys','a:0:{}','yes'),(3976,'_transient_doing_cron','1648082655.3215560913085937500000','yes');

--
-- Table structure for table `wp_postmeta`
--

CREATE TABLE `wp_postmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`meta_id`),
  KEY `post_id` (`post_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=MyISAM AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_postmeta`
--

INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUES (1,2,'_wp_page_template','default'),(2,4,'_edit_last','1'),(3,4,'_edit_lock','1574817855:1'),(4,4,'_syntaxhighlighter_encoded','1'),(5,6,'_edit_last','1'),(6,6,'_edit_lock','1469501247:1'),(7,6,'_syntaxhighlighter_encoded','1'),(8,8,'_edit_last','1'),(9,8,'_edit_lock','1469501181:1'),(10,10,'_edit_last','1'),(11,10,'_edit_lock','1476687522:1'),(12,10,'_syntaxhighlighter_encoded','1'),(13,12,'_edit_last','1'),(14,12,'_edit_lock','1572242555:1'),(15,12,'_syntaxhighlighter_encoded','1'),(16,2,'_edit_lock','1469506984:1'),(17,2,'_edit_last','1'),(18,16,'_edit_last','1'),(19,16,'_edit_lock','1469506986:1'),(20,16,'_search-filter-fields','a:2:{i:0;a:3:{s:4:\"type\";s:6:\"search\";s:7:\"heading\";s:0:\"\";s:11:\"placeholder\";s:10:\"Search …\";}i:1;a:16:{s:4:\"type\";s:8:\"taxonomy\";s:10:\"input_type\";s:8:\"checkbox\";s:7:\"heading\";s:0:\"\";s:15:\"all_items_label\";s:0:\"\";s:10:\"show_count\";i:1;s:10:\"hide_empty\";i:0;s:12:\"hierarchical\";i:1;s:16:\"include_children\";i:1;s:10:\"drill_down\";i:0;s:20:\"sync_include_exclude\";i:1;s:9:\"combo_box\";i:0;s:8:\"operator\";s:2:\"or\";s:8:\"order_by\";s:7:\"default\";s:9:\"order_dir\";s:3:\"asc\";s:11:\"exclude_ids\";s:0:\"\";s:13:\"taxonomy_name\";s:16:\"snippet-category\";}}'),(21,16,'_search-filter-settings','a:27:{s:26:\"use_template_manual_toggle\";i:0;s:17:\"enable_auto_count\";i:1;s:25:\"auto_count_deselect_emtpy\";i:0;s:20:\"template_name_manual\";s:10:\"search.php\";s:9:\"page_slug\";s:6:\"search\";s:10:\"post_types\";a:1:{s:7:\"snippet\";i:1;}s:11:\"post_status\";a:1:{s:7:\"publish\";i:1;}s:13:\"scroll_to_pos\";s:1:\"0\";s:16:\"custom_scroll_to\";s:0:\"\";s:16:\"scroll_on_action\";s:3:\"all\";s:14:\"maintain_state\";i:1;s:27:\"treat_child_posts_as_parent\";i:0;s:11:\"auto_submit\";i:1;s:18:\"display_results_as\";s:7:\"archive\";s:15:\"update_ajax_url\";i:1;s:17:\"only_results_ajax\";i:1;s:11:\"ajax_target\";s:8:\"#content\";s:11:\"results_url\";s:0:\"\";s:19:\"ajax_links_selector\";s:13:\".pagination a\";s:16:\"results_per_page\";i:10;s:16:\"exclude_post_ids\";s:0:\"\";s:14:\"field_relation\";s:3:\"and\";s:15:\"default_sort_by\";s:1:\"0\";s:16:\"default_sort_dir\";s:4:\"desc\";s:16:\"default_meta_key\";s:10:\"_edit_last\";s:17:\"default_sort_type\";s:7:\"numeric\";s:19:\"taxonomies_settings\";a:5:{s:8:\"category\";a:2:{s:15:\"include_exclude\";s:7:\"include\";s:3:\"ids\";s:0:\"\";}s:8:\"post_tag\";a:2:{s:15:\"include_exclude\";s:7:\"include\";s:3:\"ids\";s:0:\"\";}s:11:\"post_format\";a:2:{s:15:\"include_exclude\";s:7:\"include\";s:3:\"ids\";s:0:\"\";}s:16:\"snippet-category\";a:2:{s:15:\"include_exclude\";s:7:\"include\";s:3:\"ids\";s:0:\"\";}s:11:\"snippet-tag\";a:2:{s:15:\"include_exclude\";s:7:\"include\";s:3:\"ids\";s:0:\"\";}}}'),(22,31,'_edit_last','1'),(23,31,'_edit_lock','1470094842:1'),(24,34,'_edit_last','1'),(25,34,'_edit_lock','1572242566:1'),(26,38,'_edit_last','1'),(27,38,'_edit_lock','1641795538:1'),(28,44,'_edit_last','1'),(29,44,'_edit_lock','1472174012:1'),(30,49,'_edit_last','1'),(31,49,'_edit_lock','1473829762:1'),(32,51,'_edit_last','1'),(33,51,'_edit_lock','1474334298:1'),(34,54,'_edit_last','1'),(35,54,'_edit_lock','1572242711:1'),(36,59,'_edit_last','1'),(37,59,'_edit_lock','1477024999:1'),(38,60,'_edit_last','1'),(39,60,'_edit_lock','1598424421:1'),(40,62,'_edit_last','1'),(41,62,'_edit_lock','1548138738:1'),(42,65,'_edit_last','1'),(43,65,'_edit_lock','1590557405:1'),(44,69,'_edit_last','1'),(45,69,'_edit_lock','1569461251:1'),(46,72,'_edit_last','1'),(47,72,'_edit_lock','1499406246:1'),(48,76,'_edit_last','1'),(49,76,'_edit_lock','1501481101:1'),(50,82,'_edit_last','1'),(51,82,'_edit_lock','1550189749:1'),(52,86,'_edit_last','1'),(53,86,'_edit_lock','1625184640:1'),(54,90,'_edit_last','1'),(55,90,'_edit_lock','1567486044:1'),(56,92,'_edit_last','1'),(57,92,'_edit_lock','1505976519:1'),(58,97,'_edit_last','1'),(59,97,'_edit_lock','1531438908:1'),(60,102,'_edit_last','1'),(61,102,'_edit_lock','1523598381:1'),(62,106,'_edit_last','1'),(63,106,'_edit_lock','1548138799:1'),(64,109,'_edit_last','1'),(65,109,'_edit_lock','1562914141:1'),(66,113,'_edit_last','1'),(67,113,'_edit_lock','1531438596:1'),(68,118,'_oembed_b94a6349722160b47f518f883e8800d3','{{unknown}}'),(69,118,'_edit_last','1'),(70,118,'_edit_lock','1620953305:1'),(71,121,'_edit_last','1'),(72,121,'_edit_lock','1535525153:1'),(73,124,'_edit_last','1'),(74,124,'_edit_lock','1539043786:1'),(75,126,'_edit_last','1'),(76,126,'_edit_lock','1548197387:1'),(77,131,'_edit_last','1'),(78,131,'_edit_lock','1584419124:1');

--
-- Table structure for table `wp_posts`
--

CREATE TABLE `wp_posts` (
  `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_author` bigint(20) unsigned NOT NULL DEFAULT '0',
  `post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `post_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_title` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'publish',
  `comment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `ping_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `post_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `post_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `to_ping` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `pinged` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `post_content_filtered` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
  `guid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `menu_order` int(11) NOT NULL DEFAULT '0',
  `post_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post',
  `post_mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment_count` bigint(20) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  KEY `post_name` (`post_name`(191)),
  KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
  KEY `post_parent` (`post_parent`),
  KEY `post_author` (`post_author`)
) ENGINE=MyISAM AUTO_INCREMENT=159 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_posts`
--

INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES (1,1,'2016-07-25 23:48:18','2016-07-25 23:48:18','Welcome to WordPress. This is your first post. Edit or delete it, then start writing!','Hello world!','','publish','open','open','','hello-world','','','2016-07-25 23:48:18','2016-07-25 23:48:18','',0,'http://icreatedev.com.au/snippets/?p=1',0,'post','',1),(2,1,'2016-07-25 23:48:18','2016-07-25 23:48:18','<a href=\"http://icreatedev.com.au/snippets/search\">Start Searching</a>','Snippet Search','','publish','closed','open','','sample-page','','','2016-07-26 14:09:33','2016-07-26 04:09:33','',0,'http://icreatedev.com.au/snippets/?page_id=2',0,'page','',0),(44,1,'2016-08-26 09:31:18','2016-08-25 23:31:18','<h2>Markup</h2>\r\n<pre class=\"lang:default decode:true\">&lt;div class=\"menu-toggle\"&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n&lt;/div&gt;</pre>\r\n<h2>Sass/Less</h2>\r\n<pre class=\"lang:less decode:true  \">.menu-toggle {\r\n	width: 20px;\r\n	height: 15px;\r\n	-webkit-transform: rotate(0deg);\r\n	-ms-transform: rotate(0deg);\r\n	transform: rotate(0deg);\r\n	-webkit-transition: .5s ease-in-out;\r\n	transition: .5s ease-in-out;\r\n	cursor: pointer;\r\n	position: absolute;\r\n	right: 20px;\r\n	// top: 10px;\r\n	bottom: 20px;\r\n	margin: 0;\r\n	-webkit-transition: all 0.2s ease;\r\n	-moz-transition: all 0.2s ease;\r\n	-ms-transition: all 0.2s ease;\r\n	-o-transition: all 0.2s ease;\r\n	transition: all 0.2s ease;\r\n	z-index: 5;\r\n	span {\r\n		display: block;\r\n		position: absolute;\r\n		height: 1px;\r\n		width: 100%;\r\n		border-radius: 1px;\r\n		left: 0;\r\n		-webkit-transition: .25s ease-in-out;\r\n		transition: .25s ease-in-out;\r\n		background: white;\r\n	}\r\n	span:nth-child(1) {\r\n		top: 0;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(2) {\r\n		top: 6px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(3) {\r\n		top: 12px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n	&amp;.open {\r\n		span:nth-child(1) {\r\n			-webkit-transform: rotate(45deg);\r\n			-ms-transform: rotate(45deg);\r\n			transform: rotate(45deg);\r\n			top: -1px;\r\n			left: 3px;\r\n		}\r\n		span:nth-child(2) {\r\n			width: 0;\r\n			opacity: 0;\r\n			filter: alpha(opacity=0);\r\n		}\r\n\r\n		span:nth-child(3) {\r\n			-webkit-transform: rotate(-45deg);\r\n			-ms-transform: rotate(-45deg);\r\n			transform: rotate(-45deg);\r\n			top: 13px;\r\n			left: 3px;\r\n		}\r\n\r\n	}\r\n}\r\n</pre>\r\n&nbsp;\r\n<h2>Javscript</h2>\r\n<pre class=\"lang:js decode:true \">jQuery(document).ready(function ($) {\r\n    $(\'.menu-toggle\').on(\'click\', function () {\r\n    	$(this).toggleClass(\'open\');\r\n    });\r\n});</pre>\r\n&nbsp;','Menu icon to Close icon','','publish','closed','closed','','menu-icon-to-close-icon','','','2016-08-26 09:36:48','2016-08-25 23:36:48','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=44',0,'snippet','',0),(4,1,'2016-07-26 10:14:40','2016-07-26 00:14:40','<h3>Scripts File</h3>\r\n<pre class=\"lang:js decode:true \" title=\"Scripts File\">$(\'.menu-social-menu-container a\').wrapInner(\'&lt;span class=\"screen-reader-text\" /&gt;\');\r\n$(\'.menu-social-menu-container a\').fadeIn(\'slow\');</pre>\r\n<h3>Less File</h3>\r\n<pre class=\"lang:less decode:true\">screen-reader-text {\r\ndisplay: none;\r\n}\r\n\r\n.menu-social-container .menu {\r\nli {\r\nfloat: left;\r\nborder: 0;\r\na {\r\ndisplay: none;\r\n&amp;:after {\r\nfont-family: FontAwesome;\r\nfont-size: 13px;\r\npadding: 0 7px;\r\n}\r\n}\r\n&amp;:last-child a {\r\npadding-right: 0;\r\n}\r\n\r\na[href*=\"facebook\"]:after {\r\ncontent: \"\\f09a\";\r\n}\r\na[href*=\"twitter\"]:after {\r\ncontent: \"\\f099\";\r\n}\r\na[href*=\"pinterest\"]:after {\r\ncontent: \"\\f0d2\";\r\n}\r\na[href*=\"instagram\"]:after {\r\ncontent: \"\\f16d\";\r\n}\r\na[href*=\"google\"]:after {\r\ncontent: \"\\f0d5\";\r\n}\r\na[href*=\"linkedin\"]:after {\r\ncontent: \"\\f0e1\";\r\n}\r\n}\r\n}</pre>\r\n&nbsp;','Social Menu','','publish','closed','closed','','social-menu','','','2016-07-26 12:48:44','2016-07-26 02:48:44','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=4',0,'snippet','',0),(5,1,'2016-07-26 10:14:40','2016-07-26 00:14:40','<h3>Scripts File</h3>\r\n[js]\r\n$(\'.menu-social-menu-container a\').wrapInner(\'&lt;span class=&quot;screen-reader-text&quot; /&gt;\');\r\n$(\'.menu-social-menu-container a\').fadeIn(\'slow\');\r\n[/js]\r\n\r\n<h3>Less File</h3>\r\n[css]\r\n.screen-reader-text {\r\n     display: none;\r\n}\r\n\r\n.menu-social-container .menu {\r\n    li {\r\n        float: left;\r\n        border: 0;\r\n        a {\r\n            display: none;\r\n            &amp;:after {\r\n                font-family: FontAwesome;\r\n                font-size: 13px;\r\n                padding: 0 7px;\r\n            }\r\n        }\r\n        &amp;:last-child a {\r\n            padding-right: 0;\r\n        }\r\n\r\n        a[href*=&quot;facebook&quot;]:after {\r\n            content: &quot;\\f09a&quot;;\r\n        }\r\n        a[href*=&quot;twitter&quot;]:after {\r\n            content: &quot;\\f099&quot;;\r\n        }\r\n        a[href*=&quot;pinterest&quot;]:after {\r\n            content: &quot;\\f0d2&quot;;\r\n        }\r\n        a[href*=&quot;instagram&quot;]:after {\r\n            content: &quot;\\f16d&quot;;\r\n        }\r\n        a[href*=&quot;google&quot;]:after {\r\n            content: &quot;\\f0d5&quot;;\r\n        }\r\n          a[href*=&quot;linkedin&quot;]:after {\r\n               content: &quot;\\f0e1&quot;;\r\n            }\r\n    }\r\n}\r\n\r\n[/css]','Social Menu','','inherit','closed','closed','','4-revision-v1','','','2016-07-26 10:14:40','2016-07-26 00:14:40','',4,'http://icreatedev.com.au/snippets/4-revision-v1/',0,'revision','',0),(6,1,'2016-07-26 10:18:12','2016-07-26 00:18:12','<pre class=\"lang:php decode:true \" title=\"Add Google Fonts to WordPress theme\">function google_fonts() {\r\n$query_args = array(\r\n\'family\' =&gt; \'Open+Sans:400,700|Oswald:700\',\r\n\'subset\' =&gt; \'latin,latin-ext\',\r\n);\r\nwp_enqueue_style( \'google_fonts\', add_query_arg( $query_args, \"//fonts.googleapis.com/css\" ), array(), null );\r\n}\r\n\r\nadd_action(\'wp_enqueue_scripts\', \'google_fonts\');</pre>\r\n&nbsp;','Add Google Fonts to WordPress theme','','publish','closed','closed','','add-google-fonts-to-wordpress-theme','','','2016-07-26 12:47:25','2016-07-26 02:47:25','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=6',0,'snippet','',0),(7,1,'2016-07-26 10:18:12','2016-07-26 00:18:12','[php]\r\nfunction google_fonts() {\r\n    $query_args = array(\r\n        \'family\' =&gt; \'Open+Sans:400,700|Oswald:700\',\r\n        \'subset\' =&gt; \'latin,latin-ext\',\r\n        );\r\n    wp_enqueue_style( \'google_fonts\', add_query_arg( $query_args, &quot;//fonts.googleapis.com/css&quot; ), array(), null );\r\n}\r\n\r\nadd_action(\'wp_enqueue_scripts\', \'google_fonts\');\r\n[/php]','Add Google Fonts to WordPress theme','','inherit','closed','closed','','6-revision-v1','','','2016-07-26 10:18:12','2016-07-26 00:18:12','',6,'http://icreatedev.com.au/snippets/6-revision-v1/',0,'revision','',0),(8,1,'2016-07-26 10:20:19','2016-07-26 00:20:19','<pre class=\"lang:php title=\"Gravity Forms Submit button replace\">\r\nfunction schema_TinyMCE_init($in)\r\n{\r\n/**\r\n* Edit extended_valid_elements as needed. For syntax, see\r\n* http://www.tinymce.com/wiki.php/Configuration:valid_elements\r\n*\r\n* NOTE: Adding an element to extended_valid_elements will cause TinyMCE to ignore\r\n* default attributes for that element.\r\n* Eg. a[title] would remove href unless included in new rule: a[title|href]\r\n*/\r\nif(!empty($in[\'extended_valid_elements\']))\r\n$in[\'extended_valid_elements\'] .= \',\';\r\n\r\n$in[\'extended_valid_elements\'] .= \'@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,dl,ul,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]\';\r\n\r\nreturn $in;\r\n}\r\nadd_filter(\'tiny_mce_before_init\', \'schema_TinyMCE_init\' );\r\n</pre>','Prevent Stripping Schema Tags in TinyMCE','','publish','closed','closed','','prevent-stripping-schema-tags-in-tinymce','','','2016-07-26 12:46:20','2016-07-26 02:46:20','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=8',0,'snippet','',0),(9,1,'2016-07-26 10:20:19','2016-07-26 00:20:19','function schema_TinyMCE_init($in)\r\n{\r\n    /**\r\n     *   Edit extended_valid_elements as needed. For syntax, see\r\n     *   http://www.tinymce.com/wiki.php/Configuration:valid_elements\r\n     *\r\n     *   NOTE: Adding an element to extended_valid_elements will cause TinyMCE to ignore\r\n     *   default attributes for that element.\r\n     *   Eg. a[title] would remove href unless included in new rule: a[title|href]\r\n     */\r\n    if(!empty($in[\'extended_valid_elements\']))\r\n        $in[\'extended_valid_elements\'] .= \',\';\r\n\r\n    $in[\'extended_valid_elements\'] .= \'@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,dl,ul,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]\';\r\n\r\n    return $in;\r\n}\r\nadd_filter(\'tiny_mce_before_init\', \'schema_TinyMCE_init\' );\r\n','Prevent Stripping Schema Tags in TinyMCE','','inherit','closed','closed','','8-revision-v1','','','2016-07-26 10:20:19','2016-07-26 00:20:19','',8,'http://icreatedev.com.au/snippets/8-revision-v1/',0,'revision','',0),(10,1,'2016-07-26 10:27:36','2016-07-26 00:27:36','<pre class=\"lang:php decode:true \">add_filter( \'gform_submit_button\', \'form_submit_button\', 10, 5 );\r\nfunction form_submit_button ( $button, $form ){\r\n	$button = str_replace( \"input\", \"button\", $button );\r\n	$button = str_replace( \"/\", \"\", $button );\r\n	$button .= \"{$form[\'button\'][\'text\']}&lt;/button&gt;\";\r\n	return $button;\r\n}</pre>\r\n&nbsp;','Gravity Forms Submit button replace','','publish','closed','closed','','gravity-forms-submit-button-replace','','','2016-10-17 13:50:05','2016-10-17 03:50:05','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=10',0,'snippet','',0),(11,1,'2016-07-26 10:27:36','2016-07-26 00:27:36','[php]\r\nadd_filter( \'gform_submit_button\', \'form_submit_button\', 10, 5 );\r\nfunction form_submit_button ( $button, $form ){\r\n    $button = str_replace( &quot;input&quot;, &quot;button&quot;, $button );\r\n    $button = str_replace( &quot;/&quot;, &quot;&quot;, $button );\r\n    $button .= &quot;{$form[\'button\'][\'text\']}&lt;/button&gt;&quot;;\r\n    return $button;\r\n}\r\n[/php]','Gravity Forms Submit button replace','','inherit','closed','closed','','10-revision-v1','','','2016-07-26 10:27:36','2016-07-26 00:27:36','',10,'http://icreatedev.com.au/snippets/10-revision-v1/',0,'revision','',0),(12,1,'2016-07-26 10:28:45','2016-07-26 00:28:45','<pre style=\"lang:php title=\"Template URL Helper\">\r\n//returns the URL of a page where the template filename contains $template_string\r\n// if multiple pages use the page template, it will only return one\r\n\r\nfunction icreate_get_template_link( $template_string ) {\r\n$args = array(\r\n\'post_type\' =&gt; \'page\',\r\n\'meta_key\' =&gt; \'_wp_page_template\',\r\n\'meta_value\' =&gt; $template_string,\r\n\'meta_compare\' =&gt; \'LIKE\',\r\n\'posts_per_page\' =&gt; 1\r\n);\r\n\r\n$page_array = get_posts( $args );\r\nif ( ! is_array( $page_array) ) {\r\nreturn false;\r\n}\r\n\r\n$page = $page_array[0];\r\n$page_id = $page-&gt;ID;\r\nreturn get_permalink( $page_id );\r\n}\r\n</pre>','Template URL Helper','','publish','closed','closed','','template-url-helper','','','2016-07-26 12:39:16','2016-07-26 02:39:16','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=12',0,'snippet','',0),(13,1,'2016-07-26 10:28:45','2016-07-26 00:28:45','[php]\r\n//returns the URL of a page where the template filename contains $template_string\r\n// if multiple pages use the page template, it will only return one\r\n\r\nfunction icreate_get_template_link( $template_string ) {\r\n    $args = array(\r\n        \'post_type\' =&gt; \'page\',\r\n        \'meta_key\' =&gt; \'_wp_page_template\',\r\n        \'meta_value\' =&gt; $template_string,\r\n        \'meta_compare\' =&gt; \'LIKE\',\r\n        \'posts_per_page\' =&gt; 1\r\n        );\r\n\r\n    $page_array = get_posts( $args );\r\n    if ( ! is_array( $page_array) ) {\r\n        return false;\r\n    }\r\n\r\n    $page = $page_array[0];\r\n    $page_id = $page-&gt;ID;\r\n    return get_permalink( $page_id );\r\n}\r\n[/php]','Template URL Helper','','inherit','closed','closed','','12-revision-v1','','','2016-07-26 10:28:45','2016-07-26 00:28:45','',12,'http://icreatedev.com.au/snippets/12-revision-v1/',0,'revision','',0),(14,1,'2016-07-26 10:40:36','2016-07-26 00:40:36','[facetwp template=\"snippet_search\"]','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 10:40:36','2016-07-26 00:40:36','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(15,1,'2016-07-26 11:12:49','2016-07-26 01:12:49','','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 11:12:49','2016-07-26 01:12:49','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(16,1,'2016-07-26 12:20:25','2016-07-26 02:20:25','','Snippet Search','','publish','closed','closed','','snippet-search','','','2016-07-26 14:07:53','2016-07-26 04:07:53','',0,'http://icreatedev.com.au/snippets/?post_type=search-filter-widget&#038;p=16',0,'search-filter-widget','',0),(17,1,'2016-07-26 12:20:39','2016-07-26 02:20:39','[searchandfilter id=\"16\"]','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 12:20:39','2016-07-26 02:20:39','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(18,1,'2016-07-26 12:20:56','2016-07-26 02:20:56','','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 12:20:56','2016-07-26 02:20:56','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(19,1,'2016-07-26 12:24:18','2016-07-26 02:24:18','[searchandfilter id=\"16\" show=\"results\"]','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 12:24:18','2016-07-26 02:24:18','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(20,1,'2016-07-26 12:39:16','2016-07-26 02:39:16','<pre style=\"lang:php title=\"Template URL Helper\">\r\n//returns the URL of a page where the template filename contains $template_string\r\n// if multiple pages use the page template, it will only return one\r\n\r\nfunction icreate_get_template_link( $template_string ) {\r\n$args = array(\r\n\'post_type\' =&gt; \'page\',\r\n\'meta_key\' =&gt; \'_wp_page_template\',\r\n\'meta_value\' =&gt; $template_string,\r\n\'meta_compare\' =&gt; \'LIKE\',\r\n\'posts_per_page\' =&gt; 1\r\n);\r\n\r\n$page_array = get_posts( $args );\r\nif ( ! is_array( $page_array) ) {\r\nreturn false;\r\n}\r\n\r\n$page = $page_array[0];\r\n$page_id = $page-&gt;ID;\r\nreturn get_permalink( $page_id );\r\n}\r\n</pre>','Template URL Helper','','inherit','closed','closed','','12-revision-v1','','','2016-07-26 12:39:16','2016-07-26 02:39:16','',12,'http://icreatedev.com.au/snippets/12-revision-v1/',0,'revision','',0),(21,1,'2016-07-26 12:45:35','2016-07-26 02:45:35','<pre class=\"lang:php title=\"Gravity Forms Submit button replace\">\r\nadd_filter( \'gform_submit_button\', \'form_submit_button\', 10, 5 );\r\nfunction form_submit_button ( $button, $form ){\r\n$button = str_replace( \"input\", \"button\", $button );\r\n$button = str_replace( \"/\", \"\", $button );\r\n$button .= \"{$form[\'button\'][\'text\']}&lt;/button&gt;\";\r\nreturn $button;\r\n}\r\n</pre>','Gravity Forms Submit button replace','','inherit','closed','closed','','10-revision-v1','','','2016-07-26 12:45:35','2016-07-26 02:45:35','',10,'http://icreatedev.com.au/snippets/10-revision-v1/',0,'revision','',0),(22,1,'2016-07-26 12:46:20','2016-07-26 02:46:20','<pre class=\"lang:php title=\"Gravity Forms Submit button replace\">\r\nfunction schema_TinyMCE_init($in)\r\n{\r\n/**\r\n* Edit extended_valid_elements as needed. For syntax, see\r\n* http://www.tinymce.com/wiki.php/Configuration:valid_elements\r\n*\r\n* NOTE: Adding an element to extended_valid_elements will cause TinyMCE to ignore\r\n* default attributes for that element.\r\n* Eg. a[title] would remove href unless included in new rule: a[title|href]\r\n*/\r\nif(!empty($in[\'extended_valid_elements\']))\r\n$in[\'extended_valid_elements\'] .= \',\';\r\n\r\n$in[\'extended_valid_elements\'] .= \'@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,dl,ul,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]\';\r\n\r\nreturn $in;\r\n}\r\nadd_filter(\'tiny_mce_before_init\', \'schema_TinyMCE_init\' );\r\n</pre>','Prevent Stripping Schema Tags in TinyMCE','','inherit','closed','closed','','8-revision-v1','','','2016-07-26 12:46:20','2016-07-26 02:46:20','',8,'http://icreatedev.com.au/snippets/8-revision-v1/',0,'revision','',0),(23,1,'2016-07-26 12:47:21','2016-07-26 02:47:21','<pre class=\"lang:php decode:true \">function google_fonts() {\n$query_args = array(\n\'family\' =&amp;gt; \'Open+Sans:400,700|Oswald:700\',\n\'subset\' =&amp;gt; \'latin,latin-ext\',\n);\nwp_enqueue_style( \'google_fonts\', add_query_arg( $query_args, \"//fonts.googleapis.com/css\" ), array(), null );\n}\n\nadd_action(\'wp_enqueue_scripts\', \'google_fonts\');</pre>\n&nbsp;','Add Google Fonts to WordPress theme','','inherit','closed','closed','','6-autosave-v1','','','2016-07-26 12:47:21','2016-07-26 02:47:21','',6,'http://icreatedev.com.au/snippets/6-autosave-v1/',0,'revision','',0),(24,1,'2016-07-26 12:47:25','2016-07-26 02:47:25','<pre class=\"lang:php decode:true \" title=\"Add Google Fonts to WordPress theme\">function google_fonts() {\r\n$query_args = array(\r\n\'family\' =&gt; \'Open+Sans:400,700|Oswald:700\',\r\n\'subset\' =&gt; \'latin,latin-ext\',\r\n);\r\nwp_enqueue_style( \'google_fonts\', add_query_arg( $query_args, \"//fonts.googleapis.com/css\" ), array(), null );\r\n}\r\n\r\nadd_action(\'wp_enqueue_scripts\', \'google_fonts\');</pre>\r\n&nbsp;','Add Google Fonts to WordPress theme','','inherit','closed','closed','','6-revision-v1','','','2016-07-26 12:47:25','2016-07-26 02:47:25','',6,'http://icreatedev.com.au/snippets/6-revision-v1/',0,'revision','',0),(25,1,'2019-11-27 11:16:22','2019-11-27 01:16:22','<h3>Scripts File</h3>\n<pre class=\"lang:js decode:true  crayon-selected\" title=\"Scripts File\">$(\'.menu-social-menu-container a\').wrapInner(\'&lt;span class=\"screen-reader-text\" /&gt;\');\n$(\'.menu-social-menu-container a\').fadeIn(\'slow\');</pre>\n<h3>Less File</h3>\n<pre class=\"lang:less decode:true\">screen-reader-text {\ndisplay: none;\n}\n\n.menu-social-container .menu {\nli {\nfloat: left;\nborder: 0;\na {\ndisplay: none;\n&amp;:after {\nfont-family: FontAwesome;\nfont-size: 13px;\npadding: 0 7px;\n}\n}\n&amp;:last-child a {\npadding-right: 0;\n}\n\na[href*=\"facebook\"]:after {\ncontent: \"\\f09a\";\n}\na[href*=\"twitter\"]:after {\ncontent: \"\\f099\";\n}\na[href*=\"pinterest\"]:after {\ncontent: \"\\f0d2\";\n}\na[href*=\"instagram\"]:after {\ncontent: \"\\f16d\";\n}\na[href*=\"google\"]:after {\ncontent: \"\\f0d5\";\n}\na[href*=\"linkedin\"]:after {\ncontent: \"\\f0e1\";\n}\n}\n}</pre>','Social Menu','','inherit','closed','closed','','4-autosave-v1','','','2019-11-27 11:16:22','2019-11-27 01:16:22','',4,'http://icreatedev.com.au/snippets/4-autosave-v1/',0,'revision','',0),(26,1,'2016-07-26 12:48:30','2016-07-26 02:48:30','<h3>Scripts File</h3>\r\n<pre class=\"lang:js decode:true \" title=\"Scripts File\">$(\'.menu-social-menu-container a\').wrapInner(\'&lt;span class=\"screen-reader-text\" /&gt;\');\r\n$(\'.menu-social-menu-container a\').fadeIn(\'slow\');</pre>\r\n<h3>Less File</h3>\r\n.\r\n<pre class=\"lang:less decode:true \">screen-reader-text {\r\ndisplay: none;\r\n}\r\n\r\n.menu-social-container .menu {\r\nli {\r\nfloat: left;\r\nborder: 0;\r\na {\r\ndisplay: none;\r\n&amp;:after {\r\nfont-family: FontAwesome;\r\nfont-size: 13px;\r\npadding: 0 7px;\r\n}\r\n}\r\n&amp;:last-child a {\r\npadding-right: 0;\r\n}\r\n\r\na[href*=\"facebook\"]:after {\r\ncontent: \"\\f09a\";\r\n}\r\na[href*=\"twitter\"]:after {\r\ncontent: \"\\f099\";\r\n}\r\na[href*=\"pinterest\"]:after {\r\ncontent: \"\\f0d2\";\r\n}\r\na[href*=\"instagram\"]:after {\r\ncontent: \"\\f16d\";\r\n}\r\na[href*=\"google\"]:after {\r\ncontent: \"\\f0d5\";\r\n}\r\na[href*=\"linkedin\"]:after {\r\ncontent: \"\\f0e1\";\r\n}\r\n}\r\n}</pre>\r\n&nbsp;','Social Menu','','inherit','closed','closed','','4-revision-v1','','','2016-07-26 12:48:30','2016-07-26 02:48:30','',4,'http://icreatedev.com.au/snippets/4-revision-v1/',0,'revision','',0),(27,1,'2016-07-26 12:48:44','2016-07-26 02:48:44','<h3>Scripts File</h3>\r\n<pre class=\"lang:js decode:true \" title=\"Scripts File\">$(\'.menu-social-menu-container a\').wrapInner(\'&lt;span class=\"screen-reader-text\" /&gt;\');\r\n$(\'.menu-social-menu-container a\').fadeIn(\'slow\');</pre>\r\n<h3>Less File</h3>\r\n<pre class=\"lang:less decode:true\">screen-reader-text {\r\ndisplay: none;\r\n}\r\n\r\n.menu-social-container .menu {\r\nli {\r\nfloat: left;\r\nborder: 0;\r\na {\r\ndisplay: none;\r\n&amp;:after {\r\nfont-family: FontAwesome;\r\nfont-size: 13px;\r\npadding: 0 7px;\r\n}\r\n}\r\n&amp;:last-child a {\r\npadding-right: 0;\r\n}\r\n\r\na[href*=\"facebook\"]:after {\r\ncontent: \"\\f09a\";\r\n}\r\na[href*=\"twitter\"]:after {\r\ncontent: \"\\f099\";\r\n}\r\na[href*=\"pinterest\"]:after {\r\ncontent: \"\\f0d2\";\r\n}\r\na[href*=\"instagram\"]:after {\r\ncontent: \"\\f16d\";\r\n}\r\na[href*=\"google\"]:after {\r\ncontent: \"\\f0d5\";\r\n}\r\na[href*=\"linkedin\"]:after {\r\ncontent: \"\\f0e1\";\r\n}\r\n}\r\n}</pre>\r\n&nbsp;','Social Menu','','inherit','closed','closed','','4-revision-v1','','','2016-07-26 12:48:44','2016-07-26 02:48:44','',4,'http://icreatedev.com.au/snippets/4-revision-v1/',0,'revision','',0),(28,1,'2016-07-26 12:59:15','2016-07-26 02:59:15','','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 12:59:15','2016-07-26 02:59:15','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(29,1,'2016-07-26 14:09:33','2016-07-26 04:09:33','<a href=\"http://icreatedev.com.au/snippets/search\">Start Searching</a>','Snippet Search','','inherit','closed','closed','','2-revision-v1','','','2016-07-26 14:09:33','2016-07-26 04:09:33','',2,'http://icreatedev.com.au/snippets/2-revision-v1/',0,'revision','',0),(31,1,'2016-08-02 09:33:58','2016-08-01 23:33:58','<pre class=\"lang:php decode:true \">$webm     = get_field( \'video_webm\' );\r\n$mp4      = get_field( \'video_mp4\' );\r\n$fallback = get_field( \'fallback_image\' );\r\n\r\n?&gt;\r\n&lt;section class=\"video-section\"&gt;\r\n	&lt;?php if ( \'video\' === $banner_type ) : ?&gt;\r\n		&lt;video class=\"aquatic-video\" autoplay loop poster=\"&lt;?php echo $fallback; ?&gt;\" id=\"aquatic-video\"&gt;\r\n			&lt;source src=\"&lt;?php echo $webm; ?&gt;\" type=\"video/webm\"&gt;\r\n			&lt;source src=\"&lt;?php echo $mp4; ?&gt;\" type=\"video/mp4\"&gt;\r\n		&lt;/video&gt;\r\n	&lt;?php endif; ?&gt;\r\n&lt;/section&gt;</pre>\r\n<pre class=\"lang:php decode:true \">&lt;?php\r\nif( function_exists(\'acf_add_local_field_group\') ):\r\n\r\nacf_add_local_field_group(array (\r\n	\'key\' =&gt; \'group_5764f70711dca\',\r\n	\'title\' =&gt; \'HTML5 Video\',\r\n	\'fields\' =&gt; array (\r\n		array (\r\n			\'key\' =&gt; \'field_57996c316dbae\',\r\n			\'label\' =&gt; \'mp4 file\',\r\n			\'name\' =&gt; \'video_mp4\',\r\n			\'type\' =&gt; \'file\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'library\' =&gt; \'all\',\r\n			\'mime_types\' =&gt; \'mp4\',\r\n		),\r\n		array (\r\n			\'key\' =&gt; \'field_57996c4b6dbaf\',\r\n			\'label\' =&gt; \'webm file\',\r\n			\'name\' =&gt; \'video_webm\',\r\n			\'type\' =&gt; \'file\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'library\' =&gt; \'all\',\r\n			\'mime_types\' =&gt; \'webm\',\r\n		),\r\n		array (\r\n			\'key\' =&gt; \'field_57996c646dbb0\',\r\n			\'label\' =&gt; \'Fallback Image\',\r\n			\'name\' =&gt; \'fallback_image\',\r\n			\'type\' =&gt; \'image\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'preview_size\' =&gt; \'medium\',\r\n			\'library\' =&gt; \'all\',\r\n		),\r\n	),\r\n	\'location\' =&gt; array (\r\n		array (\r\n			array (\r\n				\'param\' =&gt; \'page_template\',\r\n				\'operator\' =&gt; \'==\',\r\n				\'value\' =&gt; \'front-template.php\',\r\n			),\r\n		),\r\n	),\r\n	\'menu_order\' =&gt; 0,\r\n	\'position\' =&gt; \'normal\',\r\n	\'style\' =&gt; \'default\',\r\n	\'label_placement\' =&gt; \'top\',\r\n	\'instruction_placement\' =&gt; \'label\',\r\n	\'hide_on_screen\' =&gt; \'\',\r\n	\'active\' =&gt; 1,\r\n	\'description\' =&gt; \'\',\r\n));\r\n\r\nendif;</pre>\r\n<pre class=\"lang:css decode:true \"> video {\r\n 	vertical-align: middle;\r\n 	object-fit: inherit;\r\n }\r\n\r\n #play {\r\n 	display: none;\r\n 	position: absolute;\r\n 	bottom: 5px;\r\n 	right: 5px;\r\n 	z-index: 999;\r\n 	cursor: pointer;\r\n 	font-size: 30px;\r\n 	color: white;\r\n 	@media (min-width: 768px) {\r\n 		bottom: 30px;\r\n 		right: 30px;\r\n 		font-size: 40px;\r\n 	}\r\n }</pre>\r\n<pre class=\"lang:js decode:true \">jQuery(window).load(function () {\r\n	jQuery(\'#play\').fadeIn(\'slow\');\r\n	vidPlayButtonText();\r\n	jQuery(\'#play\').click(function () {\r\n		vidPlayPause();\r\n	});\r\n});\r\n\r\nfunction vidPlayPause() {\r\n	var video = document.getElementById(\"aquatic-video\");\r\n	if (video !== null) {\r\n		if (video.paused) {\r\n			video.play();\r\n		} else {\r\n			video.pause();\r\n		}\r\n		vidPlayButtonText();\r\n	}\r\n}\r\n\r\nfunction vidPlayButtonText() {\r\n	var video = document.getElementById(\"aquatic-video\");\r\n	var button = document.getElementById(\"play\");\r\n	if ( video === null || button === null )\r\n		return;\r\n\r\n	if (video.paused) {\r\n		button.className = \"fa fa-play-circle\";\r\n	} else {\r\n		button.className = \"fa fa-pause-circle\";\r\n	}\r\n}</pre>\r\n&nbsp;','ACF HTML5 Video Field','','publish','closed','closed','','acf-html5-video-field','','','2016-08-02 09:33:58','2016-08-01 23:33:58','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=31',0,'snippet','',0),(32,1,'2016-08-02 09:33:58','2016-08-01 23:33:58','<pre class=\"lang:php decode:true \">$webm     = get_field( \'video_webm\' );\r\n$mp4      = get_field( \'video_mp4\' );\r\n$fallback = get_field( \'fallback_image\' );\r\n\r\n?&gt;\r\n&lt;section class=\"video-section\"&gt;\r\n	&lt;?php if ( \'video\' === $banner_type ) : ?&gt;\r\n		&lt;video class=\"aquatic-video\" autoplay loop poster=\"&lt;?php echo $fallback; ?&gt;\" id=\"aquatic-video\"&gt;\r\n			&lt;source src=\"&lt;?php echo $webm; ?&gt;\" type=\"video/webm\"&gt;\r\n			&lt;source src=\"&lt;?php echo $mp4; ?&gt;\" type=\"video/mp4\"&gt;\r\n		&lt;/video&gt;\r\n	&lt;?php endif; ?&gt;\r\n&lt;/section&gt;</pre>\r\n<pre class=\"lang:php decode:true \">&lt;?php\r\nif( function_exists(\'acf_add_local_field_group\') ):\r\n\r\nacf_add_local_field_group(array (\r\n	\'key\' =&gt; \'group_5764f70711dca\',\r\n	\'title\' =&gt; \'HTML5 Video\',\r\n	\'fields\' =&gt; array (\r\n		array (\r\n			\'key\' =&gt; \'field_57996c316dbae\',\r\n			\'label\' =&gt; \'mp4 file\',\r\n			\'name\' =&gt; \'video_mp4\',\r\n			\'type\' =&gt; \'file\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'library\' =&gt; \'all\',\r\n			\'mime_types\' =&gt; \'mp4\',\r\n		),\r\n		array (\r\n			\'key\' =&gt; \'field_57996c4b6dbaf\',\r\n			\'label\' =&gt; \'webm file\',\r\n			\'name\' =&gt; \'video_webm\',\r\n			\'type\' =&gt; \'file\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'library\' =&gt; \'all\',\r\n			\'mime_types\' =&gt; \'webm\',\r\n		),\r\n		array (\r\n			\'key\' =&gt; \'field_57996c646dbb0\',\r\n			\'label\' =&gt; \'Fallback Image\',\r\n			\'name\' =&gt; \'fallback_image\',\r\n			\'type\' =&gt; \'image\',\r\n			\'return_format\' =&gt; \'url\',\r\n			\'preview_size\' =&gt; \'medium\',\r\n			\'library\' =&gt; \'all\',\r\n		),\r\n	),\r\n	\'location\' =&gt; array (\r\n		array (\r\n			array (\r\n				\'param\' =&gt; \'page_template\',\r\n				\'operator\' =&gt; \'==\',\r\n				\'value\' =&gt; \'front-template.php\',\r\n			),\r\n		),\r\n	),\r\n	\'menu_order\' =&gt; 0,\r\n	\'position\' =&gt; \'normal\',\r\n	\'style\' =&gt; \'default\',\r\n	\'label_placement\' =&gt; \'top\',\r\n	\'instruction_placement\' =&gt; \'label\',\r\n	\'hide_on_screen\' =&gt; \'\',\r\n	\'active\' =&gt; 1,\r\n	\'description\' =&gt; \'\',\r\n));\r\n\r\nendif;</pre>\r\n<pre class=\"lang:css decode:true \"> video {\r\n 	vertical-align: middle;\r\n 	object-fit: inherit;\r\n }\r\n\r\n #play {\r\n 	display: none;\r\n 	position: absolute;\r\n 	bottom: 5px;\r\n 	right: 5px;\r\n 	z-index: 999;\r\n 	cursor: pointer;\r\n 	font-size: 30px;\r\n 	color: white;\r\n 	@media (min-width: 768px) {\r\n 		bottom: 30px;\r\n 		right: 30px;\r\n 		font-size: 40px;\r\n 	}\r\n }</pre>\r\n<pre class=\"lang:js decode:true \">jQuery(window).load(function () {\r\n	jQuery(\'#play\').fadeIn(\'slow\');\r\n	vidPlayButtonText();\r\n	jQuery(\'#play\').click(function () {\r\n		vidPlayPause();\r\n	});\r\n});\r\n\r\nfunction vidPlayPause() {\r\n	var video = document.getElementById(\"aquatic-video\");\r\n	if (video !== null) {\r\n		if (video.paused) {\r\n			video.play();\r\n		} else {\r\n			video.pause();\r\n		}\r\n		vidPlayButtonText();\r\n	}\r\n}\r\n\r\nfunction vidPlayButtonText() {\r\n	var video = document.getElementById(\"aquatic-video\");\r\n	var button = document.getElementById(\"play\");\r\n	if ( video === null || button === null )\r\n		return;\r\n\r\n	if (video.paused) {\r\n		button.className = \"fa fa-play-circle\";\r\n	} else {\r\n		button.className = \"fa fa-pause-circle\";\r\n	}\r\n}</pre>\r\n&nbsp;','ACF HTML5 Video Field','','inherit','closed','closed','','31-revision-v1','','','2016-08-02 09:33:58','2016-08-01 23:33:58','',31,'http://icreatedev.com.au/snippets/31-revision-v1/',0,'revision','',0),(33,1,'2016-08-02 09:43:03','2016-08-01 23:43:03','<pre class=\"lang:php decode:true\">$webm     = get_field( \'video_webm\' );\n$mp4      = get_field( \'video_mp4\' );\n$fallback = get_field( \'fallback_image\' );\n\n?&gt;\n&lt;section class=\"video-section\"&gt;\n	&lt;?php if ( \'video\' === $banner_type ) : ?&gt;\n		&lt;video class=\"aquatic-video\" autoplay loop poster=\"&lt;?php echo $fallback; ?&gt;\" id=\"aquatic-video\"&gt;\n			&lt;source src=\"&lt;?php echo $webm; ?&gt;\" type=\"video/webm\"&gt;\n			&lt;source src=\"&lt;?php echo $mp4; ?&gt;\" type=\"video/mp4\"&gt;\n		&lt;/video&gt;\n	&lt;?php endif; ?&gt;\n&lt;/section&gt;</pre>\n<pre class=\"lang:php decode:true\">&lt;?php\nif( function_exists(\'acf_add_local_field_group\') ):\n\nacf_add_local_field_group(array (\n	\'key\' =&gt; \'group_5764f70711dca\',\n	\'title\' =&gt; \'HTML5 Video\',\n	\'fields\' =&gt; array (\n		array (\n			\'key\' =&gt; \'field_57996c316dbae\',\n			\'label\' =&gt; \'mp4 file\',\n			\'name\' =&gt; \'video_mp4\',\n			\'type\' =&gt; \'file\',\n			\'return_format\' =&gt; \'url\',\n			\'library\' =&gt; \'all\',\n			\'mime_types\' =&gt; \'mp4\',\n		),\n		array (\n			\'key\' =&gt; \'field_57996c4b6dbaf\',\n			\'label\' =&gt; \'webm file\',\n			\'name\' =&gt; \'video_webm\',\n			\'type\' =&gt; \'file\',\n			\'return_format\' =&gt; \'url\',\n			\'library\' =&gt; \'all\',\n			\'mime_types\' =&gt; \'webm\',\n		),\n		array (\n			\'key\' =&gt; \'field_57996c646dbb0\',\n			\'label\' =&gt; \'Fallback Image\',\n			\'name\' =&gt; \'fallback_image\',\n			\'type\' =&gt; \'image\',\n			\'return_format\' =&gt; \'url\',\n			\'preview_size\' =&gt; \'medium\',\n			\'library\' =&gt; \'all\',\n		),\n	),\n	\'location\' =&gt; array (\n		array (\n			array (\n				\'param\' =&gt; \'page_template\',\n				\'operator\' =&gt; \'==\',\n				\'value\' =&gt; \'front-template.php\',\n			),\n		),\n	),\n	\'menu_order\' =&gt; 0,\n	\'position\' =&gt; \'normal\',\n	\'style\' =&gt; \'default\',\n	\'label_placement\' =&gt; \'top\',\n	\'instruction_placement\' =&gt; \'label\',\n	\'hide_on_screen\' =&gt; \'\',\n	\'active\' =&gt; 1,\n	\'description\' =&gt; \'\',\n));\n\nendif;</pre>\n<pre class=\"lang:css decode:true \"> video {\n 	vertical-align: middle;\n 	object-fit: inherit;\n }\n\n #play {\n 	display: none;\n 	position: absolute;\n 	bottom: 5px;\n 	right: 5px;\n 	z-index: 999;\n 	cursor: pointer;\n 	font-size: 30px;\n 	color: white;\n 	@media (min-width: 768px) {\n 		bottom: 30px;\n 		right: 30px;\n 		font-size: 40px;\n 	}\n }</pre>\n<pre class=\"lang:js decode:true \">jQuery(window).load(function () {\n	jQuery(\'#play\').fadeIn(\'slow\');\n	vidPlayButtonText();\n	jQuery(\'#play\').click(function () {\n		vidPlayPause();\n	});\n});\n\nfunction vidPlayPause() {\n	var video = document.getElementById(\"aquatic-video\");\n	if (video !== null) {\n		if (video.paused) {\n			video.play();\n		} else {\n			video.pause();\n		}\n		vidPlayButtonText();\n	}\n}\n\nfunction vidPlayButtonText() {\n	var video = document.getElementById(\"aquatic-video\");\n	var button = document.getElementById(\"play\");\n	if ( video === null || button === null )\n		return;\n\n	if (video.paused) {\n		button.className = \"fa fa-play-circle\";\n	} else {\n		button.className = \"fa fa-pause-circle\";\n	}\n}</pre>\n&nbsp;','ACF HTML5 Video Field','','inherit','closed','closed','','31-autosave-v1','','','2016-08-02 09:43:03','2016-08-01 23:43:03','',31,'http://icreatedev.com.au/snippets/31-autosave-v1/',0,'revision','',0),(34,1,'2016-08-02 12:04:46','2016-08-02 02:04:46','<pre class=\"lang:default decode:true \">//returns the URL of a page where the template filename contains $template_string\r\n// if multiple pages use the page template, it will only return one\r\nfunction icreate_get_template_link( $template_string ) {\r\n    $args = array(\r\n        \'post_type\' =&gt; \'page\',\r\n        \'meta_key\' =&gt; \'_wp_page_template\',\r\n        \'meta_value\' =&gt; $template_string,\r\n        \'meta_compare\' =&gt; \'LIKE\',\r\n        \'posts_per_page\' =&gt; 1\r\n        );\r\n\r\n    $page_array = get_posts( $args );\r\n    if ( ! is_array( $page_array) ) {\r\n        return false;\r\n    }\r\n\r\n    $page = $page_array[0];\r\n    $page_id = $page-&gt;ID;\r\n    return get_permalink( $page_id );\r\n}\r\n</pre>\r\n&nbsp;','Get Template Link','','publish','closed','closed','','get-template-link','','','2016-08-02 12:04:46','2016-08-02 02:04:46','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=34',0,'snippet','',0),(35,1,'2016-08-02 12:04:46','2016-08-02 02:04:46','<pre class=\"lang:default decode:true \">//returns the URL of a page where the template filename contains $template_string\r\n// if multiple pages use the page template, it will only return one\r\nfunction icreate_get_template_link( $template_string ) {\r\n    $args = array(\r\n        \'post_type\' =&gt; \'page\',\r\n        \'meta_key\' =&gt; \'_wp_page_template\',\r\n        \'meta_value\' =&gt; $template_string,\r\n        \'meta_compare\' =&gt; \'LIKE\',\r\n        \'posts_per_page\' =&gt; 1\r\n        );\r\n\r\n    $page_array = get_posts( $args );\r\n    if ( ! is_array( $page_array) ) {\r\n        return false;\r\n    }\r\n\r\n    $page = $page_array[0];\r\n    $page_id = $page-&gt;ID;\r\n    return get_permalink( $page_id );\r\n}\r\n</pre>\r\n&nbsp;','Get Template Link','','inherit','closed','closed','','34-revision-v1','','','2016-08-02 12:04:46','2016-08-02 02:04:46','',34,'http://icreatedev.com.au/snippets/34-revision-v1/',0,'revision','',0),(36,1,'2016-08-02 12:06:49','2016-08-02 02:06:49','<pre class=\"lang:default decode:true\">//returns the URL of a page where the template filename contains $template_string\n// if multiple pages use the page template, it will only return one\nfunction icreate_get_template_link( $template_string ) {\n    $args = array(\n        \'post_type\' =&gt; \'page\',\n        \'meta_key\' =&gt; \'_wp_page_template\',\n        \'meta_value\' =&gt; $template_string,\n        \'meta_compare\' =&gt; \'LIKE\',\n        \'posts_per_page\' =&gt; 1\n        );\n\n    $page_array = get_posts( $args );\n    if ( ! is_array( $page_array) ) {\n        return false;\n    }\n\n    $page = $page_array[0];\n    $page_id = $page-&gt;ID;\n    return get_permalink( $page_id );\n}\n</pre>\n&nbsp;','Get Template Link','','inherit','closed','closed','','34-autosave-v1','','','2016-08-02 12:06:49','2016-08-02 02:06:49','',34,'http://icreatedev.com.au/snippets/34-autosave-v1/',0,'revision','',0),(62,1,'2016-10-27 11:30:57','2016-10-27 01:30:57','<pre class=\"lang:js decode:true \">equalheight = function (container) {\r\n\r\n    var currentTallest = 0,\r\n        currentRowStart = 0,\r\n        rowDivs = [],\r\n        $el,\r\n        topPosition = 0;\r\n    $(container).each(function () {\r\n\r\n        $el = $(this);\r\n        $($el).height(\'auto\');\r\n        topPosition = $el.position().top;\r\n        if (currentRowStart == topPosition) {\r\n            rowDivs.push($el);\r\n            currentTallest = (currentTallest &lt; $el.height()) ? ($el.height()) : (currentTallest);\r\n        } else {\r\n            for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\r\n                rowDivs[currentDiv].height(currentTallest);\r\n            }\r\n            rowDivs.length = 0; // empty the array\r\n            currentRowStart = topPosition;\r\n            currentTallest = $el.height();\r\n            rowDivs.push($el);\r\n        }\r\n        for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\r\n            rowDivs[currentDiv].height(currentTallest);\r\n        }\r\n    });\r\n};\r\n\r\n$(window).load(function () {\r\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\r\n});\r\n\r\n\r\n$(window).resize(function () {\r\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\r\n});\r\n</pre>\r\n&nbsp;','Equal Height Elements','','publish','closed','closed','','equal-height-elements','','','2016-10-27 11:30:57','2016-10-27 01:30:57','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=62',0,'snippet','',0),(38,1,'2016-08-05 11:32:15','2016-08-05 01:32:15','For example, to get the first 10 URLs from the iCreate site:\n\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\n\nThen in your console:\n<pre class=\"lang:js decode:true crayon-selected\">linkElements = document.querySelectorAll(\'.g a\');\nlinks = [];\nfor (i = 0; i &lt; linkElements.length; ++i) {\n  links.push(linkElements[i].href);\n}\nfor (i = 0; i &lt; links.length; ++i) {\n  console.log(links[i]);\n}</pre>\nBookmarklet Optimised:\n<pre class=\"lang:js decode:true\">javascript:(function()%7BlinkElements%20%3D%20document.querySelectorAll(\'h3%20%20%3E%20a\')%3Blinks%20%3D%20%5B%5D%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20linkElements.length%3B%20%2B%2Bi)%20%7Blinks.push(linkElements%5Bi%5D.href)%3B%7Dfor%20(i%20%3D%200%3B%20i%20%3C%20links.length%3B%20%2B%2Bi)%20%7Bconsole.log(links%5Bi%5D)%3B%7D%7D)()</pre>\nPHP script to find non-200 responses:','Scrape Google SERP URLs.','','publish','closed','closed','','scrape-google-serp-urls','','','2022-01-10 14:17:19','2022-01-10 04:17:19','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=38',0,'snippet','',0),(39,1,'2016-08-05 11:32:15','2016-08-05 01:32:15','For example, to get the first 10 URLs from the iCreate site:\r\n\r\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\r\n\r\nThen in your console:\r\n<pre class=\"lang:js decode:true \">document.querySelectorAll(\'h3  &gt; a\');\r\nlinks = [];\r\nfor (i = 0; i &lt; linkElements.length; ++i) {\r\n  links.push(linkElements[i].href);\r\n}\r\nfor (i = 0; i &lt; links.length; ++i) {\r\n  console.log(links[i]);\r\n}</pre>\r\n&nbsp;','Scrape Google SERP URLs.','','inherit','closed','closed','','38-revision-v1','','','2016-08-05 11:32:15','2016-08-05 01:32:15','',38,'http://icreatedev.com.au/snippets/38-revision-v1/',0,'revision','',0),(40,1,'2016-08-08 10:36:05','2016-08-08 00:36:05','For example, to get the first 10 URLs from the iCreate site:\r\n\r\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\r\n\r\nThen in your console:\r\n<pre class=\"lang:js decode:true \">linkElements = document.querySelectorAll(\'h3  &gt; a\');\r\nlinks = [];\r\nfor (i = 0; i &lt; linkElements.length; ++i) {\r\n  links.push(linkElements[i].href);\r\n}\r\nfor (i = 0; i &lt; links.length; ++i) {\r\n  console.log(links[i]);\r\n}</pre>\r\n&nbsp;','Scrape Google SERP URLs.','','inherit','closed','closed','','38-revision-v1','','','2016-08-08 10:36:05','2016-08-08 00:36:05','',38,'http://icreatedev.com.au/snippets/38-revision-v1/',0,'revision','',0),(156,1,'2022-01-10 13:43:28','2022-01-10 03:43:28','For example, to get the first 10 URLs from the iCreate site:\n\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\n\nThen in your console:\n<pre class=\"lang:js decode:true crayon-selected\">linkElements = document.querySelectorAll(\'.g a\');\nlinks = [];\nfor (i = 0; i &lt; linkElements.length; ++i) {\n  links.push(linkElements[i].href);\n}\nfor (i = 0; i &lt; links.length; ++i) {\n  console.log(links[i]);\n}</pre>\nBookmarklet Optimised:\n<pre class=\"lang:js decode:true\">javascript:(function()%7BlinkElements%20%3D%20document.querySelectorAll(\'h3%20%20%3E%20a\')%3Blinks%20%3D%20%5B%5D%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20linkElements.length%3B%20%2B%2Bi)%20%7Blinks.push(linkElements%5Bi%5D.href)%3B%7Dfor%20(i%20%3D%200%3B%20i%20%3C%20links.length%3B%20%2B%2Bi)%20%7Bconsole.log(links%5Bi%5D)%3B%7D%7D)()</pre>','Scrape Google SERP URLs.','','inherit','closed','closed','','38-revision-v1','','','2022-01-10 13:43:28','2022-01-10 03:43:28','',38,'http://icreatedev.com.au/snippets/38-revision-v1/',0,'revision','',0),(42,1,'2016-08-08 10:51:11','2016-08-08 00:51:11','For example, to get the first 10 URLs from the iCreate site:\r\n\r\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\r\n\r\nThen in your console:\r\n<pre class=\"lang:js decode:true \">linkElements = document.querySelectorAll(\'h3  &gt; a\');\r\nlinks = [];\r\nfor (i = 0; i &lt; linkElements.length; ++i) {\r\n  links.push(linkElements[i].href);\r\n}\r\nfor (i = 0; i &lt; links.length; ++i) {\r\n  console.log(links[i]);\r\n}</pre>\r\nBookmarklet Optimised:\r\n<pre class=\"lang:js decode:true\">javascript:(function()%7BlinkElements%20%3D%20document.querySelectorAll(\'h3%20%20%3E%20a\')%3Blinks%20%3D%20%5B%5D%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20linkElements.length%3B%20%2B%2Bi)%20%7Blinks.push(linkElements%5Bi%5D.href)%3B%7Dfor%20(i%20%3D%200%3B%20i%20%3C%20links.length%3B%20%2B%2Bi)%20%7Bconsole.log(links%5Bi%5D)%3B%7D%7D)()</pre>\r\n&nbsp;','Scrape Google SERP URLs.','','inherit','closed','closed','','38-revision-v1','','','2016-08-08 10:51:11','2016-08-08 00:51:11','',38,'http://icreatedev.com.au/snippets/38-revision-v1/',0,'revision','',0),(45,1,'2016-08-26 09:31:18','2016-08-25 23:31:18','<h2>Markup</h2>\r\n<pre class=\"lang:default decode:true\">&lt;div class=\"menu-toggle\"&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n&lt;/div&gt;</pre>\r\n<h2>Less</h2>\r\n<pre class=\"lang:less decode:true \">.menu-toggle {\r\n	width: 20px;\r\n	height: 15px;\r\n	-webkit-transform: rotate(0deg);\r\n	-ms-transform: rotate(0deg);\r\n	transform: rotate(0deg);\r\n	-webkit-transition: .5s ease-in-out;\r\n	transition: .5s ease-in-out;\r\n	cursor: pointer;\r\n	position: absolute;\r\n	right: 20px;\r\n	// top: 10px;\r\n	bottom: 20px;\r\n	margin: 0;\r\n	-webkit-transition: all 0.2s ease;\r\n	-moz-transition: all 0.2s ease;\r\n	-ms-transition: all 0.2s ease;\r\n	-o-transition: all 0.2s ease;\r\n	transition: all 0.2s ease;\r\n	z-index: 5;\r\n	span {\r\n		display: block;\r\n		position: absolute;\r\n		height: 1px;\r\n		width: 100%;\r\n		border-radius: 1px;\r\n		left: 0;\r\n		-webkit-transition: .25s ease-in-out;\r\n		transition: .25s ease-in-out;\r\n		background: white;\r\n	}\r\n	span:nth-child(1) {\r\n		top: 0;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(2) {\r\n		top: 6px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(3) {\r\n		top: 12px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n	&amp;.open {\r\n		span:nth-child(1) {\r\n			-webkit-transform: rotate(45deg);\r\n			-ms-transform: rotate(45deg);\r\n			transform: rotate(45deg);\r\n			top: -1px;\r\n			left: 3px;\r\n		}\r\n		span:nth-child(2) {\r\n			width: 0;\r\n			opacity: 0;\r\n			filter: alpha(opacity=0);\r\n		}\r\n\r\n		span:nth-child(3) {\r\n			-webkit-transform: rotate(-45deg);\r\n			-ms-transform: rotate(-45deg);\r\n			transform: rotate(-45deg);\r\n			top: 13px;\r\n			left: 3px;\r\n		}\r\n\r\n	}\r\n}\r\n</pre>\r\n&nbsp;','Menu icon to Close icon','','inherit','closed','closed','','44-revision-v1','','','2016-08-26 09:31:18','2016-08-25 23:31:18','',44,'http://icreatedev.com.au/snippets/44-revision-v1/',0,'revision','',0),(46,1,'2016-08-26 09:36:47','2016-08-25 23:36:47','<h2>Markup</h2>\n<pre class=\"lang:default decode:true\">&lt;div class=\"menu-toggle\"&gt;\n	&lt;span&gt;&lt;/span&gt;\n	&lt;span&gt;&lt;/span&gt;\n	&lt;span&gt;&lt;/span&gt;\n&lt;/div&gt;</pre>\n<h2>Sass/Less</h2>\n<pre class=\"lang:less decode:true \">.menu-toggle {\n	width: 20px;\n	height: 15px;\n	-webkit-transform: rotate(0deg);\n	-ms-transform: rotate(0deg);\n	transform: rotate(0deg);\n	-webkit-transition: .5s ease-in-out;\n	transition: .5s ease-in-out;\n	cursor: pointer;\n	position: absolute;\n	right: 20px;\n	// top: 10px;\n	bottom: 20px;\n	margin: 0;\n	-webkit-transition: all 0.2s ease;\n	-moz-transition: all 0.2s ease;\n	-ms-transition: all 0.2s ease;\n	-o-transition: all 0.2s ease;\n	transition: all 0.2s ease;\n	z-index: 5;\n	span {\n		display: block;\n		position: absolute;\n		height: 1px;\n		width: 100%;\n		border-radius: 1px;\n		left: 0;\n		-webkit-transition: .25s ease-in-out;\n		transition: .25s ease-in-out;\n		background: white;\n	}\n	span:nth-child(1) {\n		top: 0;\n		-webkit-transform-origin: left center;\n		-ms-transform-origin: left center;\n		transform-origin: left center;\n	}\n\n	span:nth-child(2) {\n		top: 6px;\n		-webkit-transform-origin: left center;\n		-ms-transform-origin: left center;\n		transform-origin: left center;\n	}\n\n	span:nth-child(3) {\n		top: 12px;\n		-webkit-transform-origin: left center;\n		-ms-transform-origin: left center;\n		transform-origin: left center;\n	}\n	&amp;.open {\n		span:nth-child(1) {\n			-webkit-transform: rotate(45deg);\n			-ms-transform: rotate(45deg);\n			transform: rotate(45deg);\n			top: -1px;\n			left: 3px;\n		}\n		span:nth-child(2) {\n			width: 0;\n			opacity: 0;\n			filter: alpha(opacity=0);\n		}\n\n		span:nth-child(3) {\n			-webkit-transform: rotate(-45deg);\n			-ms-transform: rotate(-45deg);\n			transform: rotate(-45deg);\n			top: 13px;\n			left: 3px;\n		}\n\n	}\n}\n</pre>\n&nbsp;\n<h2>Javscript</h2>\n<pre class=\"lang:js decode:true \">jQuery(document).ready(function ($) {\n    $(\'.menu-toggle\').on(\'click\', function () {\n    	$(this).toggleClass(\'open\');\n    });\n});</pre>\n&nbsp;','Menu icon to Close icon','','inherit','closed','closed','','44-autosave-v1','','','2016-08-26 09:36:47','2016-08-25 23:36:47','',44,'http://icreatedev.com.au/snippets/44-autosave-v1/',0,'revision','',0),(47,1,'2016-08-26 09:36:48','2016-08-25 23:36:48','<h2>Markup</h2>\r\n<pre class=\"lang:default decode:true\">&lt;div class=\"menu-toggle\"&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n	&lt;span&gt;&lt;/span&gt;\r\n&lt;/div&gt;</pre>\r\n<h2>Sass/Less</h2>\r\n<pre class=\"lang:less decode:true  \">.menu-toggle {\r\n	width: 20px;\r\n	height: 15px;\r\n	-webkit-transform: rotate(0deg);\r\n	-ms-transform: rotate(0deg);\r\n	transform: rotate(0deg);\r\n	-webkit-transition: .5s ease-in-out;\r\n	transition: .5s ease-in-out;\r\n	cursor: pointer;\r\n	position: absolute;\r\n	right: 20px;\r\n	// top: 10px;\r\n	bottom: 20px;\r\n	margin: 0;\r\n	-webkit-transition: all 0.2s ease;\r\n	-moz-transition: all 0.2s ease;\r\n	-ms-transition: all 0.2s ease;\r\n	-o-transition: all 0.2s ease;\r\n	transition: all 0.2s ease;\r\n	z-index: 5;\r\n	span {\r\n		display: block;\r\n		position: absolute;\r\n		height: 1px;\r\n		width: 100%;\r\n		border-radius: 1px;\r\n		left: 0;\r\n		-webkit-transition: .25s ease-in-out;\r\n		transition: .25s ease-in-out;\r\n		background: white;\r\n	}\r\n	span:nth-child(1) {\r\n		top: 0;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(2) {\r\n		top: 6px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n\r\n	span:nth-child(3) {\r\n		top: 12px;\r\n		-webkit-transform-origin: left center;\r\n		-ms-transform-origin: left center;\r\n		transform-origin: left center;\r\n	}\r\n	&amp;.open {\r\n		span:nth-child(1) {\r\n			-webkit-transform: rotate(45deg);\r\n			-ms-transform: rotate(45deg);\r\n			transform: rotate(45deg);\r\n			top: -1px;\r\n			left: 3px;\r\n		}\r\n		span:nth-child(2) {\r\n			width: 0;\r\n			opacity: 0;\r\n			filter: alpha(opacity=0);\r\n		}\r\n\r\n		span:nth-child(3) {\r\n			-webkit-transform: rotate(-45deg);\r\n			-ms-transform: rotate(-45deg);\r\n			transform: rotate(-45deg);\r\n			top: 13px;\r\n			left: 3px;\r\n		}\r\n\r\n	}\r\n}\r\n</pre>\r\n&nbsp;\r\n<h2>Javscript</h2>\r\n<pre class=\"lang:js decode:true \">jQuery(document).ready(function ($) {\r\n    $(\'.menu-toggle\').on(\'click\', function () {\r\n    	$(this).toggleClass(\'open\');\r\n    });\r\n});</pre>\r\n&nbsp;','Menu icon to Close icon','','inherit','closed','closed','','44-revision-v1','','','2016-08-26 09:36:48','2016-08-25 23:36:48','',44,'http://icreatedev.com.au/snippets/44-revision-v1/',0,'revision','',0),(49,1,'2016-09-14 15:08:52','2016-09-14 05:08:52','<pre class=\"lang:php decode:true  \">add_action( \'wp_enqueue_scripts\', \'my_styles_method\' );\r\nfunction my_styles_method() {\r\n	$img_array = get_field( \'front_banner_image\' );\r\n	$url       = esc_url( $img_array[\'sizes\'][\'banner\'] );\r\n	ob_start();\r\n	\r\n	// add css here:\r\n	?&gt;\r\n	#home-banner {\r\n		background-image: url(\'&lt;?php echo $url; ?&gt;\');\r\n	}\r\n	&lt;?php\r\n\r\n	$styles = ob_get_clean();\r\n	// first argument is an existing enqueued script\r\n	wp_add_inline_style( \'base-stylesheet\', $styles );\r\n}\r\n</pre>','Add Inline Style','','publish','closed','closed','','add-inline-style','','','2016-09-14 15:09:22','2016-09-14 05:09:22','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=49',0,'snippet','',0),(50,1,'2016-09-14 15:08:52','2016-09-14 05:08:52','<pre class=\"lang:php decode:true  \">add_action( \'wp_enqueue_scripts\', \'my_styles_method\' );\r\nfunction my_styles_method() {\r\n	$img_array = get_field( \'front_banner_image\' );\r\n	$url       = esc_url( $img_array[\'sizes\'][\'banner\'] );\r\n	ob_start();\r\n	\r\n	// add css here:\r\n	?&gt;\r\n	#home-banner {\r\n		background-image: url(\'&lt;?php echo $url; ?&gt;\');\r\n	}\r\n	&lt;?php\r\n	$styles = ob_get_clean();\r\n	// first argument is an existing enqueued script\r\n	wp_add_inline_style( \'base-stylesheet\', $styles );\r\n}\r\n</pre>','Add Inline Style','','inherit','closed','closed','','49-revision-v1','','','2016-09-14 15:08:52','2016-09-14 05:08:52','',49,'http://icreatedev.com.au/snippets/49-revision-v1/',0,'revision','',0),(51,1,'2016-09-20 11:20:36','2016-09-20 01:20:36','<pre class=\"lang:php decode:true \">add_action( \'genesis_after_header\', \'icreate_banner\' );\r\n\r\nfunction icreate_banner() {\r\n	if ( is_front_page() ) {\r\n		return;\r\n	}\r\n\r\n	if ( is_home() ) {\r\n		$id = get_option( \'page_for_posts\' );\r\n	} else {\r\n		$id = get_the_ID();\r\n	}\r\n\r\n	?&gt;\r\n	&lt;div class=\"page-banner\" style=\"background-image: url(&lt;?php echo icreate_get_banner_bg(); ?&gt;)\"&gt;&lt;/div&gt;&lt;?php\r\n}\r\n\r\nfunction icreate_get_banner_bg( $id = false ) {\r\n	$id = $id ? $id : get_the_ID();\r\n\r\n	if ( get_field( \'custom_banner\', $id ) ) {\r\n		return get_field( \'custom_banner\', $id );\r\n	}\r\n	if ( get_field( \'default_banner\', \'option\' ) ) {\r\n		return get_field( \'default_banner\', \'option\' );\r\n	}\r\n\r\n	return THEME_URI . \'/images/fallback-banner.jpg\';\r\n}\r\n</pre>\r\n&nbsp;','Custom Banner (simple)','','publish','closed','closed','','custom-banner-simple','','','2016-09-20 11:20:36','2016-09-20 01:20:36','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=51',0,'snippet','',0),(52,1,'2016-09-20 11:20:36','2016-09-20 01:20:36','<pre class=\"lang:php decode:true \">add_action( \'genesis_after_header\', \'icreate_banner\' );\r\n\r\nfunction icreate_banner() {\r\n	if ( is_front_page() ) {\r\n		return;\r\n	}\r\n\r\n	if ( is_home() ) {\r\n		$id = get_option( \'page_for_posts\' );\r\n	} else {\r\n		$id = get_the_ID();\r\n	}\r\n\r\n	?&gt;\r\n	&lt;div class=\"page-banner\" style=\"background-image: url(&lt;?php echo icreate_get_banner_bg(); ?&gt;)\"&gt;&lt;/div&gt;&lt;?php\r\n}\r\n\r\nfunction icreate_get_banner_bg( $id = false ) {\r\n	$id = $id ? $id : get_the_ID();\r\n\r\n	if ( get_field( \'custom_banner\', $id ) ) {\r\n		return get_field( \'custom_banner\', $id );\r\n	}\r\n	if ( get_field( \'default_banner\', \'option\' ) ) {\r\n		return get_field( \'default_banner\', \'option\' );\r\n	}\r\n\r\n	return THEME_URI . \'/images/fallback-banner.jpg\';\r\n}\r\n</pre>\r\n&nbsp;','Custom Banner (simple)','','inherit','closed','closed','','51-revision-v1','','','2016-09-20 11:20:36','2016-09-20 01:20:36','',51,'http://icreatedev.com.au/snippets/51-revision-v1/',0,'revision','',0),(54,1,'2016-09-28 10:35:23','2016-09-28 00:35:23','<pre class=\"lang:php decode:true \">/**\r\n * Returns a post object based on the template slug\r\n * \r\n * @param $template_slug the filename of the template\r\n * @return Post object of the first page found, else false\r\n */\r\nfunction ic_get_page_by_template( $template_slug, $args = array() ) {\r\n	$defaults = array(\r\n		\'post_type\' =&gt; \'page\',\r\n		\'posts_per_page\' =&gt; \'1\',\r\n		\'meta_query\' =&gt; array (\r\n			array(\r\n				\'key\' 	=&gt; \'_wp_page_template\',\r\n				\'value\' =&gt; $template_slug\r\n				),\r\n			)\r\n		);\r\n\r\n	$args = wp_parse_args( $args, $defaults );;\r\n\r\n	$pages = get_posts( $args );\r\n	if ( $pages ) {\r\n		return $pages[0];\r\n	}\r\n	return false;\r\n}</pre>\r\n&nbsp;','Get Page by Template','','publish','closed','closed','','get-page-by-template','','','2016-09-28 10:35:23','2016-09-28 00:35:23','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=54',0,'snippet','',0),(55,1,'2016-09-28 10:35:23','2016-09-28 00:35:23','<pre class=\"lang:php decode:true \">/**\r\n * Returns a post object based on the template slug\r\n * \r\n * @param $template_slug the filename of the template\r\n * @return Post object of the first page found, else false\r\n */\r\nfunction ic_get_page_by_template( $template_slug, $args = array() ) {\r\n	$defaults = array(\r\n		\'post_type\' =&gt; \'page\',\r\n		\'posts_per_page\' =&gt; \'1\',\r\n		\'meta_query\' =&gt; array (\r\n			array(\r\n				\'key\' 	=&gt; \'_wp_page_template\',\r\n				\'value\' =&gt; $template_slug\r\n				),\r\n			)\r\n		);\r\n\r\n	$args = wp_parse_args( $args, $defaults );;\r\n\r\n	$pages = get_posts( $args );\r\n	if ( $pages ) {\r\n		return $pages[0];\r\n	}\r\n	return false;\r\n}</pre>\r\n&nbsp;','Get Page by Template','','inherit','closed','closed','','54-revision-v1','','','2016-09-28 10:35:23','2016-09-28 00:35:23','',54,'http://icreatedev.com.au/snippets/54-revision-v1/',0,'revision','',0),(57,1,'2016-10-17 13:49:21','2016-10-17 03:49:21','<pre class=\"\">add_filter( \'gform_submit_button\', \'form_submit_button\', 10, 5 );\r\nfunction form_submit_button ( $button, $form ){\r\n   $button = str_replace( \"input\", \"button\", $button );\r\n   $button = str_replace( \"/\", \"\", $button );\r\n   $button .= \"{$form[\'button\'][\'text\']}&lt;/button&gt;\";\r\n   return $button;\r\n}</pre>','Gravity Forms Submit button replace','','inherit','closed','closed','','10-revision-v1','','','2016-10-17 13:49:21','2016-10-17 03:49:21','',10,'http://icreatedev.com.au/snippets/10-revision-v1/',0,'revision','',0),(58,1,'2016-10-17 13:50:05','2016-10-17 03:50:05','<pre class=\"lang:php decode:true \">add_filter( \'gform_submit_button\', \'form_submit_button\', 10, 5 );\r\nfunction form_submit_button ( $button, $form ){\r\n	$button = str_replace( \"input\", \"button\", $button );\r\n	$button = str_replace( \"/\", \"\", $button );\r\n	$button .= \"{$form[\'button\'][\'text\']}&lt;/button&gt;\";\r\n	return $button;\r\n}</pre>\r\n&nbsp;','Gravity Forms Submit button replace','','inherit','closed','closed','','10-revision-v1','','','2016-10-17 13:50:05','2016-10-17 03:50:05','',10,'http://icreatedev.com.au/snippets/10-revision-v1/',0,'revision','',0),(59,1,'2016-10-21 14:43:19','0000-00-00 00:00:00','','Custom Admin Columns','','draft','open','open','','','','','2016-10-21 14:43:19','2016-10-21 04:43:19','',0,'http://icreatedev.com.au/snippets/?p=59',0,'post','',0),(60,1,'2016-10-21 14:44:10','2016-10-21 04:44:10','<pre class=\"lang:php decode:true \">//create custom column headers\r\nadd_filter( \'manage_edit-customer_columns\', \'ontex_add_customer_cat_column\' );\r\nfunction ontex_add_customer_cat_column( $defaults ) {\r\n	$defaults[\'hco-id\'] = \'Health  Care Org\';\r\n\r\n	return $defaults;\r\n}\r\n\r\n//make custom column headers sortable\r\nadd_filter( \"manage_edit-customer_sortable_columns\", \"ontex_customer_sortable_columns\" );\r\nfunction ontex_customer_sortable_columns( $columns ) {\r\n	$columns[\'hco-id\'] = \'hco-id\';\r\n\r\n	return $columns;\r\n}\r\n\r\n//populate custom column values\r\nadd_action( \'manage_customer_posts_custom_column\', \'ontex_populate_customer_cat_column\', 10, 2 );\r\nfunction ontex_populate_customer_cat_column( $column, $post_id ) {\r\n	switch ( $column ) {\r\n		case \'hco-id\':\r\n			$hco_post = get_post( get_post_meta( $post_id, \'hco-id\', true ) );\r\n			if ( $hco_post ) {\r\n				echo $hco_post-&gt;post_title;\r\n			}\r\n			break;\r\n	}\r\n}\r\n\r\n// create HCO dropdown filter\r\nadd_action( \'restrict_manage_posts\', \'ontex_admin_customers_filter_hco\' );\r\nfunction ontex_admin_customers_filter_hco( $post_type ) {\r\n	if ( \'customer\' === $post_type ) {\r\n\r\n		global $wpdb;\r\n		$sql  = \'SELECT ID, post_title FROM \' . $wpdb-&gt;posts . \' WHERE post_type LIKE \"hco\" AND post_status LIKE \"publish\"\';\r\n		$hcos = $wpdb-&gt;get_results( $sql, OBJECT );\r\n\r\n		?&gt;\r\n		&lt;select name=\"hco-id\"&gt;\r\n			&lt;option value=\"\"&gt;Filter by HCO&lt;/option&gt;\r\n			&lt;?php\r\n			$current_hco = isset( $_GET[\'hco-id\'] ) ? $_GET[\'hco-id\'] : \'\';\r\n			foreach ( $hcos as $hco ) : ?&gt;\r\n				&lt;option &lt;?php selected( $hco-&gt;ID, $current_hco ); ?&gt; value=\"&lt;?php echo $hco-&gt;ID; ?&gt;\"&gt;&lt;?php echo $hco-&gt;post_title; ?&gt;&lt;/option&gt;\r\n			&lt;?php endforeach; ?&gt;\r\n\r\n		&lt;/select&gt;\r\n		&lt;?php\r\n	}\r\n}\r\n\r\n//apply hco filtering to posts list results\r\nadd_filter( \'parse_query\', \'ontex_admin_filter_customers_by_hco\' );\r\nfunction ontex_admin_filter_customers_by_hco( $query ) {\r\n	global $pagenow;\r\n	if ( isset( $_GET[\'post_type\'] ) &amp;&amp; \'customer\' == $_GET[\'post_type\'] &amp;&amp;\r\n	     is_admin() &amp;&amp;\r\n	     $pagenow == \'edit.php\'\r\n	     &amp;&amp; isset( $_GET[\'hco-id\'] ) &amp;&amp; $_GET[\'hco-id\'] != \'\'\r\n	) {\r\n		$query-&gt;query_vars[\'meta_query\'][] = array(\r\n			\'key\'   =&gt; \'hco-id\',\r\n			\'value\' =&gt; intval( $_GET[\'hco-id\'] ),\r\n		);\r\n	}\r\n}</pre>\r\n&nbsp;','Custom Admin Columns','','publish','closed','closed','','custom-admin-columns','','','2016-10-21 14:44:10','2016-10-21 04:44:10','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=60',0,'snippet','',0),(61,1,'2016-10-21 14:44:10','2016-10-21 04:44:10','<pre class=\"lang:php decode:true \">//create custom column headers\r\nadd_filter( \'manage_edit-customer_columns\', \'ontex_add_customer_cat_column\' );\r\nfunction ontex_add_customer_cat_column( $defaults ) {\r\n	$defaults[\'hco-id\'] = \'Health  Care Org\';\r\n\r\n	return $defaults;\r\n}\r\n\r\n//make custom column headers sortable\r\nadd_filter( \"manage_edit-customer_sortable_columns\", \"ontex_customer_sortable_columns\" );\r\nfunction ontex_customer_sortable_columns( $columns ) {\r\n	$columns[\'hco-id\'] = \'hco-id\';\r\n\r\n	return $columns;\r\n}\r\n\r\n//populate custom column values\r\nadd_action( \'manage_customer_posts_custom_column\', \'ontex_populate_customer_cat_column\', 10, 2 );\r\nfunction ontex_populate_customer_cat_column( $column, $post_id ) {\r\n	switch ( $column ) {\r\n		case \'hco-id\':\r\n			$hco_post = get_post( get_post_meta( $post_id, \'hco-id\', true ) );\r\n			if ( $hco_post ) {\r\n				echo $hco_post-&gt;post_title;\r\n			}\r\n			break;\r\n	}\r\n}\r\n\r\n// create HCO dropdown filter\r\nadd_action( \'restrict_manage_posts\', \'ontex_admin_customers_filter_hco\' );\r\nfunction ontex_admin_customers_filter_hco( $post_type ) {\r\n	if ( \'customer\' === $post_type ) {\r\n\r\n		global $wpdb;\r\n		$sql  = \'SELECT ID, post_title FROM \' . $wpdb-&gt;posts . \' WHERE post_type LIKE \"hco\" AND post_status LIKE \"publish\"\';\r\n		$hcos = $wpdb-&gt;get_results( $sql, OBJECT );\r\n\r\n		?&gt;\r\n		&lt;select name=\"hco-id\"&gt;\r\n			&lt;option value=\"\"&gt;Filter by HCO&lt;/option&gt;\r\n			&lt;?php\r\n			$current_hco = isset( $_GET[\'hco-id\'] ) ? $_GET[\'hco-id\'] : \'\';\r\n			foreach ( $hcos as $hco ) : ?&gt;\r\n				&lt;option &lt;?php selected( $hco-&gt;ID, $current_hco ); ?&gt; value=\"&lt;?php echo $hco-&gt;ID; ?&gt;\"&gt;&lt;?php echo $hco-&gt;post_title; ?&gt;&lt;/option&gt;\r\n			&lt;?php endforeach; ?&gt;\r\n\r\n		&lt;/select&gt;\r\n		&lt;?php\r\n	}\r\n}\r\n\r\n//apply hco filtering to posts list results\r\nadd_filter( \'parse_query\', \'ontex_admin_filter_customers_by_hco\' );\r\nfunction ontex_admin_filter_customers_by_hco( $query ) {\r\n	global $pagenow;\r\n	if ( isset( $_GET[\'post_type\'] ) &amp;&amp; \'customer\' == $_GET[\'post_type\'] &amp;&amp;\r\n	     is_admin() &amp;&amp;\r\n	     $pagenow == \'edit.php\'\r\n	     &amp;&amp; isset( $_GET[\'hco-id\'] ) &amp;&amp; $_GET[\'hco-id\'] != \'\'\r\n	) {\r\n		$query-&gt;query_vars[\'meta_query\'][] = array(\r\n			\'key\'   =&gt; \'hco-id\',\r\n			\'value\' =&gt; intval( $_GET[\'hco-id\'] ),\r\n		);\r\n	}\r\n}</pre>\r\n&nbsp;','Custom Admin Columns','','inherit','closed','closed','','60-revision-v1','','','2016-10-21 14:44:10','2016-10-21 04:44:10','',60,'http://icreatedev.com.au/snippets/60-revision-v1/',0,'revision','',0),(63,1,'2016-10-27 11:30:57','2016-10-27 01:30:57','<pre class=\"lang:js decode:true \">equalheight = function (container) {\r\n\r\n    var currentTallest = 0,\r\n        currentRowStart = 0,\r\n        rowDivs = [],\r\n        $el,\r\n        topPosition = 0;\r\n    $(container).each(function () {\r\n\r\n        $el = $(this);\r\n        $($el).height(\'auto\');\r\n        topPosition = $el.position().top;\r\n        if (currentRowStart == topPosition) {\r\n            rowDivs.push($el);\r\n            currentTallest = (currentTallest &lt; $el.height()) ? ($el.height()) : (currentTallest);\r\n        } else {\r\n            for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\r\n                rowDivs[currentDiv].height(currentTallest);\r\n            }\r\n            rowDivs.length = 0; // empty the array\r\n            currentRowStart = topPosition;\r\n            currentTallest = $el.height();\r\n            rowDivs.push($el);\r\n        }\r\n        for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\r\n            rowDivs[currentDiv].height(currentTallest);\r\n        }\r\n    });\r\n};\r\n\r\n$(window).load(function () {\r\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\r\n});\r\n\r\n\r\n$(window).resize(function () {\r\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\r\n});\r\n</pre>\r\n&nbsp;','Equal Height Elements','','inherit','closed','closed','','62-revision-v1','','','2016-10-27 11:30:57','2016-10-27 01:30:57','',62,'http://icreatedev.com.au/snippets/62-revision-v1/',0,'revision','',0),(65,1,'2016-11-16 10:49:03','2016-11-16 00:49:03','<pre class=\"lang:js decode:true \">jQuery(\'a[data-scroll]\').click(function (e) {\r\n        var scrollTarget = jQuery(this).data(\'scroll\');\r\n        if ( $(scrollTarget).length ) {\r\n            $(\'html, body\').animate({\r\n                scrollTop: $(scrollTarget).first().offset().top\r\n            }, \'slow\');\r\n        }\r\n        e.preventDefault();\r\n    });</pre>\r\nexample:\r\n\r\n&lt;a href=\"#target\" data-scroll=\"#target\"&gt;Link&lt;/a&gt;','Scroll to target (Smooth Scroll)','','publish','closed','closed','','scroll-to-target-smooth-scroll','','','2016-11-16 10:49:03','2016-11-16 00:49:03','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=65',0,'snippet','',0),(66,1,'2016-11-16 10:49:03','2016-11-16 00:49:03','<pre class=\"lang:js decode:true \">jQuery(\'a[data-scroll]\').click(function (e) {\r\n        var scrollTarget = jQuery(this).data(\'scroll\');\r\n        if ( $(scrollTarget).length ) {\r\n            $(\'html, body\').animate({\r\n                scrollTop: $(scrollTarget).first().offset().top\r\n            }, \'slow\');\r\n        }\r\n        e.preventDefault();\r\n    });</pre>\r\nexample:\r\n\r\n&lt;a href=\"#target\" data-scroll=\"#target\"&gt;Link&lt;/a&gt;','Scroll to target (Smooth Scroll)','','inherit','closed','closed','','65-revision-v1','','','2016-11-16 10:49:03','2016-11-16 00:49:03','',65,'http://icreatedev.com.au/snippets/65-revision-v1/',0,'revision','',0),(67,1,'2016-11-16 10:51:56','2016-11-16 00:51:56','<pre class=\"lang:js decode:true  \">jQuery(\'a[data-scroll]\').click(function (e) {\n        var scrollTarget = jQuery(this).data(\'scroll\');\n        if ( $(scrollTarget).length ) {\n            $(\'html, body\').animate({\n                scrollTop: $(scrollTarget).first().offset().top\n            }, \'slow\');\n        }\n        e.preventDefault();\n    });</pre>\nexample:\n\n&lt;a href=\"#target\" data-scroll=\"#target\"&gt;Link&lt;/a&gt;','Scroll to target (Smooth Scroll)','','inherit','closed','closed','','65-autosave-v1','','','2016-11-16 10:51:56','2016-11-16 00:51:56','',65,'http://icreatedev.com.au/snippets/65-autosave-v1/',0,'revision','',0),(69,1,'2017-03-23 08:39:16','2017-03-22 22:39:16','<pre class=\"lang:mysql decode:true  \">SELECT `wp_posts`.* FROM `wp_posts`\r\nINNER JOIN `wp_postmeta`\r\nON `wp_posts`.ID = `wp_postmeta`.`post_id`\r\nWHERE `wp_postmeta`.`meta_key` LIKE \'something\'\r\nAND `wp_posts`.post_status LIKE \'PUBLISH\'</pre>\r\n&nbsp;','Join posts and meta with SQL','','publish','closed','closed','','join-posts-and-meta-with-sql','','','2017-03-23 08:39:16','2017-03-22 22:39:16','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=69',0,'snippet','',0),(70,1,'2017-03-23 08:39:16','2017-03-22 22:39:16','<pre class=\"lang:mysql decode:true  \">SELECT `wp_posts`.* FROM `wp_posts`\r\nINNER JOIN `wp_postmeta`\r\nON `wp_posts`.ID = `wp_postmeta`.`post_id`\r\nWHERE `wp_postmeta`.`meta_key` LIKE \'something\'\r\nAND `wp_posts`.post_status LIKE \'PUBLISH\'</pre>\r\n&nbsp;','Join posts and meta with SQL','','inherit','closed','closed','','69-revision-v1','','','2017-03-23 08:39:16','2017-03-22 22:39:16','',69,'http://icreatedev.com.au/snippets/69-revision-v1/',0,'revision','',0),(72,1,'2017-07-07 15:46:09','2017-07-07 05:46:09','<pre class=\"lang:php decode:true \" title=\"Generate Featured Image\">//credit: https://wordpress.stackexchange.com/questions/40301/how-do-i-set-a-featured-image-thumbnail-by-image-url-when-using-wp-insert-post\r\nif ( ! function_exists( \'Generate_Featured_Image\' ) ) {\r\n	function Generate_Featured_Image( $image_url, $post_id ) {\r\n		$upload_dir = wp_upload_dir();\r\n		$image_data = file_get_contents( $image_url );\r\n		$filename   = basename( $image_url );\r\n		if ( wp_mkdir_p( $upload_dir[\'path\'] ) ) {\r\n			$file = $upload_dir[\'path\'] . \'/\' . $filename;\r\n		}\r\n		else {\r\n			$file = $upload_dir[\'basedir\'] . \'/\' . $filename;\r\n		}\r\n		file_put_contents( $file, $image_data );\r\n\r\n		$wp_filetype = wp_check_filetype( $filename, null );\r\n		$attachment  = array(\r\n			\'post_mime_type\' =&gt; $wp_filetype[\'type\'],\r\n			\'post_title\'     =&gt; sanitize_file_name( $filename ),\r\n			\'post_content\'   =&gt; \'\',\r\n			\'post_status\'    =&gt; \'inherit\'\r\n		);\r\n		$attach_id   = wp_insert_attachment( $attachment, $file, $post_id );\r\n		require_once( ABSPATH . \'wp-admin/includes/image.php\' );\r\n		$attach_data = wp_generate_attachment_metadata( $attach_id, $file );\r\n		$res1        = wp_update_attachment_metadata( $attach_id, $attach_data );\r\n		$res2        = set_post_thumbnail( $post_id, $attach_id );\r\n	}\r\n}</pre>\r\n&nbsp;','Generate Featured Image','','publish','closed','closed','','generate-featured-image','','','2017-07-07 15:46:09','2017-07-07 05:46:09','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=72',0,'snippet','',0),(73,1,'2017-07-07 15:46:09','2017-07-07 05:46:09','<pre class=\"lang:php decode:true \" title=\"Generate Featured Image\">//credit: https://wordpress.stackexchange.com/questions/40301/how-do-i-set-a-featured-image-thumbnail-by-image-url-when-using-wp-insert-post\r\nif ( ! function_exists( \'Generate_Featured_Image\' ) ) {\r\n	function Generate_Featured_Image( $image_url, $post_id ) {\r\n		$upload_dir = wp_upload_dir();\r\n		$image_data = file_get_contents( $image_url );\r\n		$filename   = basename( $image_url );\r\n		if ( wp_mkdir_p( $upload_dir[\'path\'] ) ) {\r\n			$file = $upload_dir[\'path\'] . \'/\' . $filename;\r\n		}\r\n		else {\r\n			$file = $upload_dir[\'basedir\'] . \'/\' . $filename;\r\n		}\r\n		file_put_contents( $file, $image_data );\r\n\r\n		$wp_filetype = wp_check_filetype( $filename, null );\r\n		$attachment  = array(\r\n			\'post_mime_type\' =&gt; $wp_filetype[\'type\'],\r\n			\'post_title\'     =&gt; sanitize_file_name( $filename ),\r\n			\'post_content\'   =&gt; \'\',\r\n			\'post_status\'    =&gt; \'inherit\'\r\n		);\r\n		$attach_id   = wp_insert_attachment( $attachment, $file, $post_id );\r\n		require_once( ABSPATH . \'wp-admin/includes/image.php\' );\r\n		$attach_data = wp_generate_attachment_metadata( $attach_id, $file );\r\n		$res1        = wp_update_attachment_metadata( $attach_id, $attach_data );\r\n		$res2        = set_post_thumbnail( $post_id, $attach_id );\r\n	}\r\n}</pre>\r\n&nbsp;','Generate Featured Image','','inherit','closed','closed','','72-revision-v1','','','2017-07-07 15:46:09','2017-07-07 05:46:09','',72,'http://icreatedev.com.au/snippets/72-revision-v1/',0,'revision','',0),(76,1,'2017-07-31 11:24:57','2017-07-31 01:24:57','<pre class=\"lang:php decode:true  \" title=\"List Categories\">$cat_args = [\r\n		\'hierarchical\' =&gt; true,\r\n		\'title_li\'     =&gt; \'\',\r\n		\'hide_empty\'   =&gt; true,\r\n	];\r\n	?&gt;\r\n		&lt;ul class=\"category-list\"&gt;\r\n			&lt;?php wp_list_categories( $cat_args ); ?&gt;\r\n		&lt;/ul&gt;\r\n	&lt;?php</pre>\r\n&nbsp;','List Categories','','publish','closed','closed','','list-categories','','','2017-07-31 11:25:22','2017-07-31 01:25:22','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=76',0,'snippet','',0),(78,1,'2017-07-31 11:25:22','2017-07-31 01:25:22','<pre class=\"lang:php decode:true  \" title=\"List Categories\">$cat_args = [\r\n		\'hierarchical\' =&gt; true,\r\n		\'title_li\'     =&gt; \'\',\r\n		\'hide_empty\'   =&gt; true,\r\n	];\r\n	?&gt;\r\n		&lt;ul class=\"category-list\"&gt;\r\n			&lt;?php wp_list_categories( $cat_args ); ?&gt;\r\n		&lt;/ul&gt;\r\n	&lt;?php</pre>\r\n&nbsp;','List Categories','','inherit','closed','closed','','76-revision-v1','','','2017-07-31 11:25:22','2017-07-31 01:25:22','',76,'http://icreatedev.com.au/snippets/76-revision-v1/',0,'revision','',0),(77,1,'2017-07-31 11:24:57','2017-07-31 01:24:57','<pre class=\"lang:php decode:true \" title=\"List Categories\">$cat_args = [\r\n		\'hierarchical\' =&gt; true,\r\n		\'title_li\'     =&gt; \'\',\r\n		\'hide_empty\'   =&gt; true,\r\n	];\r\n	?&gt;\r\n	&lt;div class=\"widget widget--categories\"&gt;\r\n		&lt;h4 class=\"widget-title\"&gt;Categories&lt;/h4&gt;\r\n		&lt;ul class=\"category-list\"&gt;\r\n			&lt;?php wp_list_categories( $cat_args ); ?&gt;\r\n		&lt;/ul&gt;\r\n	&lt;/div&gt;\r\n	&lt;?php</pre>\r\n&nbsp;','List Categories','','inherit','closed','closed','','76-revision-v1','','','2017-07-31 11:24:57','2017-07-31 01:24:57','',76,'http://icreatedev.com.au/snippets/76-revision-v1/',0,'revision','',0),(82,1,'2017-08-17 13:48:05','2017-08-17 03:48:05','<pre class=\"lang:php decode:true\" title=\"TinyMCE Custom Formats\">add_filter( \'tiny_mce_before_init\', \'ic_custom_tinymce_formats\' );\r\nfunction ic_custom_tinymce_formats( $init_array ) {\r\n	$style_formats = array(\r\n		array(\r\n			\'title\' =&gt; \'Button\',\r\n			\'selector\' =&gt; \'a\',\r\n			\'classes\' =&gt; \'button\',\r\n		),\r\n	);\r\n	$init_array[\'style_formats\'] = json_encode( $style_formats );\r\n\r\n	return $init_array;\r\n\r\n}</pre>\r\n&nbsp;\r\n<h2>Appending (instead of replacing)</h2>\r\n<pre class=\"lang:php decode:true \" title=\"appending\">add_filter( \'tiny_mce_before_init\', \'ic_custom_tinymce_formats\' );\r\nfunction ic_custom_tinymce_formats( $settings ) {\r\n	$defaults = \'[{ \"title\": \"Headers\", \"items\": [\r\n        { \"title\": \"Header 1\", \"format\": \"h1\" },\r\n        { \"title\": \"Header 2\", \"format\": \"h2\" },\r\n        { \"title\": \"Header 3\", \"format\": \"h3\" },\r\n        { \"title\": \"Header 4\", \"format\": \"h4\" },\r\n        { \"title\": \"Header 5\", \"format\": \"h5\" },\r\n        { \"title\": \"Header 6\", \"format\": \"h6\" }\r\n    ] },\r\n\r\n    { \"title\": \"Inline\", \"items\": [\r\n        { \"title\": \"Bold\", \"icon\": \"bold\", \"format\": \"bold\" },\r\n        { \"title\": \"Italic\", \"icon\": \"italic\", \"format\": \"italic\" },\r\n        { \"title\": \"Underline\", \"icon\": \"underline\", \"format\": \"underline\" },\r\n        { \"title\": \"Strikethrough\", \"icon\": \"strikethrough\", \"format\": \"strikethrough\" },\r\n        { \"title\": \"Superscript\", \"icon\": \"superscript\", \"format\": \"superscript\" },\r\n        { \"title\": \"Subscript\", \"icon\": \"subscript\", \"format\": \"subscript\" },\r\n        { \"title\": \"Code\", \"icon\": \"code\", \"format\": \"code\" }\r\n    ] },\r\n\r\n    { \"title\": \"Blocks\", \"items\": [\r\n        { \"title\": \"Paragraph\", \"format\": \"p\" },\r\n        { \"title\": \"Blockquote\", \"format\": \"blockquote\" },\r\n        { \"title\": \"Div\", \"format\": \"div\" },\r\n        { \"title\": \"Pre\", \"format\": \"pre\" }\r\n    ] },\r\n\r\n    { \"title\": \"Alignment\", \"items\": [\r\n        { \"title\": \"Left\", \"icon\": \"alignleft\", \"format\": \"alignleft\" },\r\n        { \"title\": \"Center\", \"icon\": \"aligncenter\", \"format\": \"aligncenter\" },\r\n        { \"title\": \"Right\", \"icon\": \"alignright\", \"format\": \"alignright\" },\r\n        { \"title\": \"Justify\", \"icon\": \"alignjustify\", \"format\": \"alignjustify\" }\r\n        ] }\r\n ]\';\r\n\r\n	$style_formats = [\r\n		(object) [\r\n			\'title\' =&gt; \'Custom\',\r\n			\'items\' =&gt;\r\n				[\r\n					(object) [\r\n						\'title\'    =&gt; \'Button\',\r\n						\'selector\' =&gt; \'a\',\r\n						\'classes\'  =&gt; \'button\',\r\n					],\r\n				]\r\n		],\r\n	];\r\n\r\n\r\n	$settings[\'style_formats\'] = json_encode( array_merge( json_decode( $defaults ), $style_formats ) );\r\n\r\n	return $settings;</pre>\r\n&nbsp;','TinyMCE Custom Formats','','publish','closed','closed','','tinymce-custom-formats','','','2019-02-15 10:15:00','2019-02-15 00:15:00','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=82',0,'snippet','',0),(83,1,'2017-08-17 13:48:05','2017-08-17 03:48:05','<pre class=\"lang:php decode:true \" title=\"TinyMCE Custom Formats\">add_filter( \'tiny_mce_before_init\', \'ic_custom_tinymce_formats\' );\r\nfunction ic_custom_tinymce_formats( $init_array ) {\r\n	$style_formats = array(\r\n		array(\r\n			\'title\' =&gt; \'Button\',\r\n			\'selector\' =&gt; \'a\',\r\n			\'classes\' =&gt; \'button\',\r\n		),\r\n	);\r\n	$init_array[\'style_formats\'] = json_encode( $style_formats );\r\n\r\n	return $init_array;\r\n\r\n}</pre>\r\n&nbsp;','TinyMCE Custom Formats','','inherit','closed','closed','','82-revision-v1','','','2017-08-17 13:48:05','2017-08-17 03:48:05','',82,'http://icreatedev.com.au/snippets/82-revision-v1/',0,'revision','',0),(87,1,'2017-08-28 11:18:50','2017-08-28 01:18:50','<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\nnamespace icreate\\Bricks;\r\n\r\nuse GFAPI;\r\n\r\nclass FormBrick extends Brick {\r\n	\r\n	public function __construct( $group ) {\r\n		parent::__construct( $group, \'Form\', \'form\' );\r\n		\r\n		$form_field = $this-&gt;add_field( \'Form\', \'form\', [ \'type\' =&gt; \'select\' ] );\r\n		\r\n		add_filter( \'acf/load_field/key=\' . $form_field[\'key\'], [ $this, \'populate_form_select\' ] );\r\n	}\r\n	\r\n	public function populate_form_select( $field ) {\r\n		$field[\'choices\'] = array();\r\n		\r\n		foreach ( GFAPI::get_forms() as $form ) {\r\n			$field[\'choices\'][ $form[\'id\'] ] = $form[\'title\'];\r\n		}\r\n		\r\n		return $field;\r\n	}\r\n	\r\n	protected function display() {\r\n		$form = GFAPI::get_form( get_sub_field( \'form\' ) );\r\n		gravity_form( $form[\'id\'], false, false, false, null, true );\r\n	}\r\n	\r\n}\r\n</pre>\r\n&nbsp;','Gravity Form Brick Select Field','','inherit','closed','closed','','86-revision-v1','','','2017-08-28 11:18:50','2017-08-28 01:18:50','',86,'http://icreatedev.com.au/snippets/86-revision-v1/',0,'revision','',0),(86,1,'2017-08-28 11:19:09','2017-08-28 01:19:09','<pre class=\"lang:php decode:true  \">&lt;?php\r\n\r\nnamespace icreate\\Bricks;\r\n\r\nuse GFAPI;\r\n\r\nclass FormBrick extends Brick {\r\n	\r\n	public function __construct( $group ) {\r\n		parent::__construct( $group, \'Form\', \'form\' );\r\n		\r\n		$form_field = $this-&gt;add_field( \'Form\', \'form\', [ \'type\' =&gt; \'select\' ] );\r\n		\r\n		add_filter( \'acf/load_field/key=\' . $form_field[\'key\'], [ $this, \'populate_form_select\' ] );\r\n	}\r\n	\r\n	public function populate_form_select( $field ) {\r\n		$field[\'choices\'] = array();\r\n		\r\n		foreach ( GFAPI::get_forms() as $form ) {\r\n			$field[\'choices\'][ $form[\'id\'] ] = $form[\'title\'];\r\n		}\r\n		\r\n		return $field;\r\n	}\r\n	\r\n	protected function display() {\r\n		$form = GFAPI::get_form( get_sub_field( \'form\' ) );\r\n		gravity_form( $form[\'id\'], false, false, false, null, true );\r\n	}\r\n	\r\n}\r\n</pre>\r\n&nbsp;','Gravity Form Brick Select Field','','publish','closed','closed','','gravity-form-brick-select-field','','','2019-06-07 11:02:47','2019-06-07 01:02:47','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=86',0,'snippet','',0),(92,1,'2017-09-21 16:47:29','2017-09-21 06:47:29','<pre class=\"lang:php decode:true \" title=\"Login Form\">function ic_login() {\r\n\r\n	if ( ! class_exists( \'GFLoginWidget\' ) ) {\r\n		return new WP_Error( \'missing_plugin\', \'Missing required plugin: Gravity Forms\' );\r\n	}\r\n	the_widget( GFLoginWidget::class, array(\r\n		\'active_view\'         =&gt; \'logged-out\',\r\n		\'title\'               =&gt; \'Login\',\r\n		\'tabindex\'            =&gt; \'1\',\r\n		\'login_redirect_url\'  =&gt; home_url( \'/\' ),\r\n		\'logged_in_title\'     =&gt; \'Welcome {user:display_name}\',\r\n		\'logged_in_avatar\'    =&gt; 0,\r\n		\'logged_in_message\'   =&gt; \'\',\r\n		\'logout_redirect_url\' =&gt; home_url( \'/\' ),\r\n		\'logged_in_links\'     =&gt; array(),\r\n		\'logged_out_links\'    =&gt; array(\r\n			[ \'text\' =&gt; \'Forgot Password?\', \'url\' =&gt; \'{password_url}\' ],\r\n		),\r\n	) );\r\n}\r\n</pre>\r\n&nbsp;','Gravity Forms Login Form','','publish','closed','closed','','gravity-forms-login-form','','','2017-09-21 16:48:38','2017-09-21 06:48:38','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=92',0,'snippet','',0),(90,1,'2017-09-13 15:08:03','2017-09-13 05:08:03','<pre class=\"lang:php decode:true \">&lt;?php\r\nfunction kev_has_press( $id = false ) {\r\n	if ( ! $id ) {\r\n		$id = get_the_ID();\r\n	}\r\n\r\n	$args = array(\r\n		\'post_type\'      =&gt; \'press\',\r\n		\'posts_per_page\' =&gt; 1,\r\n		\'meta_query\'     =&gt; array(\r\n			array(\r\n				\'key\'     =&gt; \'tagged_artists\',\r\n				\'value\'   =&gt; \'\"\' . $id . \'\"\',\r\n				\'compare\' =&gt; \'LIKE\'\r\n			)\r\n		)\r\n	);\r\n\r\n	$press = get_posts( $args );\r\n\r\n	return ( ! empty( $press ) );\r\n}</pre>\r\n&nbsp;','ACF Relationship Query','','publish','closed','closed','','acf-relationship-query','','','2017-09-13 15:08:03','2017-09-13 05:08:03','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=90',0,'snippet','',0),(91,1,'2017-09-13 15:08:03','2017-09-13 05:08:03','<pre class=\"lang:php decode:true \">&lt;?php\r\nfunction kev_has_press( $id = false ) {\r\n	if ( ! $id ) {\r\n		$id = get_the_ID();\r\n	}\r\n\r\n	$args = array(\r\n		\'post_type\'      =&gt; \'press\',\r\n		\'posts_per_page\' =&gt; 1,\r\n		\'meta_query\'     =&gt; array(\r\n			array(\r\n				\'key\'     =&gt; \'tagged_artists\',\r\n				\'value\'   =&gt; \'\"\' . $id . \'\"\',\r\n				\'compare\' =&gt; \'LIKE\'\r\n			)\r\n		)\r\n	);\r\n\r\n	$press = get_posts( $args );\r\n\r\n	return ( ! empty( $press ) );\r\n}</pre>\r\n&nbsp;','ACF Relationship Query','','inherit','closed','closed','','90-revision-v1','','','2017-09-13 15:08:03','2017-09-13 05:08:03','',90,'http://icreatedev.com.au/snippets/90-revision-v1/',0,'revision','',0),(93,1,'2017-09-21 16:47:29','2017-09-21 06:47:29','<pre class=\"lang:php decode:true \" title=\"Login Form\">if ( ! class_exists( \'GFLoginWidget\' ) ) {\r\n		return new WP_Error( \'missing_plugin\', \'Missing required plugin: Gravity Forms\' );\r\n	}\r\n	the_widget( GFLoginWidget::class, array(\r\n		\'active_view\'         =&gt; \'logged-out\',\r\n		\'title\'               =&gt; \'Login\',\r\n		\'tabindex\'            =&gt; \'1\',\r\n		\'login_redirect_url\'  =&gt; \'\',\r\n		\'logged_in_title\'     =&gt; \'Welcome {user:display_name}\',\r\n		\'logged_in_avatar\'    =&gt; 0,\r\n		\'logged_in_message\'   =&gt; \'\',\r\n		\'logout_redirect_url\' =&gt; \'\',\r\n		\'logged_in_links\'     =&gt; array(),\r\n		\'logged_out_links\'    =&gt; array(\r\n			[ \'text\' =&gt; \'Forgot Password?\', \'url\' =&gt; \'{password_url}\' ],\r\n		),\r\n	) );</pre>\r\n&nbsp;','Gravity Forms Login Form','','inherit','closed','closed','','92-revision-v1','','','2017-09-21 16:47:29','2017-09-21 06:47:29','',92,'http://icreatedev.com.au/snippets/92-revision-v1/',0,'revision','',0),(94,1,'2017-09-21 16:48:04','2017-09-21 06:48:04','<pre class=\"lang:php decode:true \" title=\"Login Form\">function ic_login() {\r\n\r\n	if ( ! class_exists( \'GFLoginWidget\' ) ) {\r\n		return new WP_Error( \'missing_plugin\', \'Missing required plugin: Gravity Forms\' );\r\n	}\r\n	the_widget( GFLoginWidget::class, array(\r\n		\'active_view\'         =&gt; \'logged-out\',\r\n		\'title\'               =&gt; \'Login\',\r\n		\'tabindex\'            =&gt; \'1\',\r\n		\'login_redirect_url\'  =&gt; CC_ACCOUNT_URL,\r\n		\'logged_in_title\'     =&gt; \'Welcome {user:display_name}\',\r\n		\'logged_in_avatar\'    =&gt; 0,\r\n		\'logged_in_message\'   =&gt; \'\',\r\n		\'logout_redirect_url\' =&gt; home_url(\'/\'),\r\n		\'logged_in_links\'     =&gt; array(),\r\n		\'logged_out_links\'    =&gt; array(\r\n			[ \'text\' =&gt; \'Forgot Password?\', \'url\' =&gt; \'{password_url}\' ],\r\n		),\r\n	) );\r\n}</pre>\r\n&nbsp;','Gravity Forms Login Form','','inherit','closed','closed','','92-revision-v1','','','2017-09-21 16:48:04','2017-09-21 06:48:04','',92,'http://icreatedev.com.au/snippets/92-revision-v1/',0,'revision','',0),(95,1,'2017-09-21 16:48:38','2017-09-21 06:48:38','<pre class=\"lang:php decode:true \" title=\"Login Form\">function ic_login() {\r\n\r\n	if ( ! class_exists( \'GFLoginWidget\' ) ) {\r\n		return new WP_Error( \'missing_plugin\', \'Missing required plugin: Gravity Forms\' );\r\n	}\r\n	the_widget( GFLoginWidget::class, array(\r\n		\'active_view\'         =&gt; \'logged-out\',\r\n		\'title\'               =&gt; \'Login\',\r\n		\'tabindex\'            =&gt; \'1\',\r\n		\'login_redirect_url\'  =&gt; home_url( \'/\' ),\r\n		\'logged_in_title\'     =&gt; \'Welcome {user:display_name}\',\r\n		\'logged_in_avatar\'    =&gt; 0,\r\n		\'logged_in_message\'   =&gt; \'\',\r\n		\'logout_redirect_url\' =&gt; home_url( \'/\' ),\r\n		\'logged_in_links\'     =&gt; array(),\r\n		\'logged_out_links\'    =&gt; array(\r\n			[ \'text\' =&gt; \'Forgot Password?\', \'url\' =&gt; \'{password_url}\' ],\r\n		),\r\n	) );\r\n}\r\n</pre>\r\n&nbsp;','Gravity Forms Login Form','','inherit','closed','closed','','92-revision-v1','','','2017-09-21 16:48:38','2017-09-21 06:48:38','',92,'http://icreatedev.com.au/snippets/92-revision-v1/',0,'revision','',0),(106,1,'2018-06-18 10:43:11','2018-06-18 00:43:11','JS snippet that add/removes a class when the placeholder is selected:\r\n<pre class=\"lang:js decode:true\">setupSelects(\'.gfield_select\');\r\n\r\n$(document).on(\'gform_post_render\', function (event, formId) {\r\n    setupSelects(\'#gform_wrapper_\' + formId + \' .gfield_select\');\r\n});\r\n\r\nfunction setupSelects(selector) {\r\n    var $selects = $(selector);\r\n    \r\n    $selects.each(function () {\r\n        updateSelect(this);\r\n    });\r\n    \r\n    $selects.on(\'change\', function () {\r\n        updateSelect(this);\r\n    });\r\n}\r\n\r\nfunction updateSelect(select) {\r\n    var $select = $(select);\r\n    \r\n    if ($select.find(\":selected\").hasClass(\'gf_placeholder\')) {\r\n        $select.addClass(\"placeholder_selected\");\r\n    } else {\r\n        $select.removeClass(\"placeholder_selected\");\r\n    }\r\n}\r\n</pre>\r\nExample CSS:\r\n<pre class=\"lang:css decode:true\">.gfield_select {\r\n    option {\r\n        color: $body-color;\r\n        \r\n        &amp;.gf_placeholder {\r\n            color: $placeholder-color;\r\n        }\r\n    }\r\n    \r\n    &amp;.placeholder_selected {\r\n        color: $placeholder-color;\r\n    }\r\n}\r\n</pre>','Gravity forms select placeholder styling','','publish','closed','closed','','gravity-forms-select-placeholder-styling','','','2018-06-20 09:01:25','2018-06-19 23:01:25','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=106',0,'snippet','',0),(97,1,'2017-09-22 09:44:15','2017-09-21 23:44:15','\r\n<pre class=\"lang:default decode:true\">add_filter( \'genesis_structural_wrap-menu-primary\', \'__return_empty_string\' );</pre>\r\n&nbsp;\r\n\r\nFilter lives in genesis/lib/functions/layout.php line 597\r\n<pre class=\"\">$output = apply_filters( \"genesis_structural_wrap-{$context}\", $output, $original_output );</pre>\r\n','Remove Genesis wrap','','publish','closed','closed','','remove-genesis-wrap','','','2017-09-22 09:44:15','2017-09-21 23:44:15','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=97',0,'snippet','',0),(98,1,'2017-09-22 09:44:15','2017-09-21 23:44:15','\r\n<pre class=\"lang:default decode:true\">add_filter( \'genesis_structural_wrap-menu-primary\', \'__return_empty_string\' );</pre>\r\n&nbsp;\r\n\r\nFilter lives in genesis/lib/functions/layout.php line 597\r\n<pre class=\"\">$output = apply_filters( \"genesis_structural_wrap-{$context}\", $output, $original_output );</pre>\r\n','Remove Genesis wrap','','inherit','closed','closed','','97-revision-v1','','','2017-09-22 09:44:15','2017-09-21 23:44:15','',97,'http://icreatedev.com.au/snippets/97-revision-v1/',0,'revision','',0),(102,1,'2018-04-13 15:46:07','2018-04-13 05:46:07','Cut and paste snippet for adding a class to body if the page has been scrolled.\r\n\r\nUseful for shrinking the menu on scroll, hiding things etc.\r\n<pre class=\"lang:js decode:true\">var $body = $(\'body\'),\r\n    last_known_scroll_position = 0,\r\n    isScrolling = false;\r\n\r\nfunction scrollUpdate(scroll_pos) {\r\n    if ( scroll_pos === 0 ) {\r\n        $body.removeClass(\'is-scrolling\');\r\n    } else {\r\n        $body.addClass(\'is-scrolling\');\r\n    }\r\n}\r\n\r\nwindow.addEventListener(\'scroll\', function(e) {\r\n    last_known_scroll_position = window.scrollY;\r\n    \r\n    if (!isScrolling) {\r\n        window.requestAnimationFrame(function() {\r\n            scrollUpdate(last_known_scroll_position);\r\n            isScrolling = false;\r\n        });\r\n        isScrolling = true;\r\n    }\r\n});\r\n</pre>','Add scrolling class to body (for menu change etc)','','publish','closed','closed','','add-scrolling-class-to-body-for-menu-change-etc','','','2018-04-13 15:46:07','2018-04-13 05:46:07','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=102',0,'snippet','',0),(103,1,'2018-06-18 10:41:41','2018-06-18 00:41:41','<pre class=\"lang:js decode:true\">equalheight = function (container) {\n\n    var currentTallest = 0,\n        currentRowStart = 0,\n        rowDivs = [],\n        $el,\n        topPosition = 0;\n    $(container).each(function () {\n\n        $el = $(this);\n        $($el).height(\'auto\');\n        topPosition = $el.position().top;\n        if (currentRowStart == topPosition) {\n            rowDivs.push($el);\n            currentTallest = (currentTallest &lt; $el.height()) ? ($el.height()) : (currentTallest);\n        } else {\n            for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\n                rowDivs[currentDiv].height(currentTallest);\n            }\n            rowDivs.length = 0; // empty the array\n            currentRowStart = topPosition;\n            currentTallest = $el.height();\n            rowDivs.push($el);\n        }\n        for (currentDiv = 0; currentDiv &lt; rowDivs.length; currentDiv++) {\n            rowDivs[currentDiv].height(currentTallest);\n        }\n    });\n};\n\n$(window).load(function () {\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\n});\n\n\n$(window).resize(function () {\n    equalheight(\'.content-brick--wayfinder__item__excerpt\');\n});\n</pre>\n&nbsp;','Equal Height Elements','','inherit','closed','closed','','62-autosave-v1','','','2018-06-18 10:41:41','2018-06-18 00:41:41','',62,'http://icreatedev.com.au/snippets/62-autosave-v1/',0,'revision','',0),(104,1,'2018-04-13 15:46:07','2018-04-13 05:46:07','Cut and paste snippet for adding a class to body if the page has been scrolled.\r\n\r\nUseful for shrinking the menu on scroll, hiding things etc.\r\n<pre class=\"lang:js decode:true\">var $body = $(\'body\'),\r\n    last_known_scroll_position = 0,\r\n    isScrolling = false;\r\n\r\nfunction scrollUpdate(scroll_pos) {\r\n    if ( scroll_pos === 0 ) {\r\n        $body.removeClass(\'is-scrolling\');\r\n    } else {\r\n        $body.addClass(\'is-scrolling\');\r\n    }\r\n}\r\n\r\nwindow.addEventListener(\'scroll\', function(e) {\r\n    last_known_scroll_position = window.scrollY;\r\n    \r\n    if (!isScrolling) {\r\n        window.requestAnimationFrame(function() {\r\n            scrollUpdate(last_known_scroll_position);\r\n            isScrolling = false;\r\n        });\r\n        isScrolling = true;\r\n    }\r\n});\r\n</pre>','Add scrolling class to body (for menu change etc)','','inherit','closed','closed','','102-revision-v1','','','2018-04-13 15:46:07','2018-04-13 05:46:07','',102,'http://icreatedev.com.au/snippets/102-revision-v1/',0,'revision','',0),(107,1,'2018-06-18 10:43:11','2018-06-18 00:43:11','JS snippet that add/removes a class when the placeholder is selected:\r\n<pre class=\"lang:js decode:true\">var $selects = $(\'.gfield_select\'); \r\n\r\n$selects.each(function () {\r\n    updateSelect(this);\r\n});\r\n\r\n$selects.on(\'change\', function() {\r\n    updateSelect(this);\r\n});\r\n\r\nfunction updateSelect(select) {\r\n    var $select = $(select);\r\n    if ( $select.find(\":selected\").hasClass(\'gf_placeholder\') ) {\r\n        $select.addClass(\"placeholder_selected\");\r\n    } else {\r\n        $select.removeClass(\"placeholder_selected\");\r\n    }\r\n}\r\n</pre>\r\nExample CSS:\r\n<pre class=\"lang:css decode:true\">.gfield_select {\r\n    option {\r\n        color: $body-color;\r\n        \r\n        &amp;.gf_placeholder {\r\n            color: $placeholder-color;\r\n        }\r\n    }\r\n    \r\n    &amp;.placeholder_selected {\r\n        color: $placeholder-color;\r\n    }\r\n}\r\n</pre>','Gravity forms select placeholder styling','','inherit','closed','closed','','106-revision-v1','','','2018-06-18 10:43:11','2018-06-18 00:43:11','',106,'http://icreatedev.com.au/snippets/106-revision-v1/',0,'revision','',0),(111,1,'2018-06-20 09:01:25','2018-06-19 23:01:25','JS snippet that add/removes a class when the placeholder is selected:\r\n<pre class=\"lang:js decode:true\">setupSelects(\'.gfield_select\');\r\n\r\n$(document).on(\'gform_post_render\', function (event, formId) {\r\n    setupSelects(\'#gform_wrapper_\' + formId + \' .gfield_select\');\r\n});\r\n\r\nfunction setupSelects(selector) {\r\n    var $selects = $(selector);\r\n    \r\n    $selects.each(function () {\r\n        updateSelect(this);\r\n    });\r\n    \r\n    $selects.on(\'change\', function () {\r\n        updateSelect(this);\r\n    });\r\n}\r\n\r\nfunction updateSelect(select) {\r\n    var $select = $(select);\r\n    \r\n    if ($select.find(\":selected\").hasClass(\'gf_placeholder\')) {\r\n        $select.addClass(\"placeholder_selected\");\r\n    } else {\r\n        $select.removeClass(\"placeholder_selected\");\r\n    }\r\n}\r\n</pre>\r\nExample CSS:\r\n<pre class=\"lang:css decode:true\">.gfield_select {\r\n    option {\r\n        color: $body-color;\r\n        \r\n        &amp;.gf_placeholder {\r\n            color: $placeholder-color;\r\n        }\r\n    }\r\n    \r\n    &amp;.placeholder_selected {\r\n        color: $placeholder-color;\r\n    }\r\n}\r\n</pre>','Gravity forms select placeholder styling','','inherit','closed','closed','','106-revision-v1','','','2018-06-20 09:01:25','2018-06-19 23:01:25','',106,'http://icreatedev.com.au/snippets/106-revision-v1/',0,'revision','',0),(109,1,'2018-06-18 10:46:11','2018-06-18 00:46:11','Update/remove the media query and container class as needed.\r\n<pre class=\"lang:js decode:true\">var formHeightMQ = window.matchMedia(\"(min-width: 992px)\");\r\nvar formWrapper = \'.form\';\r\nvar formHeights = {};\r\n\r\n$(\'.gform_button\').on(\'click\', function(elem) {\r\n    var $button = $(this);\r\n    var formID = $button.attr(\'id\').replace(\'gform_submit_button_\', \'\');\r\n    \r\n    formHeights[formID] = $button.parents(formWrapper).height();\r\n});\r\n\r\n$(document).on(\'gform_confirmation_loaded\', function(event, formId) {\r\n    if (formHeightMQ.matches) {\r\n        $(\'#gform_confirmation_wrapper_\' + formId).parents(formWrapper).height(formHeights[formId.toString()]);\r\n    }\r\n});\r\n</pre>','Retain gravity form height after submission','','publish','closed','closed','','retain-gravity-form-height-after-submission','','','2018-06-18 10:46:11','2018-06-18 00:46:11','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=109',0,'snippet','',0),(110,1,'2018-06-18 10:46:11','2018-06-18 00:46:11','Update/remove the media query and container class as needed.\r\n<pre class=\"lang:js decode:true\">var formHeightMQ = window.matchMedia(\"(min-width: 992px)\");\r\nvar formWrapper = \'.form\';\r\nvar formHeights = {};\r\n\r\n$(\'.gform_button\').on(\'click\', function(elem) {\r\n    var $button = $(this);\r\n    var formID = $button.attr(\'id\').replace(\'gform_submit_button_\', \'\');\r\n    \r\n    formHeights[formID] = $button.parents(formWrapper).height();\r\n});\r\n\r\n$(document).on(\'gform_confirmation_loaded\', function(event, formId) {\r\n    if (formHeightMQ.matches) {\r\n        $(\'#gform_confirmation_wrapper_\' + formId).parents(formWrapper).height(formHeights[formId.toString()]);\r\n    }\r\n});\r\n</pre>','Retain gravity form height after submission','','inherit','closed','closed','','109-revision-v1','','','2018-06-18 10:46:11','2018-06-18 00:46:11','',109,'http://icreatedev.com.au/snippets/109-revision-v1/',0,'revision','',0),(113,1,'2018-07-13 09:38:02','2018-07-12 23:38:02','Example starter template that removes a bunch of the markup Genesis adds to have a cleaner slate for simpler templates like landing pages.\r\n<pre class=\"lang:php decode:true\">&lt;?php\r\n\r\n/* Template Name: Landing Page */\r\n\r\nadd_theme_support( \'genesis-structural-wraps\', array() );\r\nadd_theme_support( \'genesis-menus\', array() );\r\nadd_theme_support( \'genesis-accessibility\', array( \'headings\' ) );\r\n\r\nremove_action( \'genesis_header\', \'genesis_do_header\' );\r\nremove_action( \'genesis_footer\', \'genesis_do_footer\' );\r\n\r\n\r\nadd_action( \'genesis_header\', \'landing_page_header\' );\r\nfunction landing_page_header() {\r\n    // code\r\n}\r\n\r\nadd_action( \'page_content\', \'landing_page_content\' );\r\nfunction landing_page_content() {\r\n    // code\r\n}\r\n\r\nadd_action( \'genesis_footer\', \'landing_page_footer\' );\r\nfunction landing_page_footer() {\r\n    // code\r\n}\r\n\r\nget_header();\r\ndo_action( \'page_content\' );\r\nget_footer();\r\n</pre>','Genesis Landing Starter Template','','publish','closed','closed','','genesis-landing-starter-template','','','2018-07-13 09:38:54','2018-07-12 23:38:54','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=113',0,'snippet','',0),(114,1,'2018-07-13 09:37:27','2018-07-12 23:37:27','<pre class=\"lang:default decode:true\">add_filter( \'genesis_structural_wrap-menu-primary\', \'__return_empty_string\' );</pre>\n&nbsp;\n\nFilter lives in genesis/lib/functions/layout.php line 597\n<pre class=\"\">$output = apply_filters( \"genesis_structural_wrap-{$context}\", $output, $original_output );</pre>','Remove Genesis wrap','','inherit','closed','closed','','97-autosave-v1','','','2018-07-13 09:37:27','2018-07-12 23:37:27','',97,'http://icreatedev.com.au/snippets/97-autosave-v1/',0,'revision','',0),(115,1,'2018-07-13 09:38:02','2018-07-12 23:38:02','Example starter template that removes a bunch of the markup Genesis adds to have a cleaner slate for simpler templates like landing pages.\r\n<pre class=\"lang:php\">&lt;?php\r\n\r\n/* Template Name: Landing Page */\r\n\r\nadd_theme_support( \'genesis-structural-wraps\', array() );\r\nadd_theme_support( \'genesis-menus\', array() );\r\nadd_theme_support( \'genesis-accessibility\', array( \'headings\' ) );\r\n\r\nremove_action( \'genesis_header\', \'genesis_do_header\' );\r\nremove_action( \'genesis_footer\', \'genesis_do_footer\' );\r\n\r\n\r\nadd_action( \'genesis_header\', \'landing_page_header\' );\r\nfunction landing_page_header() {\r\n    // code\r\n}\r\n\r\nadd_action( \'page_content\', \'landing_page_content\' );\r\nfunction landing_page_content() {\r\n    // code\r\n}\r\n\r\nadd_action( \'genesis_footer\', \'landing_page_footer\' );\r\nfunction landing_page_footer() {\r\n    // code\r\n}\r\n\r\nget_header();\r\ndo_action( \'page_content\' );\r\nget_footer();\r\n</pre>','Genesis Landing Starter Template','','inherit','closed','closed','','113-revision-v1','','','2018-07-13 09:38:02','2018-07-12 23:38:02','',113,'http://icreatedev.com.au/snippets/113-revision-v1/',0,'revision','',0),(116,1,'2018-07-13 09:38:54','2018-07-12 23:38:54','Example starter template that removes a bunch of the markup Genesis adds to have a cleaner slate for simpler templates like landing pages.\r\n<pre class=\"lang:php decode:true\">&lt;?php\r\n\r\n/* Template Name: Landing Page */\r\n\r\nadd_theme_support( \'genesis-structural-wraps\', array() );\r\nadd_theme_support( \'genesis-menus\', array() );\r\nadd_theme_support( \'genesis-accessibility\', array( \'headings\' ) );\r\n\r\nremove_action( \'genesis_header\', \'genesis_do_header\' );\r\nremove_action( \'genesis_footer\', \'genesis_do_footer\' );\r\n\r\n\r\nadd_action( \'genesis_header\', \'landing_page_header\' );\r\nfunction landing_page_header() {\r\n    // code\r\n}\r\n\r\nadd_action( \'page_content\', \'landing_page_content\' );\r\nfunction landing_page_content() {\r\n    // code\r\n}\r\n\r\nadd_action( \'genesis_footer\', \'landing_page_footer\' );\r\nfunction landing_page_footer() {\r\n    // code\r\n}\r\n\r\nget_header();\r\ndo_action( \'page_content\' );\r\nget_footer();\r\n</pre>','Genesis Landing Starter Template','','inherit','closed','closed','','113-revision-v1','','','2018-07-13 09:38:54','2018-07-12 23:38:54','',113,'http://icreatedev.com.au/snippets/113-revision-v1/',0,'revision','',0),(118,1,'2018-07-25 13:35:55','2018-07-25 03:35:55','<pre class=\"lang:default decode:true  \">&lt;?php\r\nadd_filter( \'gform_pre_render\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_pre_validation\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_pre_submission_filter\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_admin_pre_render\', \'prefix_populate_posts\' );\r\nfunction prefix_populate_posts( $form ) {\r\n\r\n	$field_class      = \'post-select\';\r\n	$post_type        = \'post\';\r\n	$placeholder_text = \'Please select one..\';\r\n\r\n	foreach ( $form[\'fields\'] as $field ) {\r\n\r\n		if ( strpos( $field-&gt;cssClass, $field_class ) === false ) {\r\n			continue;\r\n		}\r\n\r\n		$posts = get_posts( [\r\n			\'post_type\'      =&gt; $post_type,\r\n			\'orderby\'        =&gt; \'post_title\',\r\n			\'order\'          =&gt; \'ASC\',\r\n			\'posts_per_page\' =&gt; \'-1\'\r\n		] );\r\n\r\n		$choices = [];\r\n\r\n		foreach ( $posts as $post ) {\r\n			$id = get_post_meta( $post-&gt;ID, \'post_id\', true );\r\n\r\n			$choices[] = array( \'text\' =&gt; $post-&gt;post_title, \'value\' =&gt; $post-&gt;post_title );\r\n		}\r\n		$field-&gt;placeholder = $placeholder_text;\r\n		$field-&gt;choices     = $choices;\r\n\r\n	}\r\n\r\n	return $form;\r\n}</pre>','Populate Select From Posts - Gravity Forms','','publish','closed','closed','','populate-select-from-posts-gravity-forms','','','2018-07-25 13:35:55','2018-07-25 03:35:55','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=118',0,'snippet','',0),(119,1,'2018-07-25 13:35:55','2018-07-25 03:35:55','<pre class=\"lang:default decode:true  \">&lt;?php\r\nadd_filter( \'gform_pre_render\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_pre_validation\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_pre_submission_filter\', \'prefix_populate_posts\' );\r\nadd_filter( \'gform_admin_pre_render\', \'prefix_populate_posts\' );\r\nfunction prefix_populate_posts( $form ) {\r\n\r\n	$field_class      = \'post-select\';\r\n	$post_type        = \'post\';\r\n	$placeholder_text = \'Please select one..\';\r\n\r\n	foreach ( $form[\'fields\'] as $field ) {\r\n\r\n		if ( strpos( $field-&gt;cssClass, $field_class ) === false ) {\r\n			continue;\r\n		}\r\n\r\n		$posts = get_posts( [\r\n			\'post_type\'      =&gt; $post_type,\r\n			\'orderby\'        =&gt; \'post_title\',\r\n			\'order\'          =&gt; \'ASC\',\r\n			\'posts_per_page\' =&gt; \'-1\'\r\n		] );\r\n\r\n		$choices = [];\r\n\r\n		foreach ( $posts as $post ) {\r\n			$id = get_post_meta( $post-&gt;ID, \'post_id\', true );\r\n\r\n			$choices[] = array( \'text\' =&gt; $post-&gt;post_title, \'value\' =&gt; $post-&gt;post_title );\r\n		}\r\n		$field-&gt;placeholder = $placeholder_text;\r\n		$field-&gt;choices     = $choices;\r\n\r\n	}\r\n\r\n	return $form;\r\n}</pre>','Populate Select From Posts - Gravity Forms','','inherit','closed','closed','','118-revision-v1','','','2018-07-25 13:35:55','2018-07-25 03:35:55','',118,'http://icreatedev.com.au/snippets/118-revision-v1/',0,'revision','',0),(121,1,'2018-08-29 11:06:57','2018-08-29 01:06:57','<pre class=\"lang:js decode:true \">function viewport() {\r\n	var e = window, a = \'inner\';\r\n	if (!(\'innerWidth\' in window )) {\r\n		a = \'client\';\r\n		e = document.documentElement || document.body;\r\n	}\r\n	return { width : e[ a+\'Width\' ] , height : e[ a+\'Height\' ] };\r\n}</pre>\r\n&nbsp;','Get Viewport Size','','publish','closed','closed','','get-viewport-size','','','2018-08-29 11:06:57','2018-08-29 01:06:57','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=121',0,'snippet','',0),(122,1,'2018-08-29 11:06:57','2018-08-29 01:06:57','<pre class=\"lang:js decode:true \">function viewport() {\r\n	var e = window, a = \'inner\';\r\n	if (!(\'innerWidth\' in window )) {\r\n		a = \'client\';\r\n		e = document.documentElement || document.body;\r\n	}\r\n	return { width : e[ a+\'Width\' ] , height : e[ a+\'Height\' ] };\r\n}</pre>\r\n&nbsp;','Get Viewport Size','','inherit','closed','closed','','121-revision-v1','','','2018-08-29 11:06:57','2018-08-29 01:06:57','',121,'http://icreatedev.com.au/snippets/121-revision-v1/',0,'revision','',0),(124,1,'2018-10-09 10:09:46','0000-00-00 00:00:00','','Tooltip','','draft','closed','closed','','','','','2018-10-09 10:09:46','2018-10-09 00:09:46','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=124',0,'snippet','',0),(126,1,'2019-01-22 16:37:11','2019-01-22 06:37:11','<pre class=\"lang:css decode:true \">.table-wrap {\r\n    overflow: auto;\r\n    \r\n    background-image:\r\n        linear-gradient(to right, white, white),\r\n        linear-gradient(to right, white, white),\r\n        linear-gradient(to right, rgba(0,0,0,.15), rgba(255,255,255,0)),\r\n        linear-gradient(to left, rgba(0,0,0,.15), rgba(255,255,255,0));\r\n    \r\n    background-position: left center, right center, left center, right center;\r\n    background-repeat: no-repeat;\r\n    background-color: white;\r\n    background-size: 50px 100%, 50px 100%, 20px 100%, 20px 100%;\r\n    \r\n    background-attachment: local, local, scroll, scroll;\r\n}\r\n</pre>','Add simple shadows to horizontal scrolling table','','publish','closed','closed','','add-simple-shadows-to-horizontal-scrolling-table','','','2019-01-22 16:37:11','2019-01-22 06:37:11','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=126',0,'snippet','',0),(127,1,'2019-01-22 16:37:11','2019-01-22 06:37:11','<pre class=\"lang:css decode:true \">.table-wrap {\r\n    overflow: auto;\r\n    \r\n    background-image:\r\n        linear-gradient(to right, white, white),\r\n        linear-gradient(to right, white, white),\r\n        linear-gradient(to right, rgba(0,0,0,.15), rgba(255,255,255,0)),\r\n        linear-gradient(to left, rgba(0,0,0,.15), rgba(255,255,255,0));\r\n    \r\n    background-position: left center, right center, left center, right center;\r\n    background-repeat: no-repeat;\r\n    background-color: white;\r\n    background-size: 50px 100%, 50px 100%, 20px 100%, 20px 100%;\r\n    \r\n    background-attachment: local, local, scroll, scroll;\r\n}\r\n</pre>','Add simple shadows to horizontal scrolling table','','inherit','closed','closed','','126-revision-v1','','','2019-01-22 16:37:11','2019-01-22 06:37:11','',126,'http://icreatedev.com.au/snippets/126-revision-v1/',0,'revision','',0),(129,1,'2019-02-15 10:15:00','2019-02-15 00:15:00','<pre class=\"lang:php decode:true\" title=\"TinyMCE Custom Formats\">add_filter( \'tiny_mce_before_init\', \'ic_custom_tinymce_formats\' );\r\nfunction ic_custom_tinymce_formats( $init_array ) {\r\n	$style_formats = array(\r\n		array(\r\n			\'title\' =&gt; \'Button\',\r\n			\'selector\' =&gt; \'a\',\r\n			\'classes\' =&gt; \'button\',\r\n		),\r\n	);\r\n	$init_array[\'style_formats\'] = json_encode( $style_formats );\r\n\r\n	return $init_array;\r\n\r\n}</pre>\r\n&nbsp;\r\n<h2>Appending (instead of replacing)</h2>\r\n<pre class=\"lang:php decode:true \" title=\"appending\">add_filter( \'tiny_mce_before_init\', \'ic_custom_tinymce_formats\' );\r\nfunction ic_custom_tinymce_formats( $settings ) {\r\n	$defaults = \'[{ \"title\": \"Headers\", \"items\": [\r\n        { \"title\": \"Header 1\", \"format\": \"h1\" },\r\n        { \"title\": \"Header 2\", \"format\": \"h2\" },\r\n        { \"title\": \"Header 3\", \"format\": \"h3\" },\r\n        { \"title\": \"Header 4\", \"format\": \"h4\" },\r\n        { \"title\": \"Header 5\", \"format\": \"h5\" },\r\n        { \"title\": \"Header 6\", \"format\": \"h6\" }\r\n    ] },\r\n\r\n    { \"title\": \"Inline\", \"items\": [\r\n        { \"title\": \"Bold\", \"icon\": \"bold\", \"format\": \"bold\" },\r\n        { \"title\": \"Italic\", \"icon\": \"italic\", \"format\": \"italic\" },\r\n        { \"title\": \"Underline\", \"icon\": \"underline\", \"format\": \"underline\" },\r\n        { \"title\": \"Strikethrough\", \"icon\": \"strikethrough\", \"format\": \"strikethrough\" },\r\n        { \"title\": \"Superscript\", \"icon\": \"superscript\", \"format\": \"superscript\" },\r\n        { \"title\": \"Subscript\", \"icon\": \"subscript\", \"format\": \"subscript\" },\r\n        { \"title\": \"Code\", \"icon\": \"code\", \"format\": \"code\" }\r\n    ] },\r\n\r\n    { \"title\": \"Blocks\", \"items\": [\r\n        { \"title\": \"Paragraph\", \"format\": \"p\" },\r\n        { \"title\": \"Blockquote\", \"format\": \"blockquote\" },\r\n        { \"title\": \"Div\", \"format\": \"div\" },\r\n        { \"title\": \"Pre\", \"format\": \"pre\" }\r\n    ] },\r\n\r\n    { \"title\": \"Alignment\", \"items\": [\r\n        { \"title\": \"Left\", \"icon\": \"alignleft\", \"format\": \"alignleft\" },\r\n        { \"title\": \"Center\", \"icon\": \"aligncenter\", \"format\": \"aligncenter\" },\r\n        { \"title\": \"Right\", \"icon\": \"alignright\", \"format\": \"alignright\" },\r\n        { \"title\": \"Justify\", \"icon\": \"alignjustify\", \"format\": \"alignjustify\" }\r\n        ] }\r\n ]\';\r\n\r\n	$style_formats = [\r\n		(object) [\r\n			\'title\' =&gt; \'Custom\',\r\n			\'items\' =&gt;\r\n				[\r\n					(object) [\r\n						\'title\'    =&gt; \'Button\',\r\n						\'selector\' =&gt; \'a\',\r\n						\'classes\'  =&gt; \'button\',\r\n					],\r\n				]\r\n		],\r\n	];\r\n\r\n\r\n	$settings[\'style_formats\'] = json_encode( array_merge( json_decode( $defaults ), $style_formats ) );\r\n\r\n	return $settings;</pre>\r\n&nbsp;','TinyMCE Custom Formats','','inherit','closed','closed','','82-revision-v1','','','2019-02-15 10:15:00','2019-02-15 00:15:00','',82,'http://icreatedev.com.au/snippets/82-revision-v1/',0,'revision','',0),(131,1,'2019-02-26 08:44:56','2019-02-25 22:44:56','Javascript\r\n<pre class=\"lang:default decode:true\">jQuery(function ($) {\r\n    \r\n    // Target Gravity Form Inputs\r\n    var inputs = \'.ginput_container input, .ginput_container textarea\';\r\n    emFieldFocus(inputs);\r\n\r\n    // Failed Submission\r\n    $(document).on(\'gform_post_render\', function(){\r\n\r\n        $(inputs).each(function() {\r\n            if( $(this).val() ) {\r\n                $(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').addClass(\'filling\');\r\n            }\r\n        });\r\n      \r\n        emFieldFocus(inputs);\r\n    });\r\n    \r\n});\r\n\r\n\r\n// Field Focus Add/Remove Filling Class\r\nfunction emFieldFocus(inputs) {\r\n\r\n    jQuery(inputs).on( \'focus\', function() {\r\n        jQuery(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').addClass(\'filling\');\r\n    });\r\n\r\n    jQuery(inputs).on( \'focusout\', function() {\r\n        if( !jQuery(this).val() ) {\r\n            jQuery(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').removeClass(\'filling\');\r\n        }\r\n    });\r\n\r\n}</pre>\r\nFunctions\r\n<pre class=\"lang:default decode:true \">add_filter( \'gform_field_css_class\', \'ic_field_wrap_classes\', 10, 3 );\r\nfunction ic_field_wrap_classes( $classes, $field, $form ) {\r\n 	$type = $field-&gt;type;\r\n        \r\n    $classes .= \' gfield_type_\' . $type;\r\n\r\n    return $classes;\r\n}</pre>\r\nSASS\r\n<pre class=\"lang:default decode:true \">.gfield {\r\n	margin-bottom: bl();\r\n	position: relative;\r\n	\r\n	ul {\r\n		list-style-type: none;\r\n		margin-bottom: 0;\r\n	}\r\n}\r\n\r\n.gfield_label {\r\n	position: absolute;\r\n	left: 10px;\r\n	top: -20px;\r\n	display: block;\r\n	font-size: 12px;\r\n	opacity: 0.7;\r\n	font-weight: 300;\r\n}\r\n\r\n.gfield_type_text,\r\n.gfield_type_email,\r\n.gfield_type_textarea {\r\n	.gfield_label {\r\n		left: 26px;\r\n		top: -14px;\r\n		line-height: 1;\r\n		margin-bottom: 0;\r\n		transform: scale(1.36364) translateY(180%);\r\n		transform-origin: 0 0;\r\n		transition: .25s;\r\n		cursor: text;\r\n		&amp;.filling {\r\n			left: 18px;\r\n			top: -17px;\r\n			transform: scale(.99);\r\n			color: $primary;\r\n		}\r\n	}\r\n}\r\n</pre>\r\n&nbsp;','Form Labels','','publish','closed','closed','','form-labels','','','2019-02-26 08:44:56','2019-02-25 22:44:56','',0,'http://icreatedev.com.au/snippets/?post_type=snippet&#038;p=131',0,'snippet','',0),(132,1,'2019-02-26 08:44:56','2019-02-25 22:44:56','Javascript\r\n<pre class=\"lang:default decode:true\">jQuery(function ($) {\r\n    \r\n    // Target Gravity Form Inputs\r\n    var inputs = \'.ginput_container input, .ginput_container textarea\';\r\n    emFieldFocus(inputs);\r\n\r\n    // Failed Submission\r\n    $(document).on(\'gform_post_render\', function(){\r\n\r\n        $(inputs).each(function() {\r\n            if( $(this).val() ) {\r\n                $(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').addClass(\'filling\');\r\n            }\r\n        });\r\n      \r\n        emFieldFocus(inputs);\r\n    });\r\n    \r\n});\r\n\r\n\r\n// Field Focus Add/Remove Filling Class\r\nfunction emFieldFocus(inputs) {\r\n\r\n    jQuery(inputs).on( \'focus\', function() {\r\n        jQuery(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').addClass(\'filling\');\r\n    });\r\n\r\n    jQuery(inputs).on( \'focusout\', function() {\r\n        if( !jQuery(this).val() ) {\r\n            jQuery(this).parents(\'.ginput_container\').siblings(\'.gfield_label\').removeClass(\'filling\');\r\n        }\r\n    });\r\n\r\n}</pre>\r\nFunctions\r\n<pre class=\"lang:default decode:true \">add_filter( \'gform_field_css_class\', \'ic_field_wrap_classes\', 10, 3 );\r\nfunction ic_field_wrap_classes( $classes, $field, $form ) {\r\n 	$type = $field-&gt;type;\r\n        \r\n    $classes .= \' gfield_type_\' . $type;\r\n\r\n    return $classes;\r\n}</pre>\r\nSASS\r\n<pre class=\"lang:default decode:true \">.gfield {\r\n	margin-bottom: bl();\r\n	position: relative;\r\n	\r\n	ul {\r\n		list-style-type: none;\r\n		margin-bottom: 0;\r\n	}\r\n}\r\n\r\n.gfield_label {\r\n	position: absolute;\r\n	left: 10px;\r\n	top: -20px;\r\n	display: block;\r\n	font-size: 12px;\r\n	opacity: 0.7;\r\n	font-weight: 300;\r\n}\r\n\r\n.gfield_type_text,\r\n.gfield_type_email,\r\n.gfield_type_textarea {\r\n	.gfield_label {\r\n		left: 26px;\r\n		top: -14px;\r\n		line-height: 1;\r\n		margin-bottom: 0;\r\n		transform: scale(1.36364) translateY(180%);\r\n		transform-origin: 0 0;\r\n		transition: .25s;\r\n		cursor: text;\r\n		&amp;.filling {\r\n			left: 18px;\r\n			top: -17px;\r\n			transform: scale(.99);\r\n			color: $primary;\r\n		}\r\n	}\r\n}\r\n</pre>\r\n&nbsp;','Form Labels','','inherit','closed','closed','','131-revision-v1','','','2019-02-26 08:44:56','2019-02-25 22:44:56','',131,'http://icreatedev.com.au/snippets/131-revision-v1/',0,'revision','',0),(135,1,'2019-07-04 08:51:36','2019-07-03 22:51:36','<pre class=\"lang:mysql decode:true crayon-selected\">SELECT `wp_posts`.* FROM `wp_posts`\nINNER JOIN `wp_postmeta`\nON `wp_posts`.ID = `wp_postmeta`.`post_id`\nWHERE `wp_postmeta`.`meta_key` LIKE \'something\'\nAND `wp_posts`.post_status LIKE \'PUBLISH\'</pre>','Join posts and meta with SQL','','inherit','closed','closed','','69-autosave-v1','','','2019-07-04 08:51:36','2019-07-03 22:51:36','',69,'http://icreatedev.com.au/snippets/69-autosave-v1/',0,'revision','',0),(136,1,'2019-07-08 13:06:58','2019-07-08 03:06:58','<pre class=\"lang:php decode:true  crayon-selected\">/**\n * Returns a post object based on the template slug\n * \n * @param $template_slug the filename of the template\n * @return Post object of the first page found, else false\n */\nfunction ic_get_page_by_template( $template_slug, $args = array() ) {\n	$defaults = array(\n		\'post_type\' =&gt; \'page\',\n		\'posts_per_page\' =&gt; \'1\',\n		\'meta_query\' =&gt; array (\n			array(\n				\'key\' 	=&gt; \'_wp_page_template\',\n				\'value\' =&gt; $template_slug\n				),\n			)\n		);\n\n	$args = wp_parse_args( $args, $defaults );;\n\n	$pages = get_posts( $args );\n	if ( $pages ) {\n		return $pages[0];\n	}\n	return false;\n}</pre>','Get Page by Template','','inherit','closed','closed','','54-autosave-v1','','','2019-07-08 13:06:58','2019-07-08 03:06:58','',54,'http://icreatedev.com.au/snippets/54-autosave-v1/',0,'revision','',0),(144,1,'2020-02-28 09:10:52','2020-02-27 23:10:52','<pre class=\"lang:php decode:true   crayon-selected\">&lt;?php\n\nnamespace icreate\\Bricks;\n\nuse GFAPI;\n\nclass FormBrick extends Brick {\n	\n	public function __construct( $group ) {\n		parent::__construct( $group, \'Form\', \'form\' );\n		\n		$form_field = $this-&gt;add_field( \'Form\', \'form\', [ \'type\' =&gt; \'select\' ] );\n		\n		add_filter( \'acf/load_field/key=\' . $form_field[\'key\'], [ $this, \'populate_form_select\' ] );\n	}\n	\n	public function populate_form_select( $field ) {\n		$field[\'choices\'] = array();\n		\n		foreach ( GFAPI::get_forms() as $form ) {\n			$field[\'choices\'][ $form[\'id\'] ] = $form[\'title\'];\n		}\n		\n		return $field;\n	}\n	\n	protected function display() {\n		$form = GFAPI::get_form( get_sub_field( \'form\' ) );\n		gravity_form( $form[\'id\'], false, false, false, null, true );\n	}\n	\n}\n</pre>','Gravity Form Brick Select Field','','inherit','closed','closed','','86-autosave-v1','','','2020-02-28 09:10:52','2020-02-27 23:10:52','',86,'http://icreatedev.com.au/snippets/86-autosave-v1/',0,'revision','',0),(150,1,'2020-08-26 16:24:35','2020-08-26 06:24:35','<pre class=\"lang:php decode:true  crayon-selected\">//create custom column headers\nadd_filter( \'manage_edit-customer_columns\', \'ontex_add_customer_cat_column\' );\nfunction ontex_add_customer_cat_column( $defaults ) {\n	$defaults[\'hco-id\'] = \'Health  Care Org\';\n\n	return $defaults;\n}\n\n//make custom column headers sortable\nadd_filter( \"manage_edit-customer_sortable_columns\", \"ontex_customer_sortable_columns\" );\nfunction ontex_customer_sortable_columns( $columns ) {\n	$columns[\'hco-id\'] = \'hco-id\';\n\n	return $columns;\n}\n\n//populate custom column values\nadd_action( \'manage_customer_posts_custom_column\', \'ontex_populate_customer_cat_column\', 10, 2 );\nfunction ontex_populate_customer_cat_column( $column, $post_id ) {\n	switch ( $column ) {\n		case \'hco-id\':\n			$hco_post = get_post( get_post_meta( $post_id, \'hco-id\', true ) );\n			if ( $hco_post ) {\n				echo $hco_post-&gt;post_title;\n			}\n			break;\n	}\n}\n\n// create HCO dropdown filter\nadd_action( \'restrict_manage_posts\', \'ontex_admin_customers_filter_hco\' );\nfunction ontex_admin_customers_filter_hco( $post_type ) {\n	if ( \'customer\' === $post_type ) {\n\n		global $wpdb;\n		$sql  = \'SELECT ID, post_title FROM \' . $wpdb-&gt;posts . \' WHERE post_type LIKE \"hco\" AND post_status LIKE \"publish\"\';\n		$hcos = $wpdb-&gt;get_results( $sql, OBJECT );\n\n		?&gt;\n		&lt;select name=\"hco-id\"&gt;\n			&lt;option value=\"\"&gt;Filter by HCO&lt;/option&gt;\n			&lt;?php\n			$current_hco = isset( $_GET[\'hco-id\'] ) ? $_GET[\'hco-id\'] : \'\';\n			foreach ( $hcos as $hco ) : ?&gt;\n				&lt;option &lt;?php selected( $hco-&gt;ID, $current_hco ); ?&gt; value=\"&lt;?php echo $hco-&gt;ID; ?&gt;\"&gt;&lt;?php echo $hco-&gt;post_title; ?&gt;&lt;/option&gt;\n			&lt;?php endforeach; ?&gt;\n\n		&lt;/select&gt;\n		&lt;?php\n	}\n}\n\n//apply hco filtering to posts list results\nadd_filter( \'parse_query\', \'ontex_admin_filter_customers_by_hco\' );\nfunction ontex_admin_filter_customers_by_hco( $query ) {\n	global $pagenow;\n	if ( isset( $_GET[\'post_type\'] ) &amp;&amp; \'customer\' == $_GET[\'post_type\'] &amp;&amp;\n	     is_admin() &amp;&amp;\n	     $pagenow == \'edit.php\'\n	     &amp;&amp; isset( $_GET[\'hco-id\'] ) &amp;&amp; $_GET[\'hco-id\'] != \'\'\n	) {\n		$query-&gt;query_vars[\'meta_query\'][] = array(\n			\'key\'   =&gt; \'hco-id\',\n			\'value\' =&gt; intval( $_GET[\'hco-id\'] ),\n		);\n	}\n}</pre>','Custom Admin Columns','','inherit','closed','closed','','60-autosave-v1','','','2020-08-26 16:24:35','2020-08-26 06:24:35','',60,'http://icreatedev.com.au/snippets/60-autosave-v1/',0,'revision','',0),(157,1,'2022-01-10 14:17:19','2022-01-10 04:17:19','For example, to get the first 10 URLs from the iCreate site:\n\nGoogle Search: <strong>site:icreateadvertising.com.au</strong>\n\nThen in your console:\n<pre class=\"lang:js decode:true crayon-selected\">linkElements = document.querySelectorAll(\'.g a\');\nlinks = [];\nfor (i = 0; i &lt; linkElements.length; ++i) {\n  links.push(linkElements[i].href);\n}\nfor (i = 0; i &lt; links.length; ++i) {\n  console.log(links[i]);\n}</pre>\nBookmarklet Optimised:\n<pre class=\"lang:js decode:true\">javascript:(function()%7BlinkElements%20%3D%20document.querySelectorAll(\'h3%20%20%3E%20a\')%3Blinks%20%3D%20%5B%5D%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20linkElements.length%3B%20%2B%2Bi)%20%7Blinks.push(linkElements%5Bi%5D.href)%3B%7Dfor%20(i%20%3D%200%3B%20i%20%3C%20links.length%3B%20%2B%2Bi)%20%7Bconsole.log(links%5Bi%5D)%3B%7D%7D)()</pre>\nPHP script to find non-200 responses:','Scrape Google SERP URLs.','','inherit','closed','closed','','38-revision-v1','','','2022-01-10 14:17:19','2022-01-10 04:17:19','',38,'http://icreatedev.com.au/snippets/38-revision-v1/',0,'revision','',0),(158,1,'2022-01-10 14:42:57','2022-01-10 04:42:57','<p>For example, to get the first 10 URLs from the iCreate site:</p>\n<p>Google Search: <strong>site:icreateadvertising.com.au</strong></p>\n<p>Then in your console:</p>\n<pre class=\"lang:js decode:true crayon-selected\">linkElements = document.querySelectorAll(\'.g a\');\nlinks = [];\nfor (i = 0; i &lt; linkElements.length; ++i) {\n  links.push(linkElements[i].href);\n}\nfor (i = 0; i &lt; links.length; ++i) {\n  console.log(links[i]);\n}</pre>\n<p>Bookmarklet Optimised:</p>\n<pre class=\"lang:js decode:true\">javascript:(function()%7BlinkElements%20%3D%20document.querySelectorAll(\'h3%20%20%3E%20a\')%3Blinks%20%3D%20%5B%5D%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20linkElements.length%3B%20%2B%2Bi)%20%7Blinks.push(linkElements%5Bi%5D.href)%3B%7Dfor%20(i%20%3D%200%3B%20i%20%3C%20links.length%3B%20%2B%2Bi)%20%7Bconsole.log(links%5Bi%5D)%3B%7D%7D)()</pre>\n<p>PHP script to find non-200 responses:</p>\n<p> </p>\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->','Scrape Google SERP URLs.','','inherit','closed','closed','','38-autosave-v1','','','2022-01-10 14:42:57','2022-01-10 04:42:57','',38,'http://icreatedev.com.au/snippets/38-autosave-v1/',0,'revision','',0);

--
-- Table structure for table `wp_search_filter_cache`
--

CREATE TABLE `wp_search_filter_cache` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `post_id` bigint(20) NOT NULL,
  `post_parent_id` bigint(20) NOT NULL,
  `field_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_value_num` bigint(20) DEFAULT NULL,
  `field_parent_num` bigint(20) DEFAULT NULL,
  `term_parent_id` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `field_name_index` (`field_name`(250)),
  KEY `field_value_index` (`field_value`(250)),
  KEY `field_value_num_index` (`field_value_num`)
) ENGINE=MyISAM AUTO_INCREMENT=153 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_search_filter_cache`
--

INSERT INTO `wp_search_filter_cache` (`id`, `post_id`, `post_parent_id`, `field_name`, `field_value`, `field_value_num`, `field_parent_num`, `term_parent_id`) VALUES (8,12,0,'_sft_snippet-category','',4,NULL,0),(53,10,0,'_sft_snippet-tag','',8,NULL,0),(11,8,0,'_sft_snippet-category','',6,NULL,4),(12,8,0,'_sft_snippet-category','',5,NULL,4),(13,6,0,'_sft_snippet-category','',4,NULL,0),(16,4,0,'_sft_snippet-category','',2,NULL,0),(17,4,0,'_sft_snippet-category','',3,NULL,2),(22,31,0,'_sft_snippet-category','',4,NULL,0),(25,34,0,'_sft_snippet-category','',4,NULL,0),(37,44,0,'_sft_snippet-category','',3,NULL,2),(36,44,0,'_sft_snippet-category','',2,NULL,0),(43,49,0,'_sft_snippet-category','',4,NULL,0),(42,49,0,'_sft_snippet-category','',2,NULL,0),(46,51,0,'_sft_snippet-category','',11,NULL,0),(49,54,0,'_sft_snippet-category','',4,NULL,0),(52,10,0,'_sft_snippet-category','',7,NULL,4),(56,60,0,'_sft_snippet-category','',12,NULL,0),(59,62,0,'_sft_snippet-category','',9,NULL,0),(63,65,0,'','',NULL,NULL,NULL),(67,69,0,'','',NULL,NULL,NULL),(70,72,0,'_sft_snippet-category','',4,NULL,0),(71,75,0,'','',NULL,NULL,NULL),(75,76,0,'_sft_snippet-category','',4,NULL,0),(76,80,0,'','',NULL,NULL,NULL),(77,81,0,'','',NULL,NULL,NULL),(144,82,0,'','',NULL,NULL,NULL),(149,86,0,'_sft_snippet-category','',13,NULL,0),(148,86,0,'_sft_snippet-category','',15,NULL,0),(89,89,0,'','',NULL,NULL,NULL),(92,90,0,'_sft_snippet-category','',4,NULL,0),(97,92,0,'_sft_snippet-category','',14,NULL,0),(100,97,0,'','',NULL,NULL,NULL),(101,101,0,'','',NULL,NULL,NULL),(105,102,0,'','',NULL,NULL,NULL),(120,106,0,'_sft_snippet-category','',9,NULL,0),(119,106,0,'_sft_snippet-category','',14,NULL,0),(118,106,0,'_sft_snippet-category','',2,NULL,0),(116,109,0,'_sft_snippet-category','',14,NULL,0),(117,109,0,'_sft_snippet-category','',9,NULL,0),(128,113,0,'_sft_snippet-category','',4,NULL,0),(131,118,0,'_sft_snippet-category','',7,NULL,4),(132,118,0,'_sft_snippet-category','',14,NULL,0),(135,121,0,'_sft_snippet-category','',9,NULL,0),(137,124,0,'','',NULL,NULL,NULL),(143,126,0,'_sft_snippet-category','',2,NULL,0),(147,131,0,'_sft_snippet-category','',14,NULL,0),(150,86,0,'_sft_snippet-category','',14,NULL,0),(152,38,0,'_sft_snippet-category','',10,NULL,9);

--
-- Table structure for table `wp_search_filter_term_results`
--

CREATE TABLE `wp_search_filter_term_results` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `field_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_value_num` bigint(20) DEFAULT NULL,
  `result_ids` text COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `field_name_index` (`field_name`(250)),
  KEY `field_value_index` (`field_value`(250)),
  KEY `field_value_num_index` (`field_value`(250))
) ENGINE=MyISAM AUTO_INCREMENT=60 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_search_filter_term_results`
--

INSERT INTO `wp_search_filter_term_results` (`id`, `field_name`, `field_value`, `field_value_num`, `result_ids`) VALUES (55,'_sft_snippet-category','2',NULL,'4,44,49,106,126'),(48,'_sft_snippet-category','4',NULL,'12,6,31,34,49,54,72,76,90,113'),(3,'_sft_snippet-category','5',NULL,'8'),(4,'_sft_snippet-category','6',NULL,'8'),(11,'_sft_snippet-category','10',NULL,'38'),(15,'_sft_snippet-category','3',NULL,'4,44'),(20,'_sft_snippet-category','11',NULL,'51'),(25,'_sft_snippet-tag','8',NULL,'10'),(26,'_sft_snippet-category','12',NULL,'60'),(58,'_sft_snippet-category','13',NULL,'86'),(51,'_sft_snippet-category','9',NULL,'62,106,109,121'),(52,'_sft_snippet-category','7',NULL,'10,118'),(57,'_sft_snippet-category','14',NULL,'92,106,109,118,131,86'),(59,'_sft_snippet-category','15',NULL,'86');

--
-- Table structure for table `wp_term_relationships`
--

CREATE TABLE `wp_term_relationships` (
  `object_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `term_taxonomy_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `term_order` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`object_id`,`term_taxonomy_id`),
  KEY `term_taxonomy_id` (`term_taxonomy_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_term_relationships`
--

INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (1,1,0),(4,2,0),(4,3,0),(6,4,0),(8,5,0),(8,6,0),(10,7,0),(10,8,0),(12,4,0),(31,4,0),(34,4,0),(38,10,0),(44,2,0),(44,3,0),(49,2,0),(49,4,0),(51,11,0),(54,4,0),(59,1,0),(60,12,0),(62,9,0),(72,4,0),(76,4,0),(86,13,0),(126,2,0),(90,4,0),(92,14,0),(106,2,0),(106,14,0),(106,9,0),(109,14,0),(109,9,0),(113,4,0),(118,14,0),(118,7,0),(121,9,0),(86,14,0),(131,14,0),(86,15,0);

--
-- Table structure for table `wp_term_taxonomy`
--

CREATE TABLE `wp_term_taxonomy` (
  `term_taxonomy_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `taxonomy` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent` bigint(20) unsigned NOT NULL DEFAULT '0',
  `count` bigint(20) NOT NULL DEFAULT '0',
  PRIMARY KEY (`term_taxonomy_id`),
  UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`),
  KEY `taxonomy` (`taxonomy`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_term_taxonomy`
--

INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES (1,1,'category','',0,1),(2,2,'snippet-category','',0,5),(3,3,'snippet-category','',2,2),(4,4,'snippet-category','',0,10),(5,5,'snippet-category','',4,1),(6,6,'snippet-category','',4,1),(7,7,'snippet-category','',4,2),(8,8,'snippet-tag','',0,1),(9,9,'snippet-category','',0,4),(10,10,'snippet-category','',9,1),(11,11,'snippet-category','',0,1),(12,12,'snippet-category','',0,1),(13,13,'snippet-category','',0,1),(14,14,'snippet-category','',0,6),(15,15,'snippet-category','',0,1);

--
-- Table structure for table `wp_termmeta`
--

CREATE TABLE `wp_termmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`meta_id`),
  KEY `term_id` (`term_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_termmeta`
--


--
-- Table structure for table `wp_terms`
--

CREATE TABLE `wp_terms` (
  `term_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `slug` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `term_group` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`term_id`),
  KEY `slug` (`slug`(191)),
  KEY `name` (`name`(191))
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_terms`
--

INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES (1,'Uncategorized','uncategorized',0),(2,'CSS','css',0),(3,'Navigation','navigation',0),(4,'PHP','php',0),(5,'TinyMCE','tinymce',0),(6,'SEO','seo',0),(7,'Forms','forms',0),(8,'gravity forms','gravity-forms',0),(9,'Javascript','javascript',0),(10,'SEO','seo-javascript',0),(11,'Page Header','page-header',0),(12,'Admin','admin',0),(13,'Bricks','bricks',0),(14,'Gravity Forms','gravity-forms',0),(15,'ACF','acf',0);

--
-- Table structure for table `wp_usermeta`
--

CREATE TABLE `wp_usermeta` (
  `umeta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`umeta_id`),
  KEY `user_id` (`user_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_usermeta`
--

INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (1,1,'nickname','icreate'),(2,1,'first_name',''),(3,1,'last_name',''),(4,1,'description',''),(5,1,'rich_editing','true'),(6,1,'comment_shortcuts','false'),(7,1,'admin_color','fresh'),(8,1,'use_ssl','0'),(9,1,'show_admin_bar_front','true'),(10,1,'wp_capabilities','a:1:{s:13:\"administrator\";b:1;}'),(11,1,'wp_user_level','10'),(12,1,'dismissed_wp_pointers',''),(13,1,'show_welcome_panel','0'),(14,1,'session_tokens','a:1:{s:64:\"36e91aaa61622e4af151e5a8a17adb388f5039da4a614a04198e51b7b992ee1d\";a:4:{s:10:\"expiration\";i:1641958960;s:2:\"ip\";s:15:\"180.150.105.207\";s:2:\"ua\";s:115:\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36\";s:5:\"login\";i:1641786160;}}'),(15,1,'wp_dashboard_quick_press_last_post_id','155'),(16,1,'wp_user-settings','hidetb=1&editor=tinymce&posts_list_mode=list'),(17,1,'wp_user-settings-time','1562555046'),(18,1,'search-filter-show-welcome-notice','1'),(20,1,'metaboxhidden_snippet','a:1:{i:0;s:7:\"slugdiv\";}'),(19,1,'closedpostboxes_snippet','a:0:{}'),(21,1,'community-events-location','a:1:{s:2:\"ip\";s:13:\"180.150.105.0\";}'),(22,1,'edit_snippet_per_page','40');

--
-- Table structure for table `wp_users`
--

CREATE TABLE `wp_users` (
  `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_login` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_pass` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_nicename` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_url` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_registered` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `user_activation_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `user_status` int(11) NOT NULL DEFAULT '0',
  `display_name` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`ID`),
  KEY `user_login_key` (`user_login`),
  KEY `user_nicename` (`user_nicename`),
  KEY `user_email` (`user_email`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wp_users`
--

INSERT INTO `wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES (1,'icreate','$P$BjbEYsmoXru9sSwpzKoo.sm4Lse3540','icreate','dev@icreatesolutions.com.au','','2016-07-25 23:48:18','',0,'icreate');

--
-- Dumping routines for database 'icreated_snippets'
--


