Skip to content

Instantly share code, notes, and snippets.

@dancingsoda
dancingsoda / product page shortcode
Created May 30, 2018 03:47
product page shortcode
[vc_row full_width="stretch_row_content" equal_height="yes" content_placement="middle"][vc_column css=".vc_custom_1489655222686{background-image: url(http://dahz.daffyhazan.com/upscale/kicksback/wp-content/uploads/2017/03/Detail_03.jpg?id=1236) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}" el_class="img-fixed img-fixed-1" offset="vc_col-lg-6 vc_col-md-12"][vc_empty_space height="80vh"][/vc_column][vc_column css=".vc_custom_1489655425003{padding-top: 10vh !important;padding-right: 8vw !important;padding-bottom: 10vh !important;padding-left: 8vw !important;background-color: #0a0a0a !important;}" offset="vc_col-lg-6 vc_col-md-12"][vc_custom_heading text="Old Skool" font_container="tag:h1|font_size:64px|text_align:left|color:%23ffffff|line_height:1.1" use_theme_fonts="yes"][vc_column_text]<span style="color: #ffffff;">The classic Old Skool silhouette from Vans in black plimsoll canvas. Features contrasting white leather sidestripe, t
@dancingsoda
dancingsoda / dahz-framework-footer.php
Created February 10, 2017 02:36
replace the file in folder Glossy\dahz-framework-core\dahz-framework-front-end to fix link issue in footer & sub footer
@dancingsoda
dancingsoda / df-amp-custom.php
Created January 18, 2017 10:45
onfleek\inc\df-core\df-utils
<?php
/**
* Class: DF_Amp_Custom
* Description: class for customize amp plugin
*/
if( !class_exists('DF_Amp_Custom') ) {
Class DF_Amp_Custom {
<!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/info-936/60min" style="min-width:320px;height:580px;"></div>
<script type="text/javascript" src="https://calendly.com/assets/external/widget.js"></script>
<!-- Calendly inline widget end -->
@dancingsoda
dancingsoda / DF-Framework.php
Created January 5, 2017 08:10
[onfleek]replace DF-Framework.php in folder onfleek\inc\df-core if you want to disable amp in 1.6
<?php
if( !class_exists( "DF_Framework" ) ){
Class DF_Framework{
static $default_featured_img = "";
static $default_featured_img_id = "";
function __construct(){
$this->df_init_require_plugin();
@dancingsoda
dancingsoda / dahz-framework-themes.php
Created December 30, 2016 08:43
remove "by" in post meta
<?php
if( !class_exists( "Dahz_Framework_Themes" ) ){
Class Dahz_Framework_Themes{
private $dv_img_class = '';
static $featured_area = array();
static $dv_is_social_share_post = '';
static $dv_is_social_share_page = '';
[vc_row full_width="stretch_row" full_height="yes" equal_height="yes" content_placement="middle" parallax="content-moving-fade" parallax_image="420" parallax_speed_bg="1.2" el_class="hide-for-small-only"][vc_column][vc_custom_heading text="Time to make money
on your blog." font_container="tag:h1|font_size:48px|text_align:left|color:%233d3c41|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:700%20bold%20regular%3A700%3Anormal"][vc_empty_space height="20px"][vc_custom_heading text="EVEN WHILE YOU SLEEP" font_container="tag:h2|font_size:24px|text_align:left|color:%23bdbdbd|line_height:1.5" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal" el_class="extra"][vc_empty_space height="20px"][vc_column_text]You just need the right theme to do it fashionably.[/vc_column_text][vc_btn title="VIEW MORE" style="flat" shape="square" color="black" link="url:%23glossy-feature|title:Glossy%20Feature||" el_class="tp-caption"][/vc_column][/vc_row][vc_row
<blockquote><span style="color: #070707;">Being positive is really a series of thought processes, so do happiness is really about a mindset. </span>Be confident! You’ll draw on self-belief, exuding positivity to other people in good feelings.<cite>John Doe</cite></blockquote>
<?php
/**
* set layout option from theme option: full, framed, boxed
* set bg fixed, scroll
*/
extract( Dahz_Framework_Content::$dv_content_params );
$sidebar_push = '';
$pagination_layout = "de-" . $dv_pagination;
@dancingsoda
dancingsoda / dahz-framework-footer.php
Created December 8, 2016 03:31
glossy\dahz-framework-core\dahz-framework-front-end