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
{"id":"clf8egk5b0011mq08rzq4l11j","version":"3","createdAt":"2023-03-14T15:19:57.696Z","updatedAt":"2023-03-14T18:05:40.043Z","icon":"🧳","name":"Travel Personality Quiz","folderId":null,"groups":[{"id":"gdf4lf6iq1o0rurhh06b03cw","title":"Start","blocks":[{"id":"wotftm0c5h41ojhhtx39sfe6","type":"start","label":"Start","groupId":"gdf4lf6iq1o0rurhh06b03cw","outgoingEdgeId":"o702ppi5lbsrbcl9ywxnzunb"}],"graphCoordinates":{"x":-1.513010660807292,"y":-1.3938649495442703}},{"id":"banuo15r8cqn17n9exp85g1l","title":"Question 1","blocks":[{"id":"okidfn4g35j9ayfack66st2f","type":"text","content":{"html":"<div>Find out your travel personality in just 5 questions.</div>","richText":[{"type":"p","children":[{"text":"Find out your travel personality in just 5 questions."}]}],"plainText":"Find out your travel personality in just 5 questions."},"groupId":"banuo15r8cqn17n9exp85g1l"},{"id":"qxye2idrd4xqyd07j0ijz6dp","type":"text","content":{"html":"<div>What is your dream vacation destination?</div>","richText":[{"type":"p","ch |
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
Folgenden Code unter übliche wp-config-.php-Befehle einfügen: (Auf All-Inkl angewandt - andere Host-Daten müssten dementsprechend angepasst werden...) | |
define( 'SMTP_USER', 'm05f2ew1' ); // Postfach-Benutzer | |
define( 'SMTP_PASS', 't3stpwd' ); // Postfach-Passwort | |
define( 'SMTP_HOST', 'w01c1234.kasserver.com' ); // Postein- und Ausgangsserver | |
define( 'SMTP_FROM', '[email protected]' ); // Gewünschte E-Mail-Adresse zum Versenden | |
define( 'SMTP_NAME', 'Example Website' ); // Webseiten-Name | |
define( 'SMTP_PORT', '465' ); // SMTP-Port - häufig 465 oder 587 (auch 25, aber unsicher) | |
define( 'SMTP_SECURE', 'ssl' ); // Verschlüsselungstyp (auch tls möglich) | |
define( 'SMTP_AUTH', true ); // SMTP-Authentifikation |
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 | |
/** | |
* Back to Top button that appears once one scrolls past the full viewport height | |
* Drop this function into your functions.php, code snippets plugin ... | |
* You should not need to change anything, but in case your theme does not have #page id in one of top dom elements, change to the one you have | |
* CSS you can normally edit as you like | |
*/ | |
function back_to_top() { | |
?> |
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
// Function to add Custom Post Type. | |
function olympus_custom_post_type() | |
{ | |
// Register the doc post type | |
register_post_type( 'docs', array( | |
'labels' => array( | |
'name' => esc_html__( 'Documentation', 'olympus' ), | |
'singular_name' => esc_html__( 'Document', 'olympus' ), | |
'add_new' => esc_html__( 'Add New', 'olympus' ), |
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 | |
add_filter( 'woocommerce_loop_add_to_cart_link', function ( $html, $product ) { | |
if ( is_user_logged_in() && is_shop() && $product && $product->is_type( 'simple' ) && $product->is_purchasable() && $product->is_in_stock() && ! $product->is_sold_individually() ) { | |
$html = '<form action="' . esc_url( $product->add_to_cart_url() ) . '" class="cart" method="post" enctype="multipart/form-data"><div class="ct-cart-actions">'; | |
$html .= woocommerce_quantity_input( array(), $product, false ); | |
$html .= '<button type="submit" class="single_add_to_cart_button button alt" name="add-to-cart" value="' . $product->get_id() . '">' . esc_html( $product->add_to_cart_text() ) . '</button>'; | |
$html .= '</div></form>'; | |
} | |
return $html; | |
}, 10, 2 ); |
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
<script> | |
jQuery(document).ready(function($) { | |
$('.ct-filter').on( 'click', function(event){ | |
var $type = $(this).data("filter"); | |
if($type == "all"){ | |
$('.entry-card').fadeOut(0); | |
$('.entry-card').fadeIn(500); | |
} else { | |
$('.entry-card').hide(); | |
// For CPTs just change the category class to your CPTs slug for example: '.projects-' |
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 | |
add_filter( 'blocksy:hero:after', 'blc_jquery_filter', 10); | |
function blc_jquery_filter() { | |
if ( is_home() ) { | |
?> | |
<script> | |
jQuery(document).ready(function($) { | |
$('.ct-filter').on( 'click', function(event){ | |
var $type = $(this).data("filter"); | |
if($type == "all"){ |
NewerOlder