This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function get_isotope_item( $query_args = array() ){ | |
$defaults = array( | |
'post_type' => 'post', | |
'posts_per_page' => -1, | |
'post_status' => 'publish', | |
); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Create a new custom yoast seo sitemap | |
*/ | |
add_filter( 'wpseo_sitemap_index', 'ex_add_sitemap_custom_items' ); | |
add_action( 'init', 'init_wpseo_do_sitemap_actions' ); | |
// Add custom index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function($){ | |
/* | |
Script Name: WP Auto Installer | |
Author: Mohan Dere | |
Version: 1.0 | |
Description : This script install new wordpress setup, create database with tables with content & run search replace database for new urls. | |
Last Update: 13 Mar 15 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { | |
Component | |
} from 'react'; | |
//Import responsive gallery component | |
import ResponseiveGallery from './components/ResponsiveGallery'; | |
// Define array of images with thumbnails | |
const DEFAULT_IMAGES = [{ | |
src: '/images/gallery-1.jpg', | |
thumbnail: '/images/gallery-1.jpg', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = { | |
initialize: function() { | |
// Initialize flexslider | |
$flexSlider = self.$('#product-slider'), | |
$flexSlider.flexslider({ | |
animation: "slide", | |
slideshow: false, | |
animationLoop: false, | |
start: function(slider) { | |
console.log('in start == slider.currentSlide ==>', slider.currentSlide); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File - src/config-overrides.js | |
// react-app-rewired: Override create-react-app webpack configs without ejecting | |
const path = require("path"); | |
const { compose, getLoader, injectBabelPlugin } = require("react-app-rewired"); | |
function rewire(config, env) { | |
const cssRules = getLoader( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
'use-strict'; | |
/** | |
* Iframe to Parent window communication | |
* sample iframe- <iframe id="guestFrame" name="guestFrame" src="http://other-domain.com/"> | |
* </iframe> | |
* Uses https://ternarylabs.github.io/porthole/ | |
* Uses https://marcj.github.io/css-element-queries/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<main class="container"> | |
<div> | |
<header> | |
<h3>Archives</h3> | |
</header> | |
<div v-if="posts && posts.length" class="postsList"> | |
<ul class="row"> | |
<li v-for="(post, index) in posts" class="postItem col-sm-4"> | |
<div class="postContent"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 1, | |
"caret_extra_top": 1, | |
"caret_extra_width": 1, | |
"caret_style": "blink", | |
"color_scheme": "Packages/Colorsublime - Themes/LAZY.tmTheme", | |
"create_window_at_startup": false, | |
"fade_fold_buttons": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.wordWrap": "on", | |
"editor.tabSize": 2, | |
"editor.mouseWheelZoom": false, | |
"guides.enabled": false, | |
"terminal.integrated.fontSize": 17, | |
"editor.fontSize": 20, | |
"window.zoomLevel": 0, | |
"sublimeTextKeymap.promptV3Features": true, |
NewerOlder