# friends/4.3.1/templates/frontend/no-posts.php

Friends, version 4.3.1. 14 lines.

- Page: https://pluginprobe.com/plugins/friends/4.3.1/code/templates/frontend/no-posts.php
- Raw: https://pluginprobe.com/plugins/friends/4.3.1/raw/templates/frontend/no-posts.php
- Modified: 2024-07-31T16:41:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/friends/4.3.1/code/templates/frontend/no-posts.php#L10-L20`.

```php
<?php
/**
 * Displayed if there are no posts.
 *
 * @version 1.0
 * @package Friends
 */

if ( isset( $_GET['p'] ) && $_GET['p'] > 1 ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
	esc_html_e( 'No further posts of your friends could were found.', 'friends' );
} else {
	esc_html_e( 'Unfortunately, we could not find a post.', 'friends' );
}

```
