diff --git a/wp-content/themes/twentytwentyone-child/footer.php b/wp-content/themes/twentytwentyone-child/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..05be8b208aa8065ecf6599dc2284981985d58dff --- /dev/null +++ b/wp-content/themes/twentytwentyone-child/footer.php @@ -0,0 +1,74 @@ +<?php +/** + * The template for displaying the footer + * + * Contains the closing of the #content div and all content after. + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package WordPress + * @subpackage Twenty_Twenty_One + * @since 1.0.0 + */ + +?> + </main><!-- #main --> + </div><!-- #primary --> + </div><!-- #content --> + + <?php get_template_part( 'template-parts/footer/footer-widgets' ); ?> + + <footer id="colophon" class="site-footer" role="contentinfo"> + + <?php if ( has_nav_menu( 'footer' ) ) : ?> + <nav aria-label="<?php esc_attr_e( 'Secondary menu', 'twentytwentyone' ); ?>" class="footer-navigation"> + <ul class="footer-navigation-wrapper"> + <?php + wp_nav_menu( + array( + 'theme_location' => 'footer', + 'items_wrap' => '%3$s', + 'container' => false, + 'depth' => 1, + 'link_before' => '<span>', + 'link_after' => '</span>', + 'fallback_cb' => false, + ) + ); + ?> + </ul><!-- .footer-navigation-wrapper --> + </nav><!-- .footer-navigation --> + <?php endif; ?> + <div class="site-info"> + <div class="site-name"> + <?php if ( has_custom_logo() ) : ?> + <div class="site-logo"><?php the_custom_logo(); ?></div> + <?php else : ?> + <?php if ( get_bloginfo( 'name' ) && get_theme_mod( 'display_title_and_tagline', true ) ) : ?> + <?php if ( is_front_page() && ! is_paged() ) : ?> + <?php bloginfo( 'name' ); ?> + <?php else : ?> + <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a> + <?php endif; ?> + <?php endif; ?> + <?php endif; ?> + </div><!-- .site-name --> + <div class="powered-by"> + <?php + printf( + /* translators: %s: WordPress. */ + esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ), + '<a href="' . esc_attr__( 'https://wordpress.org/', 'twentytwentyone' ) . '">WP</a> and <strong><a href="https://www.autistici.org">R*</a></strong>' + ); + ?> + </div><!-- .powered-by --> + + </div><!-- .site-info --> + </footer><!-- #colophon --> + +</div><!-- #page --> + +<?php wp_footer(); ?> + +</body> +</html> diff --git a/wp-content/themes/twentytwentyone-child/functions.php b/wp-content/themes/twentytwentyone-child/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..aace2fa867785748df8e2cf07dc476046b506f1a --- /dev/null +++ b/wp-content/themes/twentytwentyone-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/twentytwentyone-child/screenshot.png b/wp-content/themes/twentytwentyone-child/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..01b9e6cee7a11eb40e1a2f4c44ea91ed1965e5b6 Binary files /dev/null and b/wp-content/themes/twentytwentyone-child/screenshot.png differ diff --git a/wp-content/themes/twentytwentyone-child/style.css b/wp-content/themes/twentytwentyone-child/style.css new file mode 100644 index 0000000000000000000000000000000000000000..71ff9c317f7da3bced5e280feff7accd8e0c1af3 --- /dev/null +++ b/wp-content/themes/twentytwentyone-child/style.css @@ -0,0 +1,12 @@ +@charset "UTF-8"; +/* +Theme Name: Twenty Twenty-One - noblogs patches + Template: twentytwentyone + Description: Twenty Twenty-One Child Theme - Urchin revision + Requires PHP: 5.6 + Author: Autistici Inventati + Author URI: https://noblogs.org + License: GNU General Public License v3 or later + License URI: http://www.gnu.org/licenses/gpl-3.0.html + Text Domain: twentytwentyonechild +*/