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 | |
/* | |
* WPML language switcher customizations: htp://wpml.org | |
*/ | |
function custom_wpml_lang_switcher() { | |
if (function_exists('icl_get_languages')){ | |
// remove WPML default css | |
define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true); | |
// Custom language layout selector ?> |
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 | |
$terms = get_terms( 'TAXONOMY' ); | |
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ | |
foreach ( $terms as $term ) { | |
echo '<div class="item">'; | |
$icon = pods_field( 'TAXONOMY', $term->term_id, 'FIELD', true ); | |
$icon_url = $icon['guid']; | |
$icon_thumb = pods_image_url ( $icon_url, 'thumbnail', 0, false ) ; | |
$term_link = get_term_link($term); | |
echo '<a href="'.$term_link.'">'; |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// LESS Compilation | |
less: { | |
development: { | |
options: { | |
paths: ["src/css"] |
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($) { | |
/* WORDPRESS NAV-BAR SUPPORT ------------- */ | |
/* Adds support for the top-bar with flyouts in WordPress */ | |
$('.top-bar-section li').has('ul').addClass("has-dropdown"); | |
$('.top-bar-section li.has-dropdown ul').addClass("dropdown"); | |
/*loads foundation*/ | |
jQuery(document).foundation(); |
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
<html> | |
<body> | |
<p>fly in, fly out</p> | |
</body> | |
</html> |