Skip to content

Commit

Permalink
Version 1.2.4
Browse files Browse the repository at this point in the history
* Improved support for WordPress/Gutenberg blocks
* Improved sanitizing outputs
* Comply with WordPress (Core) coding standards
* Minor bug fixes
  • Loading branch information
chemiker committed Jan 2, 2021
1 parent 0897eb6 commit 4e2a3f3
Show file tree
Hide file tree
Showing 25 changed files with 945 additions and 578 deletions.
24 changes: 12 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.sass-cache/
.DS_Store
node_modules/
css/
dist/
js/
functions/
img/
languages/
licenses/
*.php
*.css
readme.txt
screenshot.png
/node_modules/
/css/
/dist/
/js/
/functions/
/img/
/languages/
/licenses/
/*.php
/*.css
/readme.txt
/screenshot.png
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@

## Changelog

### 1.2.4
* Improved support for WordPress/Gutenberg blocks
* Improved sanitizing outputs
* Comply with WordPress (Core) coding standards
* Minor bug fixes

### 1.2.3
* Changes to ensure compatibility to recent WordPress versions

Expand Down
2 changes: 1 addition & 1 deletion license.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2014-2019 Alexander Lüken
Copyright (C) 2014-2021 Alexander Lüken

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 3 additions & 1 deletion src/sass/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
color: $blockquotecolor;
}

figcaption,
.wp-caption-text {
font: {
size: 0.7em;
Expand Down Expand Up @@ -251,7 +252,8 @@ pre {

code,
var,
kbd {
kbd,
pre {
overflow: auto;
font-family: $code;
color: $darkbeige;
Expand Down
24 changes: 17 additions & 7 deletions src/theme/comments.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<?php if ( have_comments() ) : ?>
<?php
/**
* Comments
*
* This template is used to display comments and the comment form.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage e.nigma-2015
* @since e.nigma-2015 1.0.0
*/

if ( have_comments() ) :
?>
<aside id="comments">
<span class="category comment-category enigma-icon" data-icon="&#61733;" aria-hidden="true"></span>
<div class="modifyme">
<ol class="commentlist">
<?php
wp_list_comments(array(
'avatar_size' => 60
));
?>
<?php wp_list_comments( array( 'avatar_size' => 60 ) ); ?>
<li>
<?php if ( get_option( 'page_comments' ) ) : ?>
<div class="pagebar comment">
Expand All @@ -18,4 +28,4 @@
</ol>
</div>
</aside>
<?php endif;
<?php endif;
36 changes: 27 additions & 9 deletions src/theme/footer.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,45 @@
<?php
/**
* Footer
*
* This template features the website footer.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage e.nigma-2015
* @since e.nigma-2015 1.0.0
*/

?>
</section>
<footer>
<span class="category enigma-icon" data-icon="&#62280;" aria-hidden="true"></span>
<div class="modifyme">
<div id="information">
<img src="<?php echo esc_attr( get_theme_mod('enigma_2015_information_image', get_template_directory_uri().'/screenshot.png') ); ?>"
alt="<?php echo bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
<?php echo apply_filters( 'the_content', get_theme_mod('enigma_2015_information_about', __('Welcome to my blog', 'e.nigma-2015')) ); ?>
<img src="<?php echo esc_attr( get_theme_mod( 'enigma_2015_information_image', get_template_directory_uri() . '/screenshot.png' ) ); ?>"
alt="<?php echo bloginfo( 'name' ); ?>" title="<?php bloginfo( 'name' ); ?>" />
<?php echo apply_filters( 'the_content', get_theme_mod( 'enigma_2015_information_about', __( 'Welcome to my blog', 'e.nigma-2015' ) ) ); ?>
</div>
</div>
<aside id="sidebar" role="complementary">
<ul>
<?php dynamic_sidebar('footer'); ?>
<?php dynamic_sidebar( 'footer' ); ?>
</ul>
</aside>
<nav id="primary_navigation" role="navigation">
<span class="category category-light enigma-icon" data-icon="&#62259;" aria-hidden="true"></span>
<?php wp_nav_menu( array(
'theme_location' => 'main_menu',
'container' => FALSE
) ); ?>
<?php
wp_nav_menu(
array(
'theme_location' => 'main_menu',
'container' => false,
)
);
?>
<hr />
<span class="copyright">
<?php esc_html_e('Powered by', 'e.nigma-2015'); ?> <a href="https://sciolism.de">e.nigma</a> <?php esc_html_e('and', 'e.nigma-2015'); ?> <a href="https://wordpress.org">WordPress</a>
<?php esc_html_e( 'Powered by', 'e.nigma-2015' ); ?> <a href="https://sciolism.de">e.nigma</a> <?php esc_html_e( 'and', 'e.nigma-2015' ); ?> <a href="https://wordpress.org">WordPress</a>
</span>
</nav>
<?php wp_footer(); ?>
Expand Down
Loading

0 comments on commit 4e2a3f3

Please sign in to comment.