Skip to content

Forminator preloader

You need to wrap the form shortcode in a form-wrap shortcode to make it work. //FORMINATOR PRELOADER - give form class form-wrap add_action( 'wp_footer', function() { global $post; if ( ! $post instanceof WP_Post || ! has_shortcode( $post->post_content, 'forminator_form' )…

Mehr Lesen

WOOCOMMERCE PRODUCT CAT TREE Shortcode

//PRODUCT CAT TREE function woo_cards_product_filter_shortcode( $atts ) { if ( ! function_exists( 'totalthemecore_call_non_static' ) ) { return; } // Load AJAX filter scripts totalthemecore_call_non_static( 'Vcex\Ajax', 'enqueue_scripts' ); // Get target grid ID from shortcode attribute $target = isset( $atts['target'] )…

Mehr Lesen

Forminator CSS Material design with great upload field

Upload field not shown in screenshot /*---------------------------*/ /*FORM .forminator-textarea */ .forminator-input { border-top: 0; border-right: 0; } /*FORMINATOR SUBMIT BUTTON RIGHT ARROW .forminator-button-submit { display: flex; align-items: center; } .forminator-button-submit:after { content: "\e914"; color: var(--wpex-btn-color, var(--wpex-on-accent)); font-size: 40px; padding-left: 10px;…

Mehr Lesen

CSS Radial

/*RADIAL url(https://grainy-gradients.vercel.app/noise.svg)*/ .radial .owl-prev .wpex-carousel__arrow-icon:before, .radial .wpex-carousel__arrow--prev:before, .radial .owl-next .wpex-carousel__arrow-icon:before, .radial .wpex-carousel__arrow--next:before { color: var(--wpex-accent-on) !important; } .radial { /*background: radial-gradient(at 0% 45%, #5D265D, #180E23);*/ background-color: hsl(278, 49%, 10%); background: radial-gradient(circle farthest-side at left center, hsl(297, 43%, 27%) 0%, hsl(278,…

Mehr Lesen

TUrn Toggle bar into contact float

/*CONTACT FLOAT TOGGLE BAR*/ #toggle-bar-wrap { position: fixed; background-color: #000000b0; inset-inline: unset; inset-block-start: unset; box-shadow: unset; padding: 25px; border-radius: 15px; overflow: visible; max-width: 150px; right: 25px; bottom: 90px; } #toggle-bar-wrap:after { /*content: ''; position: absolute; bottom: 0; right: 20px; width:…

Mehr Lesen

Placeholder text colors

/*SEARCH PLACEHOLDER*/ #mobile-menu-search-input::-webkit-input-placeholder { color: #cacaca; } #mobile-menu-search-input:-moz-placeholder { color: #cacaca; } #mobile-menu-search-input::-moz-placeholder { color: #cacaca; } #mobile-menu-search-input:-ms-input-placeholder { color: #cacaca; } #mobile-menu-search-input::placeholder { color: #cacaca; }

Mehr Lesen

Total Theme Fixes

Problem: Stretched WPBakery Rows are wider than regular rows. This is a very annoying anomaly in the WPBakery Pagebuilder. The way it handles column gaps is like they add 15px on all sides. For stretched rows it is calculated differently,…

Mehr Lesen

Change User Role from PHPMYADMIN

To change a WordPress user role in phpMyAdmin, follow these steps: 1. Access phpMyAdmin: Log in to your hosting control panel (like cPanel) and open phpMyAdmin. Select your WordPress database from the left-hand menu.  2. Locate the user: Go to…

Mehr Lesen

Show all image size urls for given attachment_id

$metadata = wp_get_attachment_metadata( $thumbnail_id ); $base_url = wp_upload_dir()['baseurl']; if ( ! empty( $metadata['sizes'] ) ) { foreach ( $metadata['sizes'] as $size => $data ) { $url = $base_url . '/' . $data['file']; echo "Size: $size → URL: $url<br>"; } }

Mehr Lesen

Editing WITH vi editor

To edit /etc/yum.conf with vi, run: sudo vi /etc/yum.conf Press i to enter insert mode and make changes. Press Esc, then type :wq and press Enter to save and exit. To exit without saving, use :q!.

Mehr Lesen
An den Anfang scrollen