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
env: | |
browser: true | |
es6: true | |
node: true | |
extends: 'eslint:recommended' | |
plugins: | |
- eslint-plugin-css-modules | |
- eslint-plugin-html | |
parserOptions: | |
ecmaVersion: 2015 |
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
{ | |
"auto_complete": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/One Dark Material - Theme/schemes/OneDark.tmTheme", | |
"fold_buttons": false, | |
"font_size": 13, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
.owl-dots | |
position: absolute | |
top: 50% | |
left: 0 | |
.owl-dot | |
span | |
width: 7px | |
height: 7px | |
margin-bottom: 17px | |
margin-left: 5px |
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
{ | |
"show_definitions": false, | |
"auto_complete": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/One Dark Material - Theme/schemes/OneDark.tmTheme", | |
"fold_buttons": false, | |
"font_size": 13, | |
"highlight_line": true, | |
"indent_guide_options": | |
[ |
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
<?php | |
$idObj = get_category_by_slug('s_about'); | |
$id = $idObj->term_id; | |
echo get_cat_name($id); | |
?> |
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
<?php if ( have_posts() ) : query_posts('p=1'); | |
while (have_posts()) : the_post(); ?> | |
<?php the_title(); ?> | |
<?php the_content(); ?> | |
<?php the_post_thumbnail(array(100, 100)); ?> | |
<? endwhile; endif; wp_reset_query(); ?> |
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
<?php if ( has_post_thumbnail() ) : ?> | |
<a class="popup" href="<?php | |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' ); | |
echo $large_image_url[0]; | |
?>" title="<?php the_title_attribute(); ?>"> | |
<?php the_post_thumbnail(array(250, 250)); ?> | |
</a> | |
<?php endif; ?> |
NewerOlder