Skip to content
white computer keyboard

All relevant special charcters and their shortcuts on a Mac

@Atalt + L€Euroalt + E$Dollarshift + 4£Britisches Pfundalt + shift + 4©Copyrightalt + G®Registeredalt + R™Trademarkalt + shift + DApplealt + shift + +§Paragraphshift + 3~Tildealt + N (dann Leertaste)(Klammer aufshift + 8)Klammer zushift + 9[eckige Klammer aufalt + 5]eckige Klammer…

Mehr Lesen
a purple and white square with the word woo on it

WooCommerce: Price without Tax as Price Suffix

function show_price_without_tax($price_html, $product) { if (is_product() && wc_prices_include_tax()) return sprintf(__('%1$s', 'woocommerce'), wc_price(wc_get_price_excluding_tax($product), array('ex_tax_label' => true))); return $price_html; } add_filter('woocommerce_get_price_suffix', 'show_price_without_tax', 999, 2); Source

Mehr Lesen
person holding white samsung android smartphone

Scroll Depth Indicator

jQuery(function($) { $( document ).ready(function() { if ($('.animatedCounter').length) { $(window).scroll(testScroll); } }); var viewed = false; function isScrolledIntoView(elem) { var docViewTop = $(window).scrollTop(); var docViewBottom = docViewTop + $(window).height(); var elemTop = $(elem).offset().top; var elemBottom = elemTop + $(elem).height(); return…

Mehr Lesen

CSS-Trick: Clipping reveal for fade in left or right in WPBakery

/*ADD CLIPPING REVEAL FOR FADEIN ANIMATIONS*/ .wpb_animate_when_almost_visible.wpb_fadeInRight.animated img, .wpb_animate_when_almost_visible.wpb_fadeInLeft.animated img { -webkit-clip-path: inset(0 -1px 0 -1px); clip-path: inset(0 -1px 0 -1px); } .wpb_animate_when_almost_visible.wpb_fadeInRight img { -webkit-clip-path: inset(0 0 0 100%); clip-path: inset(0 0 0 100%); transition: -webkit-clip-path .8s cubic-bezier(.45,.05,.15,.93) .2s;…

Mehr Lesen

CSS-Trick: Stretch Column to full left or right in WPBakery

/*STRETCH COLUMN: APPLY CLASS TO ROW AND SET TO FULL WIDTH NO PADDING AND DEFAULT GUTTER*/ @media only screen and (min-width: 1280px) { .extend-right:not(.ui-sortable) .vc_column_container:first-child, .extend-right .vc_vc_column:first-child { padding-left: calc(100vw + var(--wpex-vc-gutter) - var(--wpex-container-max-width, 980px)); } .extend-left:not(.ui-sortable) .vc_column_container:last-child, .extend-left .vc_vc_column:last-child…

Mehr Lesen

Add Column to CPT with the menu_order value of a post

In this example, I used a "portfolio" CPT. Change as needed. /** * add order column to admin listing screen for header text */ function add_new_portfolio_column($portfolio_columns) { $portfolio_columns['menu_order'] = "Order"; return $portfolio_columns; } add_action('manage_portfolio_posts_columns', 'add_new_portfolio_column'); /** * show custom order…

Mehr Lesen

Remove total theme metabox from portfolio CPT

This is the snippet: //hide meta box from portfolio add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { // Add to my custom-type post type //$types[] = 'portfolio'; // Remove from blog posts unset( $types['portfolio'] ); // Return post types array return $types;…

Mehr Lesen

[TUT] How to create a new WPBakery component

As I wrote in “How to remove unused components from WPBakery” we like to create a small plugin “sodawebmedia-wpbakery” where we add all of our custom WPBakery modules. If you choose not to have a small plugin and prefer to…

Mehr Lesen
An den Anfang scrollen