Skip to content

Commit

Permalink
Fontaine: Fix hardcoded links, changed theme URI, and fix textdomain …
Browse files Browse the repository at this point in the history
…errors (#7741)
  • Loading branch information
iamtakashi committed Apr 15, 2024
1 parent 9f3c071 commit bbc2132
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion fontaine/patterns/footer-dark.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<!-- wp:paragraph {"align":"right","lock":{"move":false,"remove":true}} -->
<p class="has-text-align-right"><?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'feelingood' ) ) . '" rel="nofollow">WordPress</a>';
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'fontaine' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'fontaine' ),
$wordpress_link
Expand Down
2 changes: 1 addition & 1 deletion fontaine/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<!-- wp:paragraph {"align":"right","lock":{"move":false,"remove":true}} -->
<p class="has-text-align-right"><?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'feelingood' ) ) . '" rel="nofollow">WordPress</a>';
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'fontaine' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'fontaine' ),
$wordpress_link
Expand Down
8 changes: 4 additions & 4 deletions fontaine/patterns/gallery-project.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- wp:column {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}}} -->
<div class="wp-block-column">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Modern-Minimalist-Cafe-Storefront-with-Yellow-Accents.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Minimalist-Cafe-Storefront-with-Yellow-Accents.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Minimalist-Cafe-Storefront-with-Yellow-Accents.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Minimalist-Cafe-Storefront-with-Yellow-Accents.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand All @@ -36,23 +36,23 @@
<!-- wp:column {"width":"33.34%"} -->
<div class="wp-block-column" style="flex-basis:33.34%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Cafe-Storefront-in-Red-and-Pink.jpg" alt="" /></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Cafe-Storefront-in-Red-and-Pink.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Modern-Cafe-Storefront-in-Red-and-Pink.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.34%"} -->
<div class="wp-block-column" style="flex-basis:33.34%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Calm-Moment-at-a-Pastel-Blue-Cafe.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Calm-Moment-at-a-Pastel-Blue-Cafe.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Calm-Moment-at-a-Pastel-Blue-Cafe.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Calm-Moment-at-a-Pastel-Blue-Cafe.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Cafe-Leisure-in-Vibrant-Setting.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Cafe-Leisure-in-Vibrant-Setting.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Cafe-Leisure-in-Vibrant-Setting.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Cafe-Leisure-in-Vibrant-Setting.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand Down
8 changes: 4 additions & 4 deletions fontaine/patterns/page-work.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- wp:column {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}}} -->
<div class="wp-block-column">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Whimsical-Panda-on-Turntable.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Whimsical-Panda-on-Turntable.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Whimsical-Panda-on-Turntable.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Whimsical-Panda-on-Turntable.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand All @@ -51,23 +51,23 @@
<!-- wp:column {"width":"33.34%"} -->
<div class="wp-block-column" style="flex-basis:33.34%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Vintage-inspired-Red-Turntable-and-Panda-Speaker-Setup.jpg" alt="" /></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Vintage-inspired-Red-Turntable-and-Panda-Speaker-Setup.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Vintage-inspired-Red-Turntable-and-Panda-Speaker-Setup.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.34%"} -->
<div class="wp-block-column" style="flex-basis:33.34%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Tiger-Themed-Kids-Portable-Radio.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Tiger-Themed-Kids-Portable-Radio.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Tiger-Themed-Kids-Portable-Radio.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Tiger-Themed-Kids-Portable-Radio.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="http://localhost.local/wp-content/uploads/2024/03/Playful-Panda-Boombox.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Playful-Panda-Boombox.jpg" alt="" /></a></figure>
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Playful-Panda-Boombox.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/Playful-Panda-Boombox.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand Down
2 changes: 1 addition & 1 deletion fontaine/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Fontaine ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
4 changes: 2 additions & 2 deletions fontaine/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Theme Name: Fontaine
Theme URI: https://wordpress.com/theme/fontaine
Theme URI: https://themeshaper.com/fontaine/
Author: Automattic
Author URI: https://automattic.com/
Description: Fontaine is a portfolio/profile theme designed for visual designers who appreciate the bold simplicity of Brutalist aesthetics. The goal was to create a theme that gracefully steps back, allowing your content to shine and capture the spotlight.
Requires at least: 6.0
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
Expand Down

0 comments on commit bbc2132

Please sign in to comment.