מדיות לIE

  • Post Author:
  • Post Category:

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…

להמשך קריאה מדיות לIE

פייסבוק פיקסל

  • Post Author:
  • Post Category:

// 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',…

להמשך קריאה פייסבוק פיקסל

איפוס PHP CACHE שרת

  • Post Author:
  • Post Category:

1. יוצרים קובץ בכל שם clearcache.php לתוכו מזינים את הפקודה הנ"ל <?php opcache_reset(); ?> 2. ניגשים אל הקובץ דרך הדפדפן. 3. מרפרשים והקאש נעלם. https://ma.ttias.be/how-to-clear-php-opcache/

להמשך קריאה איפוס PHP CACHE שרת

שימוש בפונקצייה JS

  • Post Author:
  • Post Category:

$(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…

להמשך קריאה שימוש בפונקצייה JS

שימוש בשורטקודים בכל מקום

  • Post Author:
  • Post Category:

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/

להמשך קריאה שימוש בשורטקודים בכל מקום

שינוי סדר דיבים ואלמנטים באמצעות CSS

  • Post Author:
  • Post Category:

@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:…

להמשך קריאה שינוי סדר דיבים ואלמנטים באמצעות CSS

טעינה מאוחרת לאחר שהדיב נטען

  • Post Author:
  • Post Category:

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…

להמשך קריאה טעינה מאוחרת לאחר שהדיב נטען