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 | |
/** | |
* Template listing single view. | |
* | |
* @package BDP/Templates/Single | |
*/ | |
// phpcs:disable | |
?> | |
<?php $main_links = wpbdp_main_links( $buttons ); ?> |
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
/* | |
Theme: Glink Onglets | |
Auteur: Glink.fr | |
Auteur URL: https://www.glink.fr/ | |
*/ | |
/*-------------------------------------------------------------- | |
>>> SOMMAIRE: | |
---------------------------------------------------------------- |
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
jQuery(document).ready(function($) { | |
$('#tabs').tabs(); | |
//hover states on the static widgets | |
$('#dialog_link, ul#icons li').hover( | |
function() { $(this).addClass('ui-state-hover'); }, | |
function() { $(this).removeClass('ui-state-hover'); } | |
); | |
}); |
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 | |
// On charge les styles parents et enfants | |
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 20); | |
function theme_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
wp_dequeue_style('sparkling-style'); | |
wp_enqueue_style( 'child-style', | |
get_stylesheet_directory_uri() . '/style.css', | |
array('parent-style') |
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
/* | |
Theme Name: Sparkling Child | |
Theme URI: http://colorlib.com/wp/themes/sparkling | |
Author: Colorlib | |
Author URI: http://colorlib.com/ | |
Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready and is available in Spanish. Sparkling is a free WordPress theme with premium functionality and design. | |
Version: 1.5.0 | |
Template: sparkling | |
License: GNU General Public License v2 or later | |
License URI: http://www.gnu.org/license |
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 | |
/** | |
* On enlève les scripts du thème parent | |
*/ | |
function sparkling_child_dequeue_script() { | |
wp_dequeue_script( 'sparkling_scripts' ); | |
} | |
add_action( 'wp_print_scripts', 'sparkling_child_dequeue_script()', 100 ); | |
/** |
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
$this->compat = new WPBDP_Compat(); | |
$this->rewrite = new WPBDP__Rewrite(); | |
do_action( 'wpbdp_loaded' ); |