This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).ready(function() { | |
var viewport = $(window).width(); | |
if ( viewport <= 759 ) { | |
console.log( "Mobile,", viewport ) ;} | |
else if ( viewport <= 1040 ) { | |
console.log( "Tablet,", viewport ) ;} | |
else { | |
console.log( "Desktop,", viewport ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//mai trebuie adaugat js.cookie.js | |
//mai multe info https://alexcican.com/post/set-cookies-javascript/ | |
{% if settings.redirect_use %} | |
{{ "js.cookie.js" | asset_url | script_tag }} | |
{% include 'redirect-message' %} | |
{{ 'redirect.js' | asset_url | script_tag }} | |
<script> | |
$(document).ready(function() { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav-tabs > li, .nav-pills > li { | |
float:none; | |
display:inline-block; | |
*display:inline; /* ie7 fix */ | |
zoom:1; /* hasLayout ie7 trigger */ | |
} | |
.nav-tabs { | |
text-align:center; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//alt code smecher de la un client | |
{% assign descriptions = product.description | split: "<h5>" %} | |
{% for description_block in descriptions %} | |
{% if forloop.first == true %} | |
{{ description_block }} | |
{% else %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /staging/ | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /staging/index.php [L] | |
</IfModule> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="main-boxes"> | |
<div class="container"> | |
<div class="row"> | |
<?php | |
$args = array( | |
'numberposts' => 6, | |
'post_status'=>"publish", | |
'post_type'=>"expedition",// was post | |
'orderby'=>"post_author", | |
'cat' => 29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>This is normal (X)HTML content that will be indexed by Google.</p> | |
<!--googleoff: index--> | |
<p>This (X)HTML content will NOT be indexed by Google.</p> | |
<!--googleon: index> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.adaugi {% include 'redirect-product-page' %} in product.liquid | |
2.open {% include 'redirect-product-page' %} si pui codul de mai jos: | |
{% if settings.redirect_use %} | |
{% include 'redirect-message' %} | |
{{ 'redirect.js' | asset_url | script_tag }} | |
<script> | |
IPRedirect.init({{ settings | json }}); | |
IPRedirect.run(); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-dropdown-rel |= videos] {color:red;} | |
<li><a href="#" class=" top_link " data-dropdown-rel="videos">Videos</a></li> | |
si afiseaza rosu la videos |