
Articles
Articles on WordPress website development, optimization, and support
A small archive of technical articles and working observations from real projects.
These posts are not meant to be content for content’s sake — just useful thoughts from hands-on work.
This section collects smaller thoughts that do not belong inside project case studies, but still reflect how I think about WordPress development, implementation, support, and product decisions.


Delay loading iframe
The iframe tag creates a window that is inside a regular document, and it allows you to load any other independent documents into the specified size. Since it is loaded from an external source, naturally it affects the page loading speed. Alternatively, you can postpone the loading of the iframe window for some time so […]

Minimum order amount in woocommerce
In order to set the minimum order amount in woocommerce, you need to place the following code in the function.php file of your theme: function wc_minimum_order_amount() { // Set this variable to specify a minimum order value $minimum = 2500; if ( WC()->cart->total < $minimum ) { if( is_cart() ) { wc_print_notice( sprintf( 'You must […]

How to change thumbnail image size of WooCommerce cart page
To change thumbnail image size of WooCommerce cart page you need next steps: 1. in function.php create the size you need. if ( function_exists( 'add_image_size' ) ) { add_image_size( 'custom-thumb', 100, 100 ); // 100 wide and 100 high } 2. in cart.php which should be located in your_tneme\woocommerce\cart find $thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), […]

Get custom categories with a hierarchy on the custom post type
Get custom categories with a hierarchy on the custom post type can be done in the following way: <?php global $post; $taxonomy = 'ваша таксономия'; $terms = wp_get_post_terms( $post->ID, $taxonomy, array( "fields" => "ids" ) ); if( $terms ) { echo '<ul class="list">'; $terms = trim( implode( ',', (array) $terms ), ' ,' ); wp_list_categories( […]

Special tags for plugin contact form 7
Special Mail Tags for Submissions [_remote_ip] — This tag is replaced by the submitter’s IP address. [_user_agent] — This tag is replaced by the submitter’s user agent (browser) information. [_url] — This tag is replaced by the URL of the page in which the contact form is placed. [_date] — This tag is replaced by […]

Product picture gallery on woocommerce category page
The gallery made on Slick. So, the code is: <?php function woocommerce_archive_gallery() { global $product; $post_ids = $product->get_id(); $attachment_ids = $product->get_gallery_attachment_ids(); echo '<div class="mainimg feature-slider-'; echo $post_ids; echo '">'; echo '<div>'; echo get_the_post_thumbnail( $post->ID, 'shop_single', $attributes ); echo '</div>'; foreach( $attachment_ids as $attachment_id ) { echo '<div>'; echo wp_get_attachment_image( $attachment_id, 'shop_catalog' ); echo '</div>'; } […]

qTranslate-X – Get the current language code

How to remove fields from the order page Woocommerce
How to display a thumbnail of a post with a background image

How to check if the main page is displayed – is_front_page ()

Is the product category Woocommerce
Have a WordPress project to discuss?
Send a short outline — I will review it and suggest a sensible next step.