# friends/4.3.1/templates/admin/welcome.php

Friends, version 4.3.1. 73 lines.

- Page: https://pluginprobe.com/plugins/friends/4.3.1/code/templates/admin/welcome.php
- Raw: https://pluginprobe.com/plugins/friends/4.3.1/raw/templates/admin/welcome.php
- Modified: 2026-04-10T10:46:46+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/admin/welcome.php#L10-L20`.

```php
<?php
/**
 * This template contains the Friends Welcome Page.
 *
 * @package Friends
 */

$first_friend = array(
	// translators: %s is Alex Kirk.
	'display_name' => sprintf( __( 'Subscribe to %s, creator of the Friends plugin', 'friends' ), 'Alex Kirk' ),
	'url'          => 'https://alex.kirk.at/',
);

?>
<h1><?php esc_html_e( 'Welcome to the Friends Plugin!', 'friends' ); ?></h1>
<p>
	<?php esc_html_e( 'With this plugin you can make your WordPress the center of your online activity.', 'friends' ); ?>
</p>
<p>
	<span><?php esc_html_e( 'By building up your network based on your own website, you can stay independent of external social networks.', 'friends' ); ?></span>
	<span><?php esc_html_e( 'This is how it works:', 'friends' ); ?></span>
</p>
<ul>
	<li>
		<?php
		// translators: %s is the URL of the user's friends page.
		echo wp_kses( sprintf( __( "Your <a href=%s>Friends page</a> is the place where you'll find the latest posts, messages, videos, etc. from your network.", 'friends' ), '"' . home_url( '/friends/' ) . '"' ), array( 'a' => array( 'href' => array() ) ) );
		?>
	</li>
	<li>
		<span>
		<?php
		if ( class_exists( 'Activitypub\Activitypub' ) ) {
			// translators: %s is the URL of the Add Friend page.
			echo wp_kses( sprintf( __( 'You can extend your network by <a href=%s>subscribing to web sites</a> or following people on the Fediverse.', 'friends' ), '"' . admin_url( 'admin.php?page=add-friend' ) . '"' ), array( 'a' => array( 'href' => array() ) ) );
		} else {
			// translators: %s is the URL of the Add Friend page.
			echo wp_kses( sprintf( __( 'You can extend your network by <a href=%s>subscribing to web sites</a> or, with the ActivityPub plugin, following people on the Fediverse.', 'friends' ), '"' . admin_url( 'admin.php?page=add-friend' ) . '"' ), array( 'a' => array( 'href' => array() ) ) );
		}
		?>

		</span>
		<form action="<?php echo esc_url( self_admin_url( 'admin.php?page=add-friend' ) ); ?>" method="post" class="form-horizontal">
		<?php wp_nonce_field( 'add-friend' ); ?>
			<input type="hidden" name="friend_url" value="<?php echo esc_attr( $first_friend['url'] ); ?>" />
		<div class="form-group">
			<button class="btn btn-link btn-arrow"><?php echo esc_html( $first_friend['display_name'] ); ?></button>
		</div>
	</form>
	</li>
	<li>
		<span>
		<?php esc_html_e( 'You can install more plugins to extend the Friends plugin with further functionality.', 'friends' ); ?>
		</span>
		<?php if ( ! isset( $args['plugin-list'] ) || $args['plugin-list'] ) : ?>
		<ul>
			<?php if ( class_exists( 'Activitypub\Activitypub' ) ) : ?>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'options-general.php?page=activitypub' ) ); ?>"><?php \esc_html_e( 'ActivityPub Plugin', 'friends' ); ?></a> (&#x2713;):<span><?php esc_html_e( 'Be part of the Fediverse!', 'friends' ); ?></span> <span><?php esc_html_e( 'People can follow your blog via ActivityPub (e.g. Mastodon) and you can follow people there.', 'friends' ); ?></span> </li>
			<?php else : ?>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=activitypub&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'ActivityPub Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Be part of the Fediverse!', 'friends' ); ?></span> <span><?php esc_html_e( 'People can follow your blog via ActivityPub (e.g. Mastodon) and you can follow people there.', 'friends' ); ?></span> </li>
			<?php endif; ?>
			<?php if ( class_exists( 'Enable_Mastodon_Apps\Mastodon_API' ) ) : ?>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'options-general.php?page=enable-mastodon-apps' ) ); ?>"><?php \esc_html_e( 'Enable Mastodon Apps Plugin', 'friends' ); ?></a> (&#x2713;): <span><?php esc_html_e( 'Enjoy the comfort of Mastodon apps!', 'friends' ); ?></span> <span><?php esc_html_e( 'With this plugin you can use your favorite Mastodon app like Tusky, Ivory, or others to stay up to date and publish new status posts.', 'friends' ); ?></span> </li>
			<?php else : ?>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=enable-mastodon-apps&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'Enable Mastodon Apps Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Enjoy the comfort of Mastodon apps!', 'friends' ); ?></span> <span><?php esc_html_e( 'With this plugin you can use your favorite Mastodon app like Tusky, Ivory, or others to stay up to date and publish new status posts.', 'friends' ); ?></span> </li>
			<?php endif; ?>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=post-collection&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'Post Collection Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Collect posts from around the web and create feeds.', 'friends' ); ?></span> </li>
			<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=send-to-e-reader&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'Send to E-Reader Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Send new articles directly to your e-reader via e-mail or download the ePub.', 'friends' ); ?></span> </li>
		</ul>
		<?php endif; ?>
	</li>
</ul>

```
