Add About tab with markdown support

This commit is contained in:
Marcus Quinn
2025-03-24 21:30:03 +00:00
parent 5f195f8cfb
commit 28f87f689e
5 changed files with 227 additions and 1 deletions

View File

@ -250,6 +250,9 @@ class WP_Allstars_Admin_Manager {
<a href="?page=wp-allstars&tab=tools" class="nav-tab <?php echo $active_tab === 'tools' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('Tools', 'wp-allstars'); ?>
</a>
<a href="?page=wp-allstars&tab=about" class="nav-tab <?php echo $active_tab === 'about' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('About', 'wp-allstars'); ?>
</a>
</h2>
<div class="wp-allstars-tab-content">
@ -287,6 +290,10 @@ class WP_Allstars_Admin_Manager {
case 'tools':
WP_Allstars_Tools_Manager::display_tab_content();
break;
case 'about':
WP_Allstars_About_Manager::display_tab_content();
break;
}
?>
</div>