Commit inicial - WordPress Análisis de Precios Unitarios

- 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>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1 @@
.tvd-cs-page-selector button{border:none;background:none;padding:0}.tvd-cs-page-selector button:focus{background:none}.tvd-cs-page-selector>*{margin-top:20px}.tvd-cs-page-selector .delete-page-wrapper{background:#fb5c55;color:#fff;font-size:14px;top:0;left:0;border-radius:4px;padding:15px;width:770px;max-width:100%;min-height:77px;text-align:center}.tvd-cs-page-selector .delete-page-wrapper .buttons-wrapper{display:flex;justify-content:space-between;margin-top:20px}.tvd-cs-page-selector .view-page-wrapper{display:flex;justify-content:space-between;align-items:center;background:#f0f0f1;padding:5px 10px;border-left:5px solid #4bb35e;border-radius:3px}.tvd-cs-page-selector .view-page-wrapper .page-title{font-size:14px;max-width:126px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.tvd-cs-page-selector .view-page-wrapper .page-options{display:flex;color:#236085;font-size:14px}.tvd-cs-page-selector .view-page-wrapper .page-options .tvd-sep{margin:0 10px !important}.tvd-cs-page-selector .search-page-wrapper .select2-selection--multiple,.tvd-cs-page-selector .search-page-wrapper .select2-selection--multiple:focus{border-bottom:none;box-shadow:none}.tvd-cs-page-selector .search-page-wrapper .select2-search__field,.tvd-cs-page-selector .search-page-wrapper .select2-search__field:focus{font-size:14px;border-radius:4px;border:solid 1px #b0b9c1;padding:0 10px;color:#50565f}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper{background-color:rgba(234,239,239,.55);padding:20px 10px 15px}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper #new-page-title{font-size:14px;border-radius:4px;border:solid 1px #b0b9c1;background-color:#fff;padding:0 10px}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions{display:flex;justify-content:flex-end}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions button{padding:0 20px;font-size:14px;color:#999eaa;border:solid 1px #999eaa;border-radius:4px;height:36px}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions button.dismiss-new-page{margin-right:10px}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions button.dismiss-new-page:hover{background-color:#999eaa;color:#fff}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions button.add-new-page{color:#fff;background-color:#4bb35e}.tvd-cs-page-selector .create-page-wrapper .new-page-wrapper .new-page-actions button.add-new-page:hover{opacity:.9}.tvd-cs-page-selector .search-page-wrapper .page-source-wrapper,.tvd-cs-page-selector .create-page-wrapper .page-source-wrapper{background:#fff;padding:10px;border-radius:4px}.tvd-cs-page-selector .search-page-wrapper .page-source-wrapper button#create-new-page,.tvd-cs-page-selector .create-page-wrapper .page-source-wrapper button#create-new-page{font-size:14px;color:#1fa5e6;display:flex}.tvd-cs-page-selector .search-page-wrapper .page-source-wrapper button#create-new-page .tvd-icon-plus-circle,.tvd-cs-page-selector .create-page-wrapper .page-source-wrapper button#create-new-page .tvd-icon-plus-circle{margin-right:10px}.tvd-cs-page-selector ::placeholder{color:#a9a9a9 !important}.select2-results__option.select2-results__message:empty{display:none}.select2-dropdown.select2-dropdown--below{border-bottom:none}

View File

@@ -0,0 +1 @@
(()=>{var e={4360:e=>{function t(){TVD_CS_CONST.is_ttb_active?TVE.modal_open("page-wizard",{element:TVE.ActiveElement}):TVE.main.sidebar_extra.openLandingPageModal()}e.exports={"tcb.should_open_page_wizard":e=>(TVD_CS_CONST.is_empty_page&&(TVE.CONST.tve_post_constants.page_wizard||(t(),TVE.CONST.tve_post_constants.page_wizard=1),e=!1),e),"tve.lp_modal.expand_default":()=>({set:"coming-soon",type:"l"}),editor_loaded_callback:()=>{jQuery(TVE.main).on("tcb.open_templates_picker",(e=>{e.preventDefault(),t()}))}}}},t={};function a(o){var n=t[o];if(void 0!==n)return n.exports;var _=t[o]={exports:{}};return e[o](_,_.exports,a),_.exports}jQuery(window).on("tcb.register-hooks",(()=>{_.each(a(4360),((e,t)=>{TVE.add_filter(t,e)}))}))})();

View File

@@ -0,0 +1 @@
(()=>{var e;(e=jQuery)((()=>{(new(Backbone.View.extend({el:".cs-content",events:{"click .tvd-toggle-input":"switchToggle","click .add-new-page":"createNewPage","click .enable-state":function(a){this.enableState(a.target.getAttribute("data-enable")),a.target.classList.contains("remove-page")&&(this.activateComingSoon(0),e(".page-source-select").val(null).trigger("change"))}},initialize:function(){0!==parseInt(TVD_CS_CONST.is_coming_soon_enabled)&&this.enableState("view")},initializeDropdown:function(){e(".page-source-select").select2({ajax:{url:TVD_CS_CONST.baseUrl,dataType:"json",delay:250,data:e=>({search:e.term,status:"publish",type:"page"}),processResults:e=>({results:e})},placeholder:TVD_CS_CONST.t.search_page,templateResult:a=>a.loading?a.text:a.title?e(TVE_Dash.tpl("coming-soon-views-dropdown-result",{pageTitle:a.title.rendered})):void 0,templateSelection:e=>e.text||e.title.rendered,multiple:!0,minimumInputLength:3,language:{inputTooShort:()=>""}}).on("select2:select",(e=>{this.initializePageVariables(e.params.data),this.enableState("inactive"),this.enableLoader(),this.activateComingSoon(e.params.data.id)}))},createNewPage:function(){const a=e("#new-page-title").val();a?(this.enableLoader(),e.ajax({method:"POST",url:TVD_CS_CONST.baseUrl,data:{title:a,type:"page",status:"publish"},beforeSend:e=>{e.setRequestHeader("X-WP-Nonce",TVD_CS_CONST.nonce)},success:e=>{this.initializePageVariables(e),this.activateComingSoon(e.id)}})):TVE_Dash.err(TVD_CS_CONST.t.add_page_title)},activateComingSoon:function(a){e.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{_wpnonce:TVE_Dash_Const.nonce,action:TVE_Dash_Const.actions.backend_ajax,route:TVE_Dash_Const.routes.settings,field:"tvd_coming_soon_page_id",value:a}}).done((t=>{0!==a&&this.enableState("view"),e("#wp-admin-bar-coming-soon").toggle(0!==a),TVE_Dash.page_loader&&TVE_Dash.page_loader.close(),TVE_Dash.success(TVD_CS_CONST.t.saved_successfully)}))},switchToggle:function(){this.$(".tvd-toggle-input")[0].checked?this.enableState("search"):(this.activateComingSoon(0),this.enableState("inactive"))},enableState:function(e){if("inactive"!==e){const a={pageName:TVD_CS_CONST.page_name,editUrl:TVD_CS_CONST.edit_url,previewUrl:TVD_CS_CONST.preview_url};this.$el.find(".tvd-cs-page-selector").html(TVE_Dash.tpl(`coming-soon-views-${e}`,"view"===e?a:{})),"search"===e&&this.initializeDropdown()}else this.$el.find(".tvd-cs-page-selector").empty()},initializePageVariables:function(e){TVD_CS_CONST.page_name=e.title.rendered,TVD_CS_CONST.preview_url=e.link;const a=new URL(TVD_CS_CONST.base_url+"post.php");a.searchParams.append("post",e.id),a.searchParams.append("action","architect"),a.searchParams.append("tve","true"),TVD_CS_CONST.edit_url=a},enableLoader:function(){TVE_Dash.page_loader=new TVE_Dash.views.PageLoader,TVE_Dash.page_loader.render(),TVE_Dash.page_loader.open()}}))).render()}))})();

