PluginProbe
Friends / 4.3.0
Friends v4.3.0
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / frontend / no-friends.php

no-friends.php in Friends 4.3.0, at templates/frontend/no-friends.php

41 lines 820 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displayed if user has no friends.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 Friends\Friends::template_loader()->get_template_part(
10 'admin/welcome',
11 $args['post_format'],
12 array(
13 'plugin-list' => false,
14 )
15 );
16
17 ?><p class="note">
18 <span>
19 <?php
20 echo wp_kses( __( '<strong>Note:</strong> This box will go away as soon as you follow someone.', 'friends' ), array( 'strong' => array() ) );
21 ?>
22 </span>
23 <br>
24 <span>
25 <?php
26 echo wp_kses(
27 sprintf(
28 // translators: %s is the URL of the Friends admin menu.
29 __( 'It will remain available via the <a href=%s>Friends admin menu</a> for later reference.', 'friends' ),
30 '"' . admin_url( 'admin.php?page=friends' ) . '"'
31 ),
32 array(
33 'a' => array( 'href' => array() ),
34 'br' => array(),
35 'strong' => array(),
36 )
37 );
38 ?>
39 </span>
40 </p>
41