Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
895 stars 355 forks source link

OutNow: Static link in the front page template #7957

Open alaczek opened 3 months ago

alaczek commented 3 months ago

I noticed this line the front page template in OutNow

<h1 class="wp-block-heading alignwide no-underline"><?php echo __('<a href="/blog/" data-type="page" data-id="2">Read the msgrs</a>', 'outnow');?></h1>

From: https://github.com/Automattic/themes/blob/5e0efe7ba49de1a1c738ec5d260df4d4d67ddc39/outnow/patterns/front-page.php#L44C1-L44C152

There are a couple issues here:

To improve usability of this theme I would recommend displaying four posts in a grid, without navigation. While not ideal I think it would be less confusing than a broken link. I tried adding nav inside the grid or below, but it won't work since the pagination block needs to be inside the Query loop.

cc @henriqueiamarino

henriqueiamarino commented 3 months ago

Thanks, @alaczek. This is fixed by #7956. All four niches now have query loops displaying a single post, all ruled by the offset setting.