View File

@@ -0,0 +1,281 @@
<?php
/**
* Thrive Dashboard - https://thrivethemes.com
*
* @package thrive-dashboard
*/
namespace TVD\Coming_Soon;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class Hooks
*
* @package TVD\Coming_Soon
*/
class Hooks {
public static function actions() {
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_enqueue_scripts' ) );
add_action( 'wp_loaded', array( __CLASS__, 'editor_enqueue_scripts' ) );
add_action( 'template_redirect', array( __CLASS__, 'redirect_to_coming_soon' ), 1 );
add_action( 'admin_bar_menu', array( __CLASS__, 'admin_bar_item' ) );
add_action( 'admin_print_footer_scripts', array( __CLASS__, 'render_backbone_templates' ) );
add_filter( 'option_' . Main::OPTION, array( __CLASS__, 'disable_coming_soon' ) );
}
public static function filters() {
add_filter( 'tve_dash_filter_features', array( __CLASS__, 'tve_dash_filter_features' ) );
add_filter( 'tve_main_js_dependencies', array( __CLASS__, 'tve_main_js_dependencies' ) );
add_filter( 'tcb_get_page_wizard_items', array( __CLASS__, 'tcb_set_page_wizard_items' ) );
add_filter( 'tcb_post_types', array( __CLASS__, 'allow_tcb_edit' ) );
add_filter( 'tcb_landing_page_templates_list', array( __CLASS__, 'filter_templates' ) );
}
/* ###################################### ACTIONS ###################################### */
public static function render_backbone_templates() {
if ( tve_get_current_screen_key() === 'admin_page_tve_dash_coming_soon' ) {
$templates = tve_dash_get_backbone_templates( plugin_dir_path( __DIR__ ) . 'views', 'coming-soon' );
tve_dash_output_backbone_templates( $templates, 'coming-soon-' );
}
}
/**
* Settings for the Coming Soon label in the Admin Bar
*
* @param $wp_admin_bar
*/
public static function admin_bar_item( $wp_admin_bar ) {
$item_visibility = Main::get_page_id() ? 'block' : 'none';
$wp_admin_bar->add_menu( array(
'id' => 'coming-soon',
'parent' => 'top-secondary',
'group' => null,
'title' => '<span style="width:18px;height:12px;display:inline-block;background-image:url(' . TVE_DASH_URL . '/css/images/thrive-leaf.png);margin-right:5px !important;" class="thrive-adminbar-icon"></span>' . __( 'Coming Soon Mode Active', 'thrive-dash' ),
'href' => admin_url( 'admin.php?page=tve_dash_coming_soon' ),
'meta' => array(
'class' => 'thrive-coming-soon',
'html' => '<style>#wpadminbar .thrive-coming-soon {background: orange; display:' . $item_visibility . '}</style>',
'title' => __( 'Go to Coming Soon Dashboard', 'thrive-dash' ),
),
) );
}
/*
* Display admin dashboard
*/
public static function admin_dashboard() {
$coming_soon = Main::is_coming_soon_enabled();
include __DIR__ . '/../views/admin.php';
}
/**
* Redirect all pages/posts to the selected Coming Soon page
*/
public static function redirect_to_coming_soon() {
if ( ! is_user_logged_in() && Main::is_coming_soon_enabled() && ( get_the_ID() !== (int) Main::get_page_id() ) ) {
wp_redirect( Main::get_preview_url() );
exit();
}
}
/**
* Create menu page for the Coming Soon functionality
*/
public static function admin_menu() {
add_submenu_page(
'',
Main::title(),
Main::title(),
'manage_options',
Main::MENU_SLUG,
array( __CLASS__, 'admin_dashboard' )
);
}
/**
* Enqueue admin scripts
*
* @param $screen
*/
public static function admin_enqueue_scripts( $screen ) {
if ( ! empty( $screen ) && $screen === 'admin_page_tve_dash_coming_soon' ) {
$coming_soon_page_id = Main::get_page_id();
tve_dash_enqueue();
tve_dash_enqueue_script( 'tvd-coming-soon', TVE_DASH_URL . '/inc/coming-soon/assets/dist/main.min.js', array( 'jquery' ) );
tve_dash_enqueue_style( 'tvd-coming-soon-main-frame', TVE_DASH_URL . '/inc/coming-soon/assets/css/admin.css' );
wp_localize_script( 'tvd-coming-soon', 'TVD_CS_CONST', array(
'nonce' => wp_create_nonce( 'wp_rest' ),
'baseUrl' => get_rest_url( get_current_blog_id(), 'wp/v2/pages/' ),
'is_coming_soon_enabled' => empty( $coming_soon_page_id ) ? 0 : 1,
'edit_url' => Main::get_edit_url(),
'preview_url' => Main::get_preview_url(),
'page_name' => Main::get_page_name(),
'base_url' => admin_url(),
'is_empty_page' => Main::is_empty_page(),
'is_ttb_active' => tve_dash_is_ttb_active(),
'is_admin_page' => $screen === 'admin_page_tve_dash_coming_soon',
't' => array(
'search_page' => __( 'Search an existing page', 'thrive-dash' ),
'add_page_title' => __( 'Please add the page title!', 'thrive-dash' ),
'saved_successfully' => __( 'Changes saved successfully', 'thrive-dash' ),
),
) );
}
}
/**
* Enqueue scripts in the editor
*/
public static function editor_enqueue_scripts() {
if ( Main::is_edit_screen() ) {
tve_dash_enqueue_script( 'tvd-coming-soon-editor', TVE_DASH_URL . '/inc/coming-soon/assets/dist/editor.min.js', array( 'jquery' ) );
wp_localize_script( 'tvd-coming-soon-editor', 'TVD_CS_CONST', array(
'is_empty_page' => Main::is_empty_page(),
'is_ttb_active' => tve_dash_is_ttb_active(),
) );
}
}
/**
* Disable CS if it is not enabled or if the selected page is not published
*/
public static function disable_coming_soon( $value ) {
$features = apply_filters( 'tve_dash_features', array() );
if ( ! isset( $features['coming-soon'] ) || get_post_status( $value ) !== 'publish' ) {
$value = 0;
}
return $value;
}
/* ###################################### FILTERS ###################################### */
/**
* In the editor, load the main js only after our files are loaded
*
* @param array $dependencies
*
* @return array
*/
public static function tve_main_js_dependencies( $dependencies ) {
if ( Main::is_edit_screen() ) {
$dependencies[] = 'tvd-coming-soon-editor';
}
return $dependencies;
}
/**
* Add dashboard card for the Coming Soon functionality
*
* @param $features
*
* @return mixed
*/
public static function tve_dash_filter_features( $features ) {
$features['coming-soon'] = array(
'icon' => 'tvd-coming-soon',
'title' => Main::title(),
'description' => __( 'Display a "Coming Soon" page to let visitors know that you are currently working on your website.', 'thrive-dash' ),
'btn_link' => add_query_arg( 'page', Main::MENU_SLUG, admin_url( 'admin.php' ) ),
'btn_text' => __( 'Coming Soon Mode', 'thrive-dash' ),
);
return $features;
}
/**
* Filter the items that are loaded in the Page Wizard Modal
*
* @param array $items
*
* @return array
*/
public static function tcb_set_page_wizard_items( $items = array() ) {
/* Only load custom items when we are editing the Coming Soon Page */
if ( Main::is_edit_screen() ) {
foreach ( $items as $key => $item ) {
if ( ! in_array( $item['layout'], array( 'completely_blank', 'lp' ) ) ) {
unset( $items[ $key ] );
}
}
}
return $items;
}
/**
* Filter the templates that are loaded
*
* @param $templates
*
* @return array
*/
public static function filter_templates( $templates ) {
/* Only load custom templates when we are editing the Coming Soon Page */
if ( ! empty( $_POST['post_id'] ) && $_POST['post_id'] === Main::get_page_id() ) {
$result = array();
$skin = '';
if ( function_exists( 'thrive_skin' ) ) {
$skin = thrive_skin()->get_tag();
}
/* Only load the 'Coming Soon' templates and the current skin's blank template */
foreach ( $templates as $key => $tpl ) {
$tags = implode( ' ', $tpl['tags'] );
if ( $tpl['set'] === 'Coming Soon' || ( ! empty( $tpl['skin_tag'] ) && $tpl['skin_tag'] === $skin && stripos( $tags, 'blank' ) !== false ) ) {
$tpl['locked'] = 0;
$result[ $key ] = $tpl;
}
}
return $result;
}
return $templates;
}
/**
* Allow tcb to edit the Coming Soon page
*
* @param $post_types
*
* @return array
*/
public static function allow_tcb_edit( $post_types ) {
if ( Main::is_edit_screen() ) {
if ( ! isset( $post_types['force_whitelist'] ) ) {
$post_types['force_whitelist'] = array();
}
$post_types['force_whitelist'][] = get_post_type();
}
return $post_types;
}
}

