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
for (var i = 20; i < 400; i += 60) { // i vale 20, mientras i no sea mayor que 400, sumarle 60 | |
line(i, 40, i + 60, 500); // (x1, y1, x2, y2) | |
} |
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
<figure class="small-12 medium-6 cell"> | |
<?php if( get_field('galeria') ): ?> | |
<?php $images = get_field('galeria'); if( $images ): ?> | |
<div class="owl-carousel owl-theme"> | |
<?php foreach( $images as $image ): ?> | |
<div class="item"> | |
<img src="<?php echo $image['sizes']['medium_thumb']; ?>" alt="<?php echo $image['alt']; ?>" /> | |
</div> | |
<?php endforeach; ?> | |
</div> |
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( have_rows('repeater_field_name') ): while ( have_rows('repeater_field_name') ) : the_row(); ?> | |
<?php the_sub_field('sub_field_name'); ?> | |
<?php endwhile; endif; ?> |
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 (get_field('field_name')) : ?> | |
<?php else : ?> | |
<?php endif; ?> |
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
a { | |
position: relative; | |
color: #000; | |
text-decoration: none; | |
} | |
a:hover { | |
color: #000; | |
} | |
a:before { | |
content: ""; |
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
<a href="#" data-open="shareModal-<?php the_ID(); ?>">boton</a> | |
<div id="shareModal-<?php the_ID(); ?>" class="reveal-modal" data-reveal> | |
<!-- the stuff inside the modal here --> | |
</div><!-- #shareModal --> |
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
<!DOCTYPE html> | |
<!-- Monaco --> | |
<!-- Help and FAQ: themes.stashfamily.com/help --> | |
<!-- Download: themes.stashfamily.com/themes/monaco --> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=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
<?php $terms = get_the_terms( $post->ID , 'taxonomyname' ); foreach ( $terms as $term ) { echo $term->name; } ?> |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
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
<div class="grid-container"> | |
<div class="grid-x"> | |
<?php | |
// loop through terms of the Markets Taxonomy | |
$getArgs = array( | |
'parent' => 0, | |
'order' => 'DESC', | |
'orderby' => 'count', | |
'hide_empty' => false, | |
); |
NewerOlder