deactivate product-page image slider on mobile

Ok I found the solution, with this code in functions.php: add_action( ‘after_setup_theme’, ‘remove_hemen_theme_support’, 100 ); function remove_hemen_theme_support() { remove_theme_support( ‘wc-product-gallery-zoom’ ); remove_theme_support( ‘wc-product-gallery-lightbox’ ); remove_theme_support( ‘wc-product-gallery-slider’ ); } The line remove_theme_support( ‘wc-product-gallery-slider’ ); deactivate the slider.

Output all images from gallery inside a slider

Ok, so, I found this function, but it wasn’t in the codex. It came from Pippin’s Plugins, just to clarify for any future readers. It appears this function was used as a filter added onto the content, and will only run when filtering existing content, because it’s retrieving & replacing the galleries placed inside the … Read more

Flexslider empty slide

I solved issue with putting integer to -1,don’t know really why this helped but if someone get same problem then maybe this will help to him. <?php $i = -1; if (have_posts() ) : while ( have_posts() ) : the_post(); if ($i%2 == 1) echo ‘</li><li>’; ?>

identify a particular page with php

As I understand you want to display your slide in specific pages, so you need to control it using if condition. debug the code before use, Only on front page / home page is_front_page(); // Use this function More reading . https://developer.wordpress.org/reference/functions/is_home/ https://developer.wordpress.org/reference/functions/is_front_page/ Get Current page name $pagename = get_query_var(‘pagename’); More details , stack overflow … Read more

How to make schedule for slider images in WordPress

i hope solve your problem this plugin please try : 1] https://wordpress.org/plugins/custom-banners/ 2] https://wordpress.org/plugins/add-custom-header-images/ 3] https://www.wp-tweaks.com/change-the-header-image-per-page-wordpress/ 4] https://wordpress.org/plugins/unique-headers/ 5] https://wordpress.org/plugins/smart-slider-3/

WordPress Carousel with recive posts (Bootstrap)

Following is the reformatted code for your slider code. Instead of two custom queries, only one is used for rendering items. Also note that, you should always avoid query_posts, use WP_Query instead. $the_query->current_post is used for implementation of active class. Please check out the following example and customize it as per your requirement. <div id=”myCarousel” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)