View File

@@ -0,0 +1,117 @@
<?php
/**
* Thrive Dashboard - https://thrivethemes.com
*
* @package thrive-dashboard
*/
namespace TVD\Coming_Soon;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class Main
*
* @package TVD\Coming_Soon
*/
class Main {
const OPTION = 'tvd_coming_soon_page_id';
const MENU_SLUG = 'tve_dash_coming_soon';
public static function init() {
static::includes();
Hooks::actions();
Hooks::filters();
}
public static function includes() {
require_once __DIR__ . '/class-hooks.php';
}
/**
* call my by my name
*
* @return string|void
*/
public static function title() {
return __( 'Coming Soon Mode', 'thrive-dash' );
}
/**
* Check if we've enabled coming soon
*
* @return bool
*/
public static function is_coming_soon_enabled() {
$option = get_option( static::OPTION, false );
return ! empty( $option );
}
/**
* Get ID of the Coming Soon Page
*
* @return false|mixed|void
*/
public static function get_page_id() {
return get_option( static::OPTION, 0 );
}
/**
* Get name of the Coming Soon Page
*
* @return string
*/
public static function get_page_name() {
return get_the_title( static::get_page_id() );
}
/**
* Get edit url of the Coming Soon Page
*
* @return string
*/
public static function get_edit_url() {
return tcb_get_editor_url( static::get_page_id() );
}
/**
* Get preview url of the Coming Soon Page
*
* @return string
*/
public static function get_preview_url() {
return get_permalink( static::get_page_id() );
}
/**
* Check if the Coming Soon page has content
*
* @return bool
*/
public static function is_empty_page() {
$page_id = static::get_page_id();
return empty( $page_id ) || empty( tve_get_post_meta( $page_id, 'tve_updated_post' ) );
}
/**
* Check if we're on a edit page for the coming soon
*
* @return bool
*/
public static function is_edit_screen() {
$post_id = get_the_ID();
if ( empty( $post_id ) && isset( $_GET['post'] ) && is_admin() ) {
$post_id = $_GET['post'];
}
return is_numeric( $post_id ) && (int) $post_id === (int) Main::get_page_id();
}
}

