This file contains 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
input::-webkit-input-placeholder { | |
font-weight: 400; | |
font-size: 16px; | |
} | |
input::-moz-placeholder { | |
font-weight: 400; | |
font-size: 16px; | |
} | |
input:-moz-placeholder { | |
font-weight: 400; |
This file contains 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 class="tabs-widget"> | |
<div class="header"> | |
<a href="#tab-1-1">Первая вкладка</a> | |
<a href="#tab-1-2">Вторая вкладка</a> | |
<a href="#tab-1-3">Третья вкладка</a> | |
</div> | |
<div class="content"> | |
<div id="tab-1-1" class="scroller"></div> | |
<div class="item"> | |
<p>Это первая вкладка этого классного виджета табов.</p> |
This file contains 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 class="form-group"> | |
<label class="control-label" for="af_message">Загрузите скриншот</label><br><br> | |
<label for="input-file" class="input-upload"> | |
<input name="project" type="file" id="input-file" accept=".jpg, .jpeg, .png, .psd, .pdf, .doc, .docx"> | |
<img src="/tmp/img/arrow-up.svg" alt="upload file" /> | |
<br> | |
<span>выбрать файл для отправки</span> | |
</label> | |
</div> |
This file contains 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
$('a[href^="#"]').on('click', function(event) { | |
event.preventDefault(); | |
var sc = $(this).attr("href"), | |
dn = $(sc).offset().top; | |
$('html, body').animate({scrollTop: dn}, 1000); | |
}); |
This file contains 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
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php|html|htm)\ HTTP/ | |
RewriteRule ^(.*)index\.(php|html|htm)$ $1 [R=301,L] |
This file contains 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
/* Smoothing */ | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; | |
font-smoothing: antialiased; | |
-webkit-font-smoothing: antialiased; |
This file contains 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
-webkit-text-size-adjust: 100%; |
This file contains 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
add_filter('nav_menu_css_class', 'my_css_attributes_filter', 100, 1); | |
add_filter('nav_menu_item_id', 'my_css_attributes_filter', 100, 1); | |
add_filter('page_css_class', 'my_css_attributes_filter', 100, 1); | |
function my_css_attributes_filter($var) { | |
return is_array($var) ? array() : ''; | |
} |
This file contains 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
add_action('init', 'art_register_port'); | |
function art_register_port(){ | |
register_post_type('portfolio', array( | |
'labels' => array( | |
'name' => 'Portfolio', // Основное название типа записи | |
'singular_name' => 'Portfolio', // отдельное название записи типа Book | |
'add_new' => 'Add', | |
'add_new_item' => 'Add new', | |
'edit_item' => 'Edit', |
This file contains 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
add_filter( 'wpseo_canonical', '__return_false' ); |
OlderNewer