dielange
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Event Manager] [qemcalender] not workingAdditional: Root cause for wrong spelling: in dutch translation the spelling is in fact qemcalender.
“Om een kalender aan je site toe te voegen gebruik de shortcode: [qemcalender].”
Forum: Plugins
In reply to: [Quick Event Manager] [qemcalender] not workingDear Alan, thanks so much for supporting and noticing the spelling error which obviously was the root cause.
With [qemcalendar] it is now functioning 100% and very happy with that. So this topic can be closed as solved!
Cheers
Forum: Plugins
In reply to: [Quick Event Manager] [qemcalender] not workingAdditional: the [qem] shortcode is working
Forum: Plugins
In reply to: [WooCommerce] Endless loading/spinner on checkout pageAfter some refreshing sometimes did go through to payment gateway. Issue occured before that and not even able to select payment method.
Forum: Plugins
In reply to: [WooCommerce] Endless loading/spinner on checkout pageHello Claudiu, no error log, chrome inspector however is showing a 403 error for /wc_order_review (dont have the laptop in front of me now).
Forum: Plugins
In reply to: [WooCommerce] Endless loading/spinner on checkout pageIssue on my side occurs regardless of logged in- or not
Forum: Plugins
In reply to: [WooCommerce] Endless loading/spinner on checkout pageSame problem here, existing on various stores with different hosting parties.
Example HereForum: Plugins
In reply to: [Job Manager] Categories not categorizingthanks anyway!
Forum: Themes and Templates
In reply to: [Modality] Slider images not scalingposted this in another thread here but it states resolved, as the issue of the very annoying motorcycle AND the slider images not resizing on mobile devices I decided to drop the same lines here. Copy and paste the following in your editor / modality-image-sliders.php
Use at own risk but does the trick for me<?php /** * Modality functions and definitions * * @package Modality */ function modality_slider() { global $post; $modality_theme_options = modality_get_options( 'modality_theme_options' ); $slider_cat = $modality_theme_options['image_slider_cat']; $num_of_slides = $modality_theme_options['slider_num']; $button_text = $modality_theme_options['caption_button_text']; $modality_slider_query = new WP_Query( array( 'posts_per_page' => $num_of_slides, 'cat' => $slider_cat ) );?> <div class="clear"></div> <div class="banner"> <ul> <?php while ( $modality_slider_query->have_posts() ): $modality_slider_query->the_post(); ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> <li style="background: url(<?php echo esc_url($image[0]); ?>) 50% 0 no-repeat;background-size:cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;"> <?php if ($modality_theme_options['captions_on'] == '1') { ?> <div class="inner"> <a class="post-title" href="<?php the_permalink() ?>"><h1><?php the_title(); ?></h1></a> <?php the_excerpt(); ?> </div> <?php if ($modality_theme_options['captions_button'] == '1') { ?> <a href="<?php the_permalink() ?>" class="btn"><?php echo $button_text ?></a> <?php }; ?> <?php }; ?> </li> <?php endwhile; wp_reset_query(); ?> </ul> </div> <div class="clear"></div> <?php } function modality_localize_scripts(){ wp_enqueue_script( 'slides', get_template_directory_uri() .'/js/slides.js' , array( 'jquery' ), '', true ); $modality_theme_options = modality_get_options( 'modality_theme_options' ); $animation_speed = $modality_theme_options['animation_speed']; $slideshow_speed = $modality_theme_options['slideshow_speed']; $datatoBePassed = array( 'slideshowSpeed' => $slideshow_speed, 'animationSpeed' => $animation_speed, ); wp_localize_script( 'slides', 'php_vars', $datatoBePassed ); } add_action( 'wp_enqueue_scripts', 'modality_localize_scripts' );Forum: Themes and Templates
In reply to: [Modality] how to add at home page slider?This does the trick for me in editor modality-image-sliders.php, solves the scaling as well as the very annoying motorcycle “from hell”
<?php /** * Modality functions and definitions * * @package Modality */ function modality_slider() { global $post; $modality_theme_options = modality_get_options( 'modality_theme_options' ); $slider_cat = $modality_theme_options['image_slider_cat']; $num_of_slides = $modality_theme_options['slider_num']; $button_text = $modality_theme_options['caption_button_text']; $modality_slider_query = new WP_Query( array( 'posts_per_page' => $num_of_slides, 'cat' => $slider_cat ) );?> <div class="clear"></div> <div class="banner"> <ul> <?php while ( $modality_slider_query->have_posts() ): $modality_slider_query->the_post(); ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> <li style="background: url(<?php echo esc_url($image[0]); ?>) 50% 0 no-repeat;background-size:cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;"> <?php if ($modality_theme_options['captions_on'] == '1') { ?> <div class="inner"> <a class="post-title" href="<?php the_permalink() ?>"><h1><?php the_title(); ?></h1></a> <?php the_excerpt(); ?> </div> <?php if ($modality_theme_options['captions_button'] == '1') { ?> <a href="<?php the_permalink() ?>" class="btn"><?php echo $button_text ?></a> <?php }; ?> <?php }; ?> </li> <?php endwhile; wp_reset_query(); ?> </ul> </div> <div class="clear"></div> <?php } function modality_localize_scripts(){ wp_enqueue_script( 'slides', get_template_directory_uri() .'/js/slides.js' , array( 'jquery' ), '', true ); $modality_theme_options = modality_get_options( 'modality_theme_options' ); $animation_speed = $modality_theme_options['animation_speed']; $slideshow_speed = $modality_theme_options['slideshow_speed']; $datatoBePassed = array( 'slideshowSpeed' => $slideshow_speed, 'animationSpeed' => $animation_speed, ); wp_localize_script( 'slides', 'php_vars', $datatoBePassed ); } add_action( 'wp_enqueue_scripts', 'modality_localize_scripts' );Oke cool, slider image not responsive is resolved using the little snippet from (should have looked better)
What remains is the wish to get rid of the slider controls…