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="accordion" id="faqAccordion"> | |
<div class="accordion-item"> | |
<h2 class="accordion-header"> | |
<button class="accordion-button collapsed" data-bs-toggle="collapse" type="button" aria-expanded="false"> | |
<?=$item['naam']?> | |
</button> | |
</h2> | |
<div class="accordion-collapse collapse"> | |
<div class="accordion-body"> | |
<?=$item['omschrijving']?> |
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
<!-- components/Reviews.vue --> | |
<div | |
class="col-12 col-lg-3" | |
v-for="(review, index) in reviews" | |
:key="index" | |
> | |
<div | |
class="card" | |
v-if=" |
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 | |
@click="setLocalStorage(item.name)" | |
v-for="( | |
item, itemIndex | |
) in items" | |
:key="itemIndex" | |
> | |
</div> | |
<script> |
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
<template> | |
<h2 class="pt-2 pl-2">Welkom<span v-if="Name"> {{Name}}</span>!</h2> | |
<div class="col-12 single-field"> | |
<input type="text" v-model="changedName" @input="updateName" :placeholder="Name ? Name : 'Naam'" class="w-100" /> | |
</div> | |
</template> | |
<script> |
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 | |
$loop = new WP_Query( array( | |
'post_type' => 'locations', | |
'posts_per_page' => '-1' | |
) ); | |
if ( $loop->have_posts() ) : | |
while ( $loop->have_posts() ) : $loop->the_post(); | |
$terms = get_the_terms( $post->ID, 'locations_categories' ); | |
$title = get_the_title($post->ID); |
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
setTimeout(function() { | |
$(this).val('Submit'); | |
}, 2000); //2000ms = 2 seconds |
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 echo get_template_directory_uri(); ?> | |
/* | |
<img src="<?php echo get_template_directory_uri(); ?>/dist/img/image.svg" /> | |
*/ |
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
$short_description = mb_strimwidth($short_description, 0, 100, "..."); //100 characters max |
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
Mac: | |
Command+Shift+F5 | |
Windows: | |
CTRL+Shift+F5 |
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
display: flex; | |
flex-direction: column; |
NewerOlder