wp_welcome_panel()
Displays a welcome panel to introduce users to ClassicPress.
Source
File: wp-admin/includes/dashboard.php
function wp_welcome_panel() {
$display_version = classicpress_version();
?>
<div class="welcome-panel-content">
<h2><?php _e( 'Welcome to ClassicPress!' ); ?></h2>
<p class="welcome-panel-tagline"><?php printf( __( 'Thank you for trying ClassicPress %s!' ), $display_version ); ?></p>
<p>
<?php _e(
'<strong>Join our growing community</strong> and help us build the platform <strong>you</strong> want to see!'
); ?>
</p>
<p>
<?php
if ( get_locale() === 'en_US' ) {
printf(
/* translators: link to "About ClassicPress" dashboard page */
__( 'To see how you can help, visit the <a href="%s">About ClassicPress</a> page.' ),
esc_url( self_admin_url( 'about.php' ) )
);
} else {
printf(
/* translators: link to learn more about translating ClassicPress */
__( 'Help us translate ClassicPress into your language! <a href="%s">Learn more</a>.' ),
'https://www.classicpress.net/translating-classicpress/'
);
echo '</p><p>';
printf(
/* translators: link to "About ClassicPress" dashboard page */
__( 'For other ways you can help, visit the <a href="%s">About ClassicPress</a> page.' ),
esc_url( self_admin_url( 'about.php' ) )
);
}
?>
</p>
</div>
<?php
}
Changelog
Version | Description |
---|---|
WP-3.3.0 | Introduced. |