View File

@@ -0,0 +1,41 @@
<?php include TVE_DASH_PATH . '/templates/header.phtml'; ?>
<div class="tvd-breadcrumb coming-soon-nav">
<a href="<?php echo admin_url( 'admin.php?page=tve_dash_section' ); ?>" class="tvd-breadcrumb-back">
<?php echo __( 'Thrive Dashboard', 'thrive-dash' ); ?>
</a>
<span>
<?php echo __( 'Coming Soon', 'thrive-dash' ); ?>
</span>
</div>
<div class="tvd-wrap cs-content">
<div class="tvd-actions">
<h2>
<?php echo __( 'Enable "Coming Soon" mode', 'thrive-dash' ); ?>
</h2>
<p>
<?php echo __( 'If you activate this feature, you will be able to set up a "Coming Soon" page, that your visitors will be redirected to, while you build your website. However, the logged in users will still be able to see your website.', 'thrive-dash' ); ?>
<a class="learn-more-link" href="https://help.thrivethemes.com/en/articles/5366468-add-a-coming-soon-page-to-your-website" target="_blank">
<?php echo __( 'Learn more', 'thrive-dash' ); ?>
</a>
</p>
<div class="tvd-wrap space-between">
<div class="tvd-switch">
<label>
<?php echo __( 'ACTIVE', 'thrive-dash' ); ?>
<input type="checkbox" class="tvd-toggle-input" <?php checked( true, $coming_soon ); ?>>
<span class="tvd-lever"></span>
</label>
</div>
</div>
<div class="tvd-cs-page-selector"></div>
</div>
</div>
<div id="tvd-back-td" class="tvd-col tvd-m6">
<a href="<?php echo admin_url( 'admin.php?page=tve_dash_section' ); ?>" class="tvd-waves-effect tvd-waves-light tvd-btn-small tvd-btn-gray">
<?php echo __( 'Back To Dashboard', 'thrive-dash' ); ?>
</a>
</div>

