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,75 @@
<?php
/**
* Created by PhpStorm.
* User: ovidi
* Date: 7/22/2017
* Time: 6:34 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Ultimatum_Bar_Element extends TCB_Cloud_Template_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Ultimatum Ribbon', 'thrive-ult');
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return '';
}
/**
* Element identifier
*
* @return string
*/
public function identifier() {
return '.thrv_ult_bar';
}
/**
* Hidden element
*
* @return string
*/
public function hide() {
return true;
}
public function is_placeholder() {
return false;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'ultimatum_bar' => array(
'config' => array(),
),
'typography' => array( 'hidden' => true ),
'animation' => array( 'hidden' => true ),
'styles-templates' => array( 'hidden' => true ),
'responsive' => array( 'hidden' => true ),
'shadow' => array(
'config' => array(
'important' => true,
),
),
);
}
}

View File

@@ -0,0 +1,57 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
if ( ! class_exists( 'TCB_Icon_Element' ) ) {
require_once TVE_Ult_Const::plugin_path( 'tcb/inc/classes/elements/class-tcb-icon-element.php' );
}
class TCB_Ultimatum_Close_Bar_Element extends TCB_Icon_Element {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Close Ultimatum', 'thrive-ult');
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return '';
}
/**
* Element identifier
*
* @return string
*/
public function identifier() {
return '.tve-ult-bar-close-editable';
}
public function hide() {
return true;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
$components = parent::own_components();
$components['icon']['disabled_controls'] = array( 'ToggleURL', 'link' );
$components['animation'] = array( 'hidden' => true );
$components['responsive'] = array( 'hidden' => true );
$components['scroll'] = array( 'hidden' => true );
return $components;
}
}

View File

@@ -0,0 +1,117 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/20/2017
* Time: 8:31 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Ultimatum_Countdown_Element extends TCB_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Ultimatum Countdown', 'thrive-ult');
}
/**
* Get element alternate
*
* @return string
*/
public function alternate() {
return 'thrive, scarcity';
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return 'ultimatum';
}
/**
* Element identifier
*
* @return string
*/
public function identifier() {
return '.thrive_ultimatum_shortcode'; //For backwards compatibility
}
/**
* This is only a placeholder element
*
* @return bool
*/
public function is_placeholder() {
return false;
}
/**
* Element HTML
*
* @return string
*/
public function html() {
$content = '';
ob_start();
include TVE_Ult_Const::plugin_path( 'tcb-bridge/editor-layouts/elements/ultimatum-countdown.php' );
$content = ob_get_contents();
ob_end_clean();
return $content;
}
/**
* Element category that will be displayed in the sidebar
*
* @return string
*/
public function category() {
return $this->get_thrive_integrations_label();
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'ultimatum_countdown' => array(
'config' => array(),
),
'typography' => array( 'hidden' => true ),
'layout' => array( 'hidden' => true ),
'borders' => array( 'hidden' => true ),
'animation' => array( 'hidden' => true ),
'background' => array( 'hidden' => true ),
'styles-templates' => array( 'hidden' => true ),
'shadow' => array( 'hidden' => true ),
);
}
/**
* Element info
*
* @return string|string[][]
*/
public function info() {
return array(
'instructions' => array(
'type' => 'help',
'url' => 'ultimatum_countdown',
'link' => 'http://help.thrivethemes.com/en/articles/4426118-how-to-set-up-shortcode-countdown-designs-for-ultimatum-campaigns#add-the-shortcode-to-your-page',
),
);
}
}

View File

@@ -0,0 +1,71 @@
<?php
/**
* Created by PhpStorm.
* User: ovidi
* Date: 7/22/2017
* Time: 6:24 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Ultimatum_Shortcode_Element extends TCB_Cloud_Template_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Ultimatum Shortcode', 'thrive-ult');
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return '';
}
/**
* Element identifier
*
* @return string
*/
public function identifier() {
return '.thrv_ult_shortcode';
}
/**
* Hidden element
*
* @return string
*/
public function hide() {
return true;
}
public function is_placeholder() {
return false;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'ultimatum_shortcode' => array(
'config' => array(),
),
'typography' => array( 'hidden' => true ),
'animation' => array( 'hidden' => true ),
'styles-templates' => array( 'hidden' => true ),
'responsive' => array( 'hidden' => true ),
);
}
}

View File

@@ -0,0 +1,71 @@
<?php
/**
* Created by PhpStorm.
* User: ovidi
* Date: 7/22/2017
* Time: 6:40 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Ultimatum_Widget_Element extends TCB_Cloud_Template_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Ultimatum Widget', 'thrive-ult');
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return '';
}
/**
* Element identifier
*
* @return string
*/
public function identifier() {
return '.thrv_ult_widget';
}
/**
* Hidden element
*
* @return string
*/
public function hide() {
return true;
}
public function is_placeholder() {
return false;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'ultimatum_widget' => array(
'config' => array(),
),
'typography' => array( 'hidden' => true ),
'animation' => array( 'hidden' => true ),
'styles-templates' => array( 'hidden' => true ),
'responsive' => array( 'hidden' => true ),
);
}
}