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
//You must first register all these strings for translation. | |
//For example you echo "Hello world" in some template file like this: | |
<?php pll_e('Hello world'); ?> | |
//To show string in the "Strings translation" add in your functions.php: | |
add_action('init', function() { | |
pll_register_string('mytheme-hello', 'Hello world'); | |
}); | |
//Add all custom strings you want to translate to this 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
.wpb_images_carousel { | |
.vc_slide { | |
width: 100% !important; | |
position: static; | |
} | |
img { | |
width: 100%; | |
} | |
} |
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 if($rec_video = get_field('rec_video')): ?> | |
<div class="recruitment-video"> | |
<div class="recruitment-video__item embed-box"><?php echo $rec_video; ?></div> | |
<?php if($video_pl = get_field('video_pl')): ?> | |
<div class="recruitment-video__overlay" <?php bg($video_pl, 'large'); ?>> | |
<div class="recruitment-video__play"></div> | |
</div> | |
<?php endif; ?> | |
</div> | |
<?php endif; ?> |
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
https://github.com/bfintal/Counter-Up |
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
<!-- Posts list --> | |
<section class="posts-section"> | |
<div class="row"> | |
<?php if (have_posts()) : ?> | |
<?php $i = 0; ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<?php $i++; if($i == 1) {continue;} ?> | |
<div class="column"><?php the_title(); ?></div> | |
<?php endwhile; ?> | |
<?php endif; ?> |
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
https://www.google.com/recaptcha/admin |
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
// Expanded image in content | |
if ($('.single-page').length) { | |
$('p > img:only-child').parent().addClass('image-expanded'); | |
} |
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
// Stiky Header | |
$fixed_menu = get_field('fixed_menu', 'option') ? true : false; | |
wp_localize_script( 'global', 'menu', array( 'is_fixed' => $fixed_menu ) ); |
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
// ******* CSS | |
.product-btn { | |
position: relative; | |
background-color: $gold; | |
color: $white; | |
border-radius: 25px; | |
text-transform: uppercase; | |
font-family: $sub_font; | |
margin: 20px auto; | |
overflow-y: hidden; |
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 single_term_title(null, true); ?> |