View File

@@ -0,0 +1,18 @@
<div class="create-page-wrapper">
<p>
<?php echo __( 'Please keep in mind that activating the feature is not enough for the "Coming Soon" page to be visible. You will first have to set it up, using the field below.', 'thrive-dash' ); ?>
</p>
<div class="page-source-wrapper">
<button id="create-new-page" class="enable-state" data-enable="create">
<span class="tvd-icon-plus-circle enable-state" data-enable="create"></span>
<?php echo __( 'Create new page', 'thrive-dash' ); ?>
</button>
<div class="new-page-wrapper">
<input id="new-page-title" name="page-title" type="text" placeholder="Page title">
<div class="new-page-actions">
<button class="dismiss-new-page enable-state" data-enable="search"><?php echo __( 'Cancel', 'thrive-dash' ); ?></button>
<button class="add-new-page"><?php echo __( 'Add page', 'thrive-dash' ); ?></button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<div class="delete-page-wrapper">
<span><?php echo __( 'Are you sure you want to remove this coming soon page?', 'thrive-dash' ); ?></span>
<div class="buttons-wrapper">
<button class="keep-page enable-state" data-enable="view"><?php echo __( 'Keep this page', 'thrive-dash' ); ?></button>
<button class="remove-page enable-state" data-enable="search"><?php echo __( 'Remove this page', 'thrive-dash' ); ?></button>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<div class='select2-result-page clearfix'>
<div class='select2-result-page__title'><#= pageTitle #></div>
</div>

