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('wp_nav_menu_objects', 'ad_filter_menu', 10, 2); | |
function ad_filter_menu($sorted_menu_objects, $args) { | |
if ($args->menu->slug != 'home-page-slider') | |
return $sorted_menu_objects; | |
// edit the menu objects | |
foreach ($sorted_menu_objects as $menu_object) { | |
// searching for menu items linking to posts or pages | |
// can add as many post types to the array |
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
<div id="france-anchors"> | |
<ul> | |
<li style="border-left:0px;"><a href="#presidential">Presidential</a></li> | |
<li><a href="#legislative">Legislative</a></li> | |
</ul> | |
</div> | |
<script> | |
(function($) { | |
$('.layout-detail-page__main a[href*="#"]:not([href="#"])').click(function() { |
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
license: gpl-3.0 |
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
license: mit |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://d3js.org/topojson.v1.min.js"></script> | |
<!-- I recommend you host this file on your own, since this will change without warning --> | |
<script src="http://datamaps.github.io/scripts/datamaps.world.min.js?v=1"></script> | |
<h2>Datamaps Playground</h2> | |
<p><a href="http://datamaps.github.io/">DataMaps Project Homepage</a></p> | |
<div id="container1" style="position: relative; width: 80%; max-height: 450px;"></div> |
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
<table class="striped"> | |
<thead> | |
<tr> | |
<th class="title" colspan="4"> China FDI Top Destinations in Africa (2005 - 2016)</th> | |
</tr> | |
<tr> | |
<th>Country</th> | |
<th>Volume in $ billions</th> | |
<th>Global Ranking</th> | |
<th>Economic Development Level</th> |
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
#satellite .longform-section-overlay.aos-animate + .section-content svg#Layer path { | |
stroke-dasharray: 1000; | |
stroke-dashoffset: 1000; | |
animation: dash 5s linear forwards 1; | |
} | |
@keyframes dash { | |
from { | |
stroke-dashoffset: 1000; | |
} |
OlderNewer