This file contains hidden or 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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
if(isset($_FILES) && (bool) $_FILES) { | |
$allowedExtensions = array("pdf","doc","docx","gif","jpeg","jpg","png","rtf","txt"); | |
$files = array(); |
This file contains hidden or 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
<div id="vk_api_transport"></div> | |
<script type="text/javascript"> | |
setTimeout(function() { | |
var el = document.createElement("script"); | |
el.type = "text/javascript"; | |
el.src = "//vk.com/js/api/openapi.js"; | |
el.async = true; | |
document.getElementById("vk_api_transport").appendChild(el); | |
}, 0); | |
window.vkAsyncInit = function() { |
This file contains hidden or 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
/** | |
* checkbox | |
*/ | |
input[type=checkbox] { | |
opacity: 0; | |
} | |
input[type=checkbox]+label { | |
position: relative; | |
margin-left: 20px; | |
} |
This file contains hidden or 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
header{ | |
height: 1482px; | |
background: url(..) no-repeat top center; | |
@media only screen and (max-width: 1199px) and (min-width: 993px) { | |
background: url(..) no-repeat top center; | |
height: 1482px; | |
} | |
@media only screen and (max-width: 992px) and (min-width: 769px) { | |
background: url(..) no-repeat top center; |
This file contains hidden or 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
"use strict"; | |
header__opacity -> in header | |
menu transutuion | |
$(window).scroll(function() { | |
var height = $(window).scrollTop(); | |
console.log(height); | |
if(height < 150 ) { | |
$('header').removeClass('header__opacity'); | |
} else { |
This file contains hidden or 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($_POST) | |
{ | |
$to_email = "[email protected]"; //Recipient email, Replace with own email here | |
$from_email = "[email protected]"; //From email address (eg: [email protected]) | |
$subject = "subject"; | |
//Sanitize input data using PHP filter_var(). | |
$phone1 = filter_var($_POST["phone1"], FILTER_SANITIZE_STRING); | |
$phone2 = filter_var($_POST["phone2"], FILTER_SANITIZE_STRING); |
This file contains hidden or 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 | |
/** | |
* WordPress (function.php) | |
* @package Fobiya | |
* @subpackage | |
* Template Name: Definitive__Guide | |
* Template Post Type: post, page, product | |
*/ | |
Template Post Type: post, page, product, Landings, landings, landings,l - slag page-attributes |
This file contains hidden or 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
/----------------------------------------------------------- acf filter in function php ---------------------------------------------------------------------/ | |
add_shortcode('brand', 'brand_config'); | |
// END BRAND LINKS | |
//add_filter( 'tradersoft', 'do_shortcode'); | |
add_filter( 'wpcf7_form_elements', 'do_shortcode'); | |
add_filter('acf/format_value/type=wysiwyg', 'do_shortcode'); | |
add_filter('acf/format_value/type=textarea', 'do_shortcode'); | |
add_filter('acf/format_value/type=text', 'do_shortcode'); |
This file contains hidden or 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
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | |
<script> | |
$.getJSON('https://', function(data) { | |
var output=""; | |
for (var i in data.user) { | |
output+="<p>"+ data.user[i].name+"</p>"; |
OlderNewer