View File

@@ -0,0 +1,18 @@
<div class="search-page-wrapper">
<p>
<?php echo __( 'Please keep in mind that activating the feature is not enough for the "Coming Soon" page to be visible. You will first have to set it up, using the field below.', 'thrive-dash' ); ?>
</p>
<div class="page-source-wrapper">
<div class="page-source-search-wrapper">
<select class="page-source-select">
<option></option>
</select>
</div>
<div class="create-new-page-wrapper">
<button id="create-new-page" class="enable-state" data-enable="create">
<span class="tvd-icon-plus-circle enable-state" data-enable="create"></span>
<?php echo __( 'Create new page', 'thrive-dash' ); ?>
</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<div class="view-page-wrapper">
<span class="page-title">
<#= pageName #>
</span>
<div class="page-options">
<a class="page-option option-view-page" target="_blank" href="<#= previewUrl #>">
<span class="tvd-icon-eye"></span>
<?php echo __( 'View', 'thrive-dash' ); ?>
</a>
<span class="tvd-sep"></span>
<a class="page-option option-edit-page" target="_blank" href="<#= editUrl #>">
<span class="tvd-icon-architect"></span>
<?php echo __( 'Edit with Thrive Architect', 'thrive-dash' ); ?>
</a>
<span class="tvd-sep"></span>
<button class="page-option option-remove-page enable-state" data-enable="delete" target="_blank">
<span class="tvd-icon-delete"></span>
<?php echo __( 'Remove page', 'thrive-dash' ); ?>
</button>
</div>
</div>