Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Framework for meta boxes on Welcome page.
See #1181.
- Loading branch information
1 parent
15a3c02
commit ca324f1
Showing
4 changed files
with
118 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/** | ||
* 'All Content' admin panel. | ||
* | ||
* @package PressForward | ||
* | ||
* @since 5.7.0 | ||
*/ | ||
|
||
/* | ||
phpcs:disable | ||
Content notes: | ||
- Welcome/orientation message | ||
- Link to documentation | ||
- "New to Pressforward?" link to documentation | ||
- Quick links: | ||
- Curation: All Content, Nominated | ||
- Admin: Add new feeds, view feeds, settings | ||
- User: User-specific settings | ||
- At-a-glance | ||
- Total new? How to keep track? Maybe "past day" or "past week". | ||
phpcs:enable | ||
*/ | ||
|
||
?> | ||
|
||
<div class="wrap pf-welcome"> | ||
<h1 class="title"><?php esc_html_e( 'Welcome to PressForward', 'pressforward' ); ?></h1> | ||
|
||
<p class="pf-version"> | ||
<?php | ||
printf( | ||
/* translators: %s: PressForward version number */ | ||
esc_html__( 'Version %s', 'pressforward' ), | ||
esc_html( PF_VERSION ) | ||
|
||
) | ||
?> | ||
</p> | ||
|
||
<p><?php esc_html_e( 'PressForward is a free plugin that provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web.', 'pressforward' ); ?></p> | ||
|
||
<div id="pf-welcome-dashboard-widgets" class="metabox-holder"> | ||
<?php do_meta_boxes( 'toplevel_page_pf-menu', 'normal', null ); ?> | ||
</div> | ||
|
||
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> | ||
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> | ||
</div> |