הוקים להטמעת מטודות בהאדר ובפוטר
/* Describe what the code snippet does so you can remember later on */ add_action('wp_head', 'your_function_name'); function your_function_name(){ ?> PASTE HEADER CODE HERE <?php }; /* Describe what the code…
/* Describe what the code snippet does so you can remember later on */ add_action('wp_head', 'your_function_name'); function your_function_name(){ ?> PASTE HEADER CODE HERE <?php }; /* Describe what the code…
Tag This tag will be replaced by … [_remote_ip] the sender’s client IP address. [_user_agent] the sender’s user agent information. [_url] the URL of the contact form. [_date] the date…
IE10+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { selector { property:value; } } IE6,7,9,10 @media screen and (min-width: 640px), screen\9 { selector { property:value; } } IE6,7 @media screen\9…
// Include CODE FOR facebook pixel function facebook_pixel(){ ?> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window,document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '198811724210153'); fbq('track', 'PageView'); fbq('track', 'ViewContent'); fbq('track',…
1. יוצרים קובץ בכל שם clearcache.php לתוכו מזינים את הפקודה הנ"ל <?php opcache_reset(); ?> 2. ניגשים אל הקובץ דרך הדפדפן. 3. מרפרשים והקאש נעלם. https://ma.ttias.be/how-to-clear-php-opcache/
add_filter( 'woocommerce_product_description_heading', 'remove_product_description_heading' ); function remove_product_description_heading() { return ''; }
$(document).ready(function(){ // Here we have jQuery(document) firing off the ready event // which executes once the DOM has been created in // order to ensure that elements you are trying…
add_filter( 'widget_text', 'shortcode_unautop'); add_filter( 'widget_text', 'do_shortcode'); add_filter( 'comment_text', 'shortcode_unautop'); add_filter( 'comment_text', 'do_shortcode' ); add_filter( 'the_excerpt', 'shortcode_unautop'); add_filter( 'the_excerpt', 'do_shortcode'); add_filter( 'term_description', 'shortcode_unautop'); add_filter( 'term_description', 'do_shortcode' ); http://stephanieleary.com/2010/02/using-shortcodes-everywhere/
@media (max-width: 30em) { .container { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; /* optional */ -webkit-box-align:…
jQuery(document).ready(function() { checkContainer(); }); function checkContainer () { if($('#divIDer').is(':visible'))){ //if the container is visible on the page createGrid(); //Adds a grid to the html } else { setTimeout(checkContainer, 50); //wait…