Skip to content

Instantly share code, notes, and snippets.

@dancingsoda
dancingsoda / comments.php
Created December 7, 2016 04:17
replace the old code
<?php
/**
* The template for displaying comments.
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package DAHZ Framework
@dancingsoda
dancingsoda / ferris.php
Created December 6, 2016 08:09
in folder dahz-framework-themes\views\dahz-framework-footer
<?php
extract( Dahz_Framework_Footer::$dv_footer_params );
$footer = Dahz_Framework_Footer::$dv_footer_params;
?>
<footer id="de-footer-wrapper" class="febe">
<?php
if( 'yes' == strtolower( $footer['dv_display_footer'] ) ){
if ( is_active_sidebar( 'de-footer-area-1' ) ) {
?>
@dancingsoda
dancingsoda / df-footer.php
Created December 5, 2016 04:08
html strip issue
@dancingsoda
dancingsoda / about page code
Created December 5, 2016 02:11
copy this to text editor (NOT visual)
[dahz_framework_image_parallax align="de-text-center" height="60vh" id="709"]About[/dahz_framework_image_parallax]
[dahz_framework_empty_space space="40px"/]
&nbsp;
<img class="aligncenter size-full wp-image-750" src="http://dahz.daffyhazan.com/glossy/sloanie/wp-content/uploads/sites/4/2016/08/about.jpg" alt="about" width="950" height="300" />
[dahz_framework_empty_space space="40px"/]
<h6 style="text-align: center;">Know More</h6>
@dancingsoda
dancingsoda / product-image.php
Created December 2, 2016 09:08
overwrite this file
<?php
/**
* Single Product Image
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.14
*/
if (!defined('ABSPATH'))
exit; // Exit if accessed directly
@dancingsoda
dancingsoda / foundation.js
Created November 25, 2016 02:49
the unminified version of the js
function _classCallCheck(t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
@dancingsoda
dancingsoda / social-share-2.php
Created November 22, 2016 03:16
removing the "3" in share button
<div class="style2 df-post-sharing <?php echo esc_attr( $top_class ); echo esc_attr( $general_layout == 'layout-8' ) ? ' mobile':'';?> df-social-share">
<ul class="list-inline">
<?php
if ( $social_list['facebook'] == 'yes') {
?>
<li class="df-social-sharing-buttons facebook popup">
<a onclick="return false" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo esc_url( get_permalink( get_the_ID() ) ) ?>">
<i class="fa fa-facebook"></i>
@dancingsoda
dancingsoda / landing
Created November 21, 2016 08:31
you NEED to copy it to TEXT editor on wordpress page editor
[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]<span style="color: #747474;">You just need the right theme </span><span style="color: #747474;">to do it fashionably.</span>[/vc_column_text][vc_btn title="VIEW MORE" style="flat" shape="square" color="black" link="url:%23glossy-feature|tit
@dancingsoda
dancingsoda / a
Created November 18, 2016 03:49
rvival home shortcode
[vc_row full_width="stretch_row_content_no_spaces" css=".vc_custom_1465462167340{padding-top: 0px !important;padding-bottom: 0px !important;}"][vc_column][df_posts_carousel_1 limit_post_number="10" auto_play="true" auto_play_speed="5000"][/vc_column][/vc_row][vc_row css=".vc_custom_1465462209682{margin-bottom: 20px !important;padding-top: 0px !important;padding-bottom: 0px !important;}"][vc_column][df_news_ticker style="style2" title_text_color="#ffffff" limit_post_number="5" title_background_color="#000000" post_title_text_color="#222222"][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1468306019279{border-bottom-width: 1px !important;padding-bottom: 30px !important;border-bottom-color: #e0e0e0 !important;border-bottom-style: solid !important;}"][vc_column width="2/3"][df_posts_block_11 title="On Trend" limit_post_number="4" source="by-category"][vc_empty_space height="40px"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="dfs_723pfz"][/vc_column][/vc_row][vc_row css=".
@dancingsoda
dancingsoda / df-footer.php
Created October 25, 2016 02:50
onfleek html issue on footer