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
** Some Awsome Website Using With Animation: | |
=========================================== | |
1. https://waaark.com/ | |
2. http://www.species-in-pieces.com/ | |
** Improve the Payment Experience With Animations: | |
================================================== | |
It can be helping the user better understand what’s going on and how to use your product most effectively. |
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
1. Get Header | |
============== | |
<?php get_header( $name ); ?> | |
=>Parameters | |
# $name (Calls for header-name.php) | |
=> Different header for different pages. | |
<?php | |
if ( is_home() ) : |
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 crazyland_maps_shortcode($atts) { | |
$default = array( | |
'lat' => '22.9196383', | |
'lon' => '91.520781', | |
'zoom' => '16', | |
'width' => '600', | |
'height' => '400', | |
); |
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 | |
/** | |
* Visual Composer DropDown Item Example in Right Way | |
* Dropdown attribute with default value in WPBakery Visual Composer | |
* | |
* @package VC_Dropdown | |
* @author Mahfuz <asrmahfuz8@gmail.com> | |
*/ | |
vc_map(array( | |
"name" => __( "VC Dropdown", 'textdomain' ), |
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 | |
/* | |
Shortcode Documentation | |
======================= | |
=> Bootstrap 4 Component | |
=> Github Documentation | |
=> Gist Link: https://goo.gl/vuhT4r | |
TOC: |
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 stock_styled_map_shortcode($atts, $content = null) { | |
extract( shortcode_atts( array( | |
'lat' => '40.7433379', | |
'lng' => '-74.0103219', | |
'title' => 'Head Office', | |
'desc' => 'House 21, Grand St.<br/> New York, USA', |
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 if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly. | |
function stock_theme_page_metabox($options){ | |
$options = array(); // remove old options | |
// ----------------------------------------- | |
// Slide Options - | |
// ----------------------------------------- |
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 stock_service_box_shortcode($atts, $content = null){ | |
extract( shortcode_atts( array( | |
'title' => '', | |
'desc' => '', | |
'type' => 1, | |
'link_to_page' => '', | |
'external_link' => '', |
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 | |
$frozen_body_font_get = cs_get_option('frozen_body_font'); | |
$frozen_heading_font_get = cs_get_option('frozen_headding_font'); | |
function frozen_crazycafe_body_gf_url() { | |
$font_url = ''; | |
$frozen_body_font_get = cs_get_option('frozen_body_font'); | |
if(array_key_exists('family', $frozen_body_font_get)) { | |
$frozen_body_font_get_family = $frozen_body_font_get['family']; |
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
if ( ! function_exists( 'prefix_fonts_url' ) ) : | |
/** | |
* Register Google fonts. | |
* | |
* @return string Google fonts URL for the theme. | |
*/ | |
function prefix_fonts_url() { | |
$fonts_url = ''; | |
$fonts = array(); | |
$subsets = ''; |