- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
82 lines
2.2 KiB
PHP
Executable File
82 lines
2.2 KiB
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-dashboard
|
|
*/
|
|
if (! defined('ABSPATH') ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
/**
|
|
* Load the header template. This is the simplest way to include the header template
|
|
* as the dashboard is a part of both themes and plugins.
|
|
*/
|
|
require_once TVE_DASH_PATH . '/templates/header.phtml';
|
|
|
|
$dashboard_link = admin_url('admin.php?page=tve_dash_section');
|
|
?>
|
|
|
|
<div class="tvd-content flow">
|
|
<!-- Breadcrumbs -->
|
|
<div class="tvd-breadcrumbs">
|
|
<a class="tvd-breadcrumb" href="<?php echo esc_url( $dashboard_link ); ?>">
|
|
<?php echo esc_html__('Thrive Dashboard', 'thrive-dash'); ?>
|
|
</a>
|
|
|
|
<span class="tvd-breadcrumb"><?php echo esc_html__('Thrive Font Library', 'thrive-dash'); ?></span>
|
|
</div>
|
|
|
|
<!-- The Application -->
|
|
<div id="font-library-app"></div>
|
|
|
|
<!-- Bottom Navigation -->
|
|
<div class="tvd-bottom-navigation">
|
|
<a class="tvd-btn button--back" href="<?php echo esc_url( $dashboard_link ); ?>">
|
|
<?php echo esc_html__('Back to Dashboard', 'thrive-dash'); ?>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
/*
|
|
* Page level styles - header, spacing, etc.
|
|
* These styles are added here to avoid adding a new file for a few lines of CSS.
|
|
* The few lines constraint must be maintained. If the styles grow, they should be moved to a separate file.
|
|
* Do not add any styles irrelevant to this current template.
|
|
*/
|
|
#wpcontent {
|
|
padding-inline-start: 0;
|
|
--breadcrumb-color: var(--color--neutral-darker);
|
|
--breadcrumb-color-active: var(--color--neutral-black);
|
|
|
|
/*
|
|
* Since #wpcontent padding is set to 0, we can remove the negative margin from the header.
|
|
*/
|
|
.tvd-header {
|
|
margin-inline-start: 0;
|
|
}
|
|
}
|
|
|
|
.tvd-btn {
|
|
min-height: unset;
|
|
line-height: 30px;
|
|
min-width: 130px;
|
|
}
|
|
|
|
.tvd-content {
|
|
--flow-space: 20px;
|
|
}
|
|
|
|
/* Both the sections have the same padding. */
|
|
#font-library-app,
|
|
.tvd-bottom-navigation {
|
|
padding-inline: 24px;
|
|
}
|
|
|
|
.button--back {
|
|
background-color: var(--color--neutral);
|
|
}
|
|
</style>
|