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
.parent { | |
overflow: hidden; | |
&:hover { | |
.child { | |
transform: scale3d(1.1,1.1,1); | |
} | |
} | |
} |
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
p:not(.fancy) { | |
color: green; | |
} |
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
// create shortcode with parameters so that the user can define post queries | |
add_shortcode( 'recurring-events', 'recurring_events_parameters_shortcode' ); | |
function recurring_events_parameters_shortcode( $atts ) { | |
ob_start(); | |
// define attributes and their defaults | |
$a = shortcode_atts( array ( | |
'type' => 'recurring_event', | |
'posts' => -1, | |
'categories' => '', |
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 | |
//Example from Codex page : http://codex.wordpress.org/Function_Reference/add_submenu_page | |
//Add this in your functions.php file, or use it in your plugin | |
add_action('admin_menu', 'register_my_custom_submenu_page'); | |
function register_my_custom_submenu_page() { | |
add_submenu_page( 'edit.php?post_type=book', 'My Custom Submenu Page', 'My Custom Submenu Page', 'manage_options', 'my-custom-submenu-page', 'my_custom_submenu_page_callback' ); | |
} | |
function my_custom_submenu_page_callback() { | |
echo '<div class="wrap"><div id="icon-tools" class="icon32"></div>'; | |
echo '<h2>My Custom Submenu Page</h2>'; |
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
// Lines 1364 - 1410 at /wp-content/plugins/fusion-builder/shortcodes/fusion-blog.php | |
// declared global $post variable on line 1390 and set title attribute to "Read more about $post -> post_title on line 1397 | |
/** | |
* The read-more element. | |
* | |
* @access public | |
* @since 1.0 | |
* @return 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
@mixin palette-1 { | |
$a: #f97761; | |
$b: #fa9652; | |
$c: #7874f6; | |
$d: #f5f8fd; | |
$e: #d2d9e6; | |
$f: #9fa4be; | |
} | |
@mixin palette-2 { |
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 (!preg_match('#^https?://#', $qnbv_tdl_website)) : ?> | |
<p><a href="//<?php echo $qnbv_tdl_website; ?>" | |
target="_blank"><?php echo $qnbv_tdl_website; ?></a></p> | |
<?php else : ?> | |
<p><a href="<?php echo $qnbv_tdl_website; ?>" | |
target="_blank"><?php echo $qnbv_tdl_website; ?></a></p> |
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
Image Map Pro | |
https://imagemappro.com/ |
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
Scroll Craft | |
https://webcraftplugins.com/scroll-craft-js/ |
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
if ($('body').is('.class')) { | |
} |