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
| <!DOCTYPE html | |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <title>HTML Template</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <style> | |
| body { | |
| width: 100% !important; |
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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "baseUrl": "src" | |
| } | |
| } |
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
| { | |
| "arrowParens": "avoid", | |
| "bracketSpacing": true, | |
| "embeddedLanguageFormatting": "auto", | |
| "htmlWhitespaceSensitivity": "css", | |
| "insertPragma": false, | |
| "jsxBracketSameLine": true, | |
| "jsxSingleQuote": false, | |
| "printWidth": 300, | |
| "proseWrap": "preserve", |
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
| add_action( 'init', 'register_post_types' ); | |
| function register_post_types(){ | |
| register_post_type('films', array( | |
| 'label' => null, | |
| 'labels' => array( | |
| 'name' => 'Фильмы', // основное название для типа записи | |
| 'singular_name' => 'Фильм', // название для одной записи этого типа | |
| 'add_new' => 'Добавить фильм', // для добавления новой записи | |
| 'add_new_item' => 'Добавление фильма', // заголовка у вновь создаваемой записи в админ-панели. | |
| 'edit_item' => 'Редактирование фильма', // для редактирования типа записи |
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
| onkeydown="javascript: return event.keyCode == 69 ? false : true" |
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
| input::-webkit-outer-spin-button, | |
| input::-webkit-inner-spin-button { | |
| /* display: none; <- Crashes Chrome on hover */ | |
| -webkit-appearance: none; | |
| margin: 0; /* <-- Apparently some margin are still there even though it's hidden */ | |
| } | |
| input[type=number] { | |
| -moz-appearance:textfield; /* Firefox */ | |
| } |
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
| @mixin bxs() | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) | |
| transition: all 0.3s cubic-bezier(.25,.8,.25,1) | |
| &:hover | |
| box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22) | |
| @mixin bxs2() | |
| box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) | |
| @mixin bxs3() |
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
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
| <ul> | |
| <li><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> | |
| <li><a href="#"><i class="fa fa-vk" aria-hidden="true"></i></a></li> | |
| <li><a href="#"><i class="fa fa-instagram" aria-hidden="true"></i></a></li> | |
| <li><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></li> | |
| <li><a href="#"><i class="fa fa-google" aria-hidden="true"></i></a></li> | |
| </ul> |
NewerOlder