diff --git a/wp-content/themes/twentytwenty-child/footer.php b/wp-content/themes/twentytwenty-child/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..967616f6ad558c825ed7c11a8794bbd9b502f478 --- /dev/null +++ b/wp-content/themes/twentytwenty-child/footer.php @@ -0,0 +1,62 @@ +<?php +/** + * The template for displaying the footer + * + * Contains the opening of the #site-footer div and all content after. + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package WordPress + * @subpackage Twenty_Twenty + * @since 1.0.0 + */ + +?> + <footer id="site-footer" role="contentinfo" class="header-footer-group"> + + <div class="section-inner"> + + <div class="footer-credits"> + + <p class="footer-copyright">© + <?php + echo date_i18n( + /* translators: Copyright date format, see https://secure.php.net/date */ + _x( 'Y', 'copyright date format', 'twentytwenty' ) + ); + ?> + <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo bloginfo( 'name' ); ?></a> + </p><!-- .footer-copyright --> + + <p class="powered-by-wordpress"> + <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwenty' ) ); ?>"> + <?php _e( 'Powered by WP', 'twentytwenty' ); ?> + </a> + <strong>Proudly powered by <a href="https://www.autistici.org">R*</a></strong> + </p><!-- .powered-by --> + + </div><!-- .footer-credits --> + + <a class="to-the-top" href="#site-header"> + <span class="to-the-top-long"> + <?php + /* translators: %s: HTML character for up arrow */ + printf( __( 'To the top %s', 'twentytwenty' ), '<span class="arrow" aria-hidden="true">↑</span>' ); + ?> + </span><!-- .to-the-top-long --> + <span class="to-the-top-short"> + <?php + /* translators: %s: HTML character for up arrow */ + printf( __( 'Up %s', 'twentytwenty' ), '<span class="arrow" aria-hidden="true">↑</span>' ); + ?> + </span><!-- .to-the-top-short --> + </a><!-- .to-the-top --> + + </div><!-- .section-inner --> + + </footer><!-- #site-footer --> + + <?php wp_footer(); ?> + + </body> +</html> diff --git a/wp-content/themes/twentytwenty-child/functions.php b/wp-content/themes/twentytwenty-child/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..aace2fa867785748df8e2cf07dc476046b506f1a --- /dev/null +++ b/wp-content/themes/twentytwenty-child/functions.php @@ -0,0 +1,18 @@ +<?php +/** + * this add our style.css - questo aggiunge il nostro foglio di stile + */ +add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); +function my_theme_enqueue_styles() { + + $parent_style = 'parent-style'; // This is 'twentytwenty-style' for the Twenty twenty theme. + + wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); + wp_enqueue_style( 'child-style', + get_stylesheet_directory_uri() . '/style.css', + array( $parent_style ), + wp_get_theme()->get('Version') + ); +} + + diff --git a/wp-content/themes/twentytwenty-child/screenshot.png b/wp-content/themes/twentytwenty-child/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..7d6757b5671540218fa8957bcc39f3af411a43aa Binary files /dev/null and b/wp-content/themes/twentytwenty-child/screenshot.png differ diff --git a/wp-content/themes/twentytwenty-child/style.css b/wp-content/themes/twentytwenty-child/style.css new file mode 100644 index 0000000000000000000000000000000000000000..4067e6ced707bdc3f1421b39cc2e9ba36e734b26 --- /dev/null +++ b/wp-content/themes/twentytwenty-child/style.css @@ -0,0 +1,18 @@ +@charset "UTF-8"; +/* +Theme Name: Twenty Twenty - noblogs patches +Text Domain: twentytwentychild +Description: Twenty Twenty Child Theme - Urchin revision +Requires PHP: 5.2.4 + Author: Autistici Inventati + Author URI: http://noblogs.org +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +All files, unless otherwise stated, are released under the GNU General Public +License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) + +This theme, like WordPress, is licensed under the GPL. +Use it to make something cool, have fun, and share what you've learned +with others. +*/