setup new freifunktheme (derived from FoundatioPress). Basic typography/styles

This commit is contained in:
Ulf Treger 2018-10-30 13:16:00 +01:00
parent 6f104d6e75
commit d0bfff9ff2
190 changed files with 240 additions and 9 deletions

View file

@ -0,0 +1,9 @@
hamburg-freifunk-wp-theme (2018)
FoundationPress relies to not-up-to-date dependencies, works with node.js ~6, use n to install older nodes
$ n 6
during design/development, render SCSS
$ npm start

View file

@ -14,6 +14,7 @@
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel='stylesheet' id='fonts-css' href='/wp-content/themes/FoundationPress/dist/assets/fonts/HKGrotesk/stylesheet.css' type='text/css' media='all' />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>

View file

@ -9,7 +9,8 @@
if ( ! function_exists( 'foundationpress_entry_meta' ) ) :
function foundationpress_entry_meta() {
/* translators: %1$s: current date, %2$s: current time */
echo '<p class="byline author">';
echo '<time class="updated" datetime="' . get_the_time( 'c' ) . '">' . sprintf( __( 'Posted on %1$s at %2$s.', 'foundationpress' ), get_the_date(), get_the_time() ) . '</time>';
echo '<p class="byline author">' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
echo '' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
}
endif;

View file

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show more