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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
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 | |
/** | |
* @package activello | |
*/ | |
$layout = get_theme_mod( 'activello_sidebar_position' ); | |
$image_size = 'activello-big'; | |
if ( $layout == "full-width" ) { |
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 | |
class Nox_Pages_Dropdown extends WP_Customize_Control { | |
public $type = 'nox-pages-dropdown'; | |
private $dropdown_pages; | |
private $pages_links; | |
public function __construct( WP_Customize_Manager $manager, $id, array $args ) { | |
parent::__construct( $manager, $id, $args ); |
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 | |
/** | |
* Plugin Name: Really Simple Captcha for Strong Testimonials | |
* Plugin URI: https://strongtestimonials.com | |
* Description: Add Really Simple Captcha to Strong Testimonials. | |
* Author: MachoThemes | |
* Author URI: https://www.machothemes.com/ | |
* Version: 1.0.0 | |
* Requires: 4.6 or higher | |
* License: GPLv3 or later |
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 medzon_child_customize_register( $wp_customize ) { | |
$color_scheme = $wp_customize->get_control( 'medzone_color_scheme' ); | |
$color_scheme->choices[] = array( | |
'id' => 'testchild', | |
'name' => 'Child', | |
'colors' => array( | |
'epsilon_accent_color' => '#ffffff', |
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 | |
$classes = apply_filters( 'modula_gallery_extra_classes', 'modula modula-gallery', $data->settings ); | |
?> | |
<div id="<?php echo esc_attr($data->gallery_id) ?>" class="<?php echo esc_attr( $classes ) ?> <?php echo ( $data->settings['align'] != '' ) ? esc_attr( 'align' . $data->settings['align'] ) : ''; ?>" data-config="<?php echo esc_attr( json_encode( $data->js_config ) ) ?>"> |
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( 'modula_lightboxes_options', 'modula_pro_custom_swipebox_options' ); | |
function modula_pro_custom_swipebox_options( $ligtboxes_options ){ | |
if ( isset( $ligtboxes_options['lightboxes']['swipebox'] ) && isset( $ligtboxes_options['lightboxes']['swipebox']['options'] ) ) { | |
$ligtboxes_options['lightboxes']['swipebox']['options']['hideBarsDelay'] = 1000; | |
} | |
} |
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
class Modula_SEO { | |
private $separators = array( | |
'separator_dash' => '-', | |
"separator_pipe" => '|', | |
"separator_colon" => ':', | |
"separator_tilde" => '~', | |
"separator_greater" => '>', | |
"separator_less" => '<', | |
"separator_shift_right" => '»', | |
"separator_shift_left" => '«', |
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 | |
add_filter( 'modula_shortcode_item_data', 'maricruzmodainfantil_link_title', 99, 3 ); | |
function maricruzmodainfantil_link_title( $item_data, $item, $settings ){ | |
if ( in_array( $settings['lightbox'], array( 'direct', 'attachment-page' ) ) ) { | |
if ( isset( $item_data['link_attributes']['data-title'] ) ) { | |
$item_data['link_attributes']['title'] = $item_data['link_attributes']['data-title']; | |
} |
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 | |
add_filter( 'modula_shortcode_item_data', 'photoguy_link_title', 99, 3 ); | |
function photoguy_link_title( $item_data, $item, $settings ){ | |
if( isset( $item_data['link_attributes']['title'] ) ){ | |
unset( $item_data['link_attributes']['title'] ); | |
} | |
if( isset( $item_data['link_attributes']['data-sub-html'] ) ){ | |
unset( $item_data['link_attributes']['data-sub-html'] ); |
OlderNewer