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,25 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
$icon = isset( $icon ) ? $icon : '';
$name = isset( $name ) ? $name : '';
$goal = isset( $goal ) ? $goal : '';
?>
<div class="tvd-col tvd-s4 thrive-ab-goal" data-goal="<?php echo $goal ?>">
<div class="thrive-ab-goal-card">
<div class="thrive-ab-goal-icon">
<span>
<?php echo $icon ?>
</span>
</div>
<p><?php echo $name; ?></p>
</div>
</div>

View File

@@ -0,0 +1,62 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-adv-settings">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Measure revenue when...', 'thrive-ab-page-testing' ); ?>
</div>
<select name="service" id="thrive-ab-monetary-services">
<option value=""><?php echo __( 'Select how you would like to measure revenue', 'thrive-ab-page-testing' ); ?></option>
</select>
</div>
<div class="thrive-ab-monetary-service" id="sendowl">
<p>
<?php
/* translators: */
echo sprintf( __( '%s will receive revenue data automatically from SendOwl when a purchase is made.', 'thrive-ab-page-testing' ), thrive_ab()->plugin_name() );
?>
</p>
<p>
<?php
$admin_url = add_query_arg(
array(
'page' => 'tva_dashboard',
),
network_admin_url( 'admin.php' )
);
$link = '<a target="_blank" href="' . $admin_url . '#sendowl_quick_start">' . __( 'setup steps', 'thrive-ab-page-testing' ) . '</a>';
/* translators: */
echo sprintf( __( 'Make sure you complete all the SendOwl %s in Thrive Apprentice for the integration to work.', 'thrive-ab-page-testing' ), $link );
?>
</p>
</div>
<div class="thrive-ab-monetary-service" id="visit_page">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Select one or more pages from your website, on which the user will land, and write the corresponding value of that conversion for your business. You can also create a new page and edit later.', 'thrive-ab-page-testing' ); ?>
</div>
</div>
<div id="item-forms" class="tvd-row tvd-collapse"></div>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<div class="tvd-card tvd-small tvd-card-new thrive-ab-add-new-goal tvd-valign-wrapper">
<div class="tvd-card-content tvd-valign tvd-center-align">
<i class="tvd-icon-plus tvd-icon-rounded tvd-icon-medium"></i>
<h4>
<?php echo __( 'Add new thank you page', 'thrive-ab-page-testing' ); ?>
</h4>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<p>
<?php echo __( 'Measure the number of visitors who subscribe to your website. Please make sure you add at least one Lead Generation form on each variation for the conversions to be counted.', 'thrive-ab-page-testing' ); ?>
</p>

View File

@@ -0,0 +1,38 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s2">
<span class="thrive-ab-variation-name">
<# if( test.get('type')=='monetary' ) { #>
<?php echo __( 'Thank You Page', 'thrive-ab-page-testing' ) ?>
<# } else { #>
<?php echo __( 'Goal Page', 'thrive-ab-page-testing' ) ?>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s5 page-search"></div>
<div class="tvd-col tvd-s3" <#= test.get('type')=='monetary'? '':'style="display:none;"' #>>
<label for="revenue-<#= item.cid #>" class="thrive-ab-value-label">
<?php echo __( 'Value', 'thrive-ab-page-testing' ) ?>
</label>
</div>
<div class="tvd-col tvd-s2" <#= test.get('type')=='monetary'? '':'style="display:none;"' #>>
<div class="tvd-input-field">
<input id="revenue-<#= item.cid #>" type="number" value="<#= item.get('revenue')? item.get('revenue'):0 #>" data-bind="revenue">
<label><?php echo __( '$', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
</div>

View File

@@ -0,0 +1,27 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-switch">
<label>
<span class="thrive-ab-switch">
<?php echo __( 'One page for all variations', 'thrive-ab-page-testing' ) ?>
</span>
<input id="multi-page" type="checkbox" class="change" data-fn="switcher_changed">
<span class="tvd-lever">
<i></i>
<i></i>
</span>
<span class="thrive-ab-switch thrive-ab-inactive">
<?php echo __( 'Use separate pages for variations', 'thrive-ab-page-testing' ) ?>
</span>
</label>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-adv-settings">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Select one or more pages, from your website, on which the user will land. You can also create a new page and edit later.', 'thrive-ab-page-testing' ) ?>
</div>
</div>
<div id="item-forms" class="tvd-row tvd-collapse"></div>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<div class="tvd-card tvd-small tvd-card-new thrive-ab-add-new-goal tvd-valign-wrapper">
<div class="tvd-card-content tvd-valign tvd-center-align">
<i class="tvd-icon-plus tvd-icon-rounded tvd-icon-medium"></i>
<h4>
<?php echo __( 'Add new goal page', 'thrive-ab-page-testing' ) ?>
</h4>
</div>
</div>
</div>
</div>
</div>