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,101 @@
<div class="row column-options">
<div class="col-xs-4">
<div class="panel-title"><?php echo sprintf( __( '%d Columns', 'thrive-cb' ), 2 ) ?></div>
</div>
<div class="col-xs-4">
<div class="panel-title"><?php echo sprintf( __( '%d Columns', 'thrive-cb' ), 3 ) ?></div>
</div>
<div class="col-xs-4">
<div class="panel-title"><?php echo sprintf( __( '%d Columns', 'thrive-cb' ), 4 ) ?></div>
</div>
</div>
<div class="row tcb-col-preview tcb-text-center">
<div class="col-xs-4" data-cols="2">
<div class="row click" data-fn="render_row">
<div class="col-xs-6">
<div class="desc">1/2</div>
</div>
<div class="col-xs-6">
<div class="desc">1/2</div>
</div>
</div>
<div class="row click" data-fn="render_row">
<div class="c-33 col-xs-4">
<div class="desc">1/3</div>
</div>
<div class="c-66 col-xs-8">
<div class="desc">2/3</div>
</div>
</div>
<div class="row click" data-fn="render_row">
<div class="c-66 col-xs-8">
<div class="desc">2/3</div>
</div>
<div class="c-33 col-xs-4">
<div class="desc">1/3</div>
</div>
</div>
</div>
<div class="col-xs-4" data-cols="3">
<div class="row click" data-fn="render_row">
<div class="col-xs-4">
<div class="desc">1/3</div>
</div>
<div class="col-xs-4">
<div class="desc">1/3</div>
</div>
<div class="col-xs-4">
<div class="desc">1/3</div>
</div>
</div>
<div class="row click" data-fn="render_row">
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="c-50 col-xs-6">
<div class="desc">2/4</div>
</div>
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
</div>
<div class="row click" data-fn="render_row">
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="c-50 col-xs-6">
<div class="desc">2/4</div>
</div>
</div>
<div class="row click" data-fn="render_row">
<div class="c-50 col-xs-6">
<div class="desc">2/4</div>
</div>
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="c-25 col-xs-3">
<div class="desc">1/4</div>
</div>
</div>
</div>
<div class="col-xs-4" data-cols="4">
<div class="row click" data-fn="render_row">
<div class="col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="col-xs-3">
<div class="desc">1/4</div>
</div>
<div class="col-xs-3">
<div class="desc">1/4</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<input class="tcb-autocomplete tcb-search" type="text" placeholder="<?php echo __( 'Search...', 'thrive-cb' ) ?>">

View File

@@ -0,0 +1,46 @@
<div class="fr-dynamic-box fr-link-box" style="display:none">
<div class="fr-inline-shortcode-links-container tcb-hide mb-20">
<div class="fr-inline-shortcode-message mb-10"><?php echo __( 'This hyperlink is inherited from the Dynamic Text settings. Edit or disable it from the Dynamic text dropdown', 'thrive-cb' ); ?></div>
<div class="fr-inline-short-icons">
<div id="fr-arrow" class="mr-10"><?php tcb_icon( 'noun-arrow' ); ?></div>
<div class="inline-shortcode-icons">
<div id="fr-db" class="mr-5"><?php tcb_icon( 'database-regular' ); ?></div>
<div id="fr-chev"><?php tcb_icon( 'caret-down' ); ?></div>
</div>
</div>
</div>
<div class="fr-dynamic-links-container">
<div class="fr-dynamic-categories w-100">
<?php echo tcb_template( 'controls/link/dynamic-categories.phtml', null, true, 'backbone' ) ?>
</div>
<div class="fr-dynamic-links w-100">
<?php echo tcb_template( 'controls/link/dynamic-links.phtml', null, true, 'backbone' ) ?>
</div>
<div class="fr-dynamic-link-shortcode w-100 pb-10">
<input type="text" id="fr-dynamic-link-shortcode-input" placeholder="<?php esc_attr_e( 'Enter shortcode... [ example ]', 'thrive-cb' ); ?>">
</div>
<div class="fr-checkbox-line fr-link-atts w-100 mt-10">
<span class="fr-checkbox"><input name="target" class="fr-link-attr" data-checked="_blank" type="checkbox" id="fr-link-target-<#= editor_id #>"><span><?php tcb_icon( 'froala-checkmark' ); ?></span></span><label for="fr-link-target-<#= editor_id #>"><?php echo __( 'Open in new tab', 'thrive-cb' ) ?></label>
<span class="fr-checkbox"><input name="rel" class="fr-link-attr" data-checked="nofollow" type="checkbox" id="fr-link-rel-<#= editor_id #>"><span><?php tcb_icon( 'froala-checkmark' ); ?></span></span><label for="fr-link-rel-<#= editor_id #>"><?php echo __( 'No follow', 'thrive-cb' ) ?></label>
<div class="elem-link-redirect-logout-wrapper w-100 mt-10">
<div class="elem-link-redirect-logout-checkbox flex" style="display: none">
<span class="fr-checkbox">
<input name="logout-redirect" class="fr-link-attr" data-checked="redirect" type="checkbox" id="fr-link-logout-redirect-<#= editor_id #>">
<span><?php tcb_icon( 'froala-checkmark' ); ?></span>
</span>
<label for="fr-link-logout-redirect-<#= editor_id #>"><?php echo __( 'Redirect after successful logout', 'thrive-cb' ) ?></label>
</div>
<div class="tve-static-link control-grid no-space elem-link-redirect-logout-link mt-5" style="display: none">
<div class="fr-input-line fr-link-url fr-with-icon w-100">
<input id="fr-link-insert-layer-url-redirect" data-side="top" name="href" type="text" class="fr-link-attr" placeholder="Add URL or search for page"><#= link_buttons #>
</div>
</div>
</div>
</div>
<div class="fr-action-buttons row between-xs reverse">
<button class="fr-command fr-submit" role="button" data-cmd="dynamicLinkInsert" href="#" type="button"><?php echo __( 'Insert', 'thrive-cb' ) ?></button>
<button class="fr-command fr-danger fr-remove fr-hidden" role="button" data-cmd="dynamicLinkRemove" href="#" type="button"><?php echo __( 'Remove', 'thrive-cb' ) ?></button>
</div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<div class="fr-jump-box fr-link-box" style="display:none">
<div class="fr-checkbox-line fr-link-atts">
<span class="fr-checkbox"><input name="jump-animation" class="fr-jump-attr" data-checked="smooth-anim" type="checkbox" id="fr-jump-smooth-<#= editor_id#>" tabIndex="' + ( ++ tab_idx ) + ' checked"><span><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg></span></span><label for="fr-jump-smooth-<#= editor_id#>"><?php echo __( 'Smooth Animation', 'thrive-cb' ) ?></label>
</div>
<div class="fr-jump-target"><span class="fr-jump-target-label"><?php echo __( 'Target', 'thrive-cb' ) ?> </span> <a id="fr-jump-target-<#= editor_id#>" class="fr-jump-target-elem click" data-cmd="scrollTo"></a></div>
<div class="tcb-no-target mb-10 mt-5">
<span class="info-text"><?php echo __( 'The target element was removed from the page. Please modify the target.', 'thrive-cb' ) ?></span>
</div>
<div class="fr-action-buttons row between-xs reverse">
<button class="fr-command fr-submit" role="button" data-cmd="jumpInsert" href="#" tabIndex="' + ( ++ tab_idx ) + '" type="button"><?php echo __( 'Select Target', 'thrive-cb' ) ?></button>
<button class="fr-command fr-danger fr-remove fr-hidden" role="button" data-cmd="jumpRemove" href="#" tabIndex="' + ( ++ tab_idx ) + '" type="button"><?php echo __( 'Delete Target', 'thrive-cb' ) ?></button>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div class="fr-checkbox-line tve-top-tabs">
<label id="static-link" class="tcb-radio">
<input type="radio" name="static-link-type" class="fr-link-type" value="static" checked><span><?php echo __( 'Static', 'thrive-cb' ); ?></span></label>
<label id="jump-link" class="tcb-radio">
<input type="radio" name="jump-link-type" class="fr-link-type" value="jump"><span><?php echo __( 'JumpLink', 'thrive-cb' ); ?></span></label>
<label id="dynamic-link" class="tcb-radio">
<input type="radio" name="dynamic-link-type" class="fr-link-type" value="dynamic"><span><?php echo __( 'Dynamic', 'thrive-cb' ); ?></span></label>
</div>

View File

@@ -0,0 +1,8 @@
<select class="fr-dynamic-link-select" id="fr-dynamic-link-list">
<option value="tcb_post_the_permalink"><?php echo __( 'Post Link', 'thrive-cb' ); ?></option>
<option value="tcb_post_archive_link"><?php echo __( 'Post Archive', 'thrive-cb' ); ?></option>
<option value="tcb_post_author_link"><?php echo __( 'Author Archive', 'thrive-cb' ); ?></option>
<option value="tcb_post_date_link"><?php echo __( 'Date Archive', 'thrive-cb' ); ?></option>
<option value="tcb_post_comments_link"><?php echo __( 'Comments Link', 'thrive-cb' ); ?></option>
<?php do_action( 'tcb_extra_postlist_links' ); ?>
</select>

View File

@@ -0,0 +1,18 @@
<select class="fr-input-line" id="fr-dropdown-shortcode-list">
<option value="" disabled selected hidden><?php echo __( 'Select an option', 'thrive-cb' ); ?></option>
<# _.each(shortcodes, shortcode => { #>
<optgroup label="<#= shortcode.option #>">
<# _.each(shortcode.input, function(input, key) { #>
<# _.each(input.value, function(option, option_key) { #>
<option data-name="<#= shortcode.option #>" data-field-value="<#= option_key #>"
data-extra-key="<#= shortcode.extra_param ? shortcode.extra_param : '' #>" value="<#= shortcode.value #>" <#= input.value_type? 'data-type="'+input.value_type[option_key]+'"':'' #>>
<#= input.labels && input.labels[ option ] ? input.labels[ option ] : option #>
</option>
<# }); #>
<# }); #>
</optgroup>
<# }); #>
</select>

View File

@@ -0,0 +1,5 @@
<span class="<#= shortcodeData.content_class #>" contenteditable="false"
data-shortcode="<#= shortcodeData.key #>"
data-shortcode-name="<#= shortcodeData.shortcodeName #>"
data-extra_key="<#= shortcodeData.extra_key #>"
<#= attributes.join( ' ' ) #>><#=shortcodeValue#></span>

View File

@@ -0,0 +1,24 @@
<div class="fr-link-insert-layer fr-layer fr-active">
<label for="fr-dropdown-categories-list"><?php echo __( 'Dynamic text', 'thrive-cb' ); ?></label>
<select class="fr-input-line" id="fr-dropdown-categories-list">
<option value="" disabled selected><?php echo __( 'Select source', 'thrive-cb' ); ?></option>
<# shortcodeCategories.forEach( category => { #>
<option value="<#= category #>"><#= utils.updatePostTypeLabel(category) #></option>
<# }); #>
</select>
<div class="tve-options-list-container"></div>
<div class="tve-custom-input-container"></div>
<div class="fr-action-buttons row between-xs reverse">
<button class="fr-command fr-submit" role="button" id="fr-shortcode-popup-action-button" data-cmd="shortcodeInsert" tabindex="5" type="button">
<?php echo __( 'Insert', 'thrive-cb' ); ?>
</button>
<button class="fr-command fr-danger fr-remove fr-hidden" role="button" data-cmd="shortcodeRemove" tabindex="6" type="button">
<?php echo __( 'Remove', 'thrive-cb' ); ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<select class="fr-input-line" id="fr-dropdown-shortcode-list">
<option value="" disabled selected><?php echo __( 'Select an option', 'thrive-cb' ); ?></option>
<# _.each(shortcodes, shortcode => { #>
<option value="<#= shortcode.value #>"
data-name="<#= shortcode.option #>"
data-extra-key="<#= shortcode.extra_param ? shortcode.extra_param : '' #>">
<#= utils.updatePostTypeLabel(shortcode.option) #>
</option>
<# }); #>
</select>

View File

@@ -0,0 +1,22 @@
<#
const inputLabel = input.label ? utils.updatePostTypeLabel(input.label): '';
const phoneOption = input.available_for[0] == 2;
const emailOption = input.available_for[0] == 3;
#>
<#if(input.type == 'input'){#>
<label for="fr-dropdown-list-<#= key #>" class="tcb-shortcode-input"><#= inputLabel #></label>
<input type="text" name="<#= key #>" class="fr-custom-input <#= input.info? '': 'fr-input-line' #>" id="fr-dropdown-list-<#= key #>" value="<#= selectedValue? selectedValue:input.value #>"/>
<#}#>
<#if(input.type == 'checkbox'){#>
<label class="tcb-checkbox <#= input.info? '': 'fr-input-line' #>">
<input type="checkbox" name="<#= key #>" class="fr-custom-input" <#= selectedValue? 'checked="checked"' : '' #> value="1">
<span><#= input.label #></span>
</label>
<#if(phoneOption || emailOption){#>
<span class="click tcb-call-info ml-5" data-type="help" data-url="email_phone_dynamic_links" data-link="http://help.thrivethemes.com/en/articles/7150618-how-to-add-a-phone-or-email-dynamic-link" data-fn="openInstructionsLightbox">
<?php tcb_icon( 'info-circle-solid' ); ?>
</span>
<#}#>
<#}#>

View File

@@ -0,0 +1,44 @@
<# _.each(shortcode.input, function(input, key) { #>
<#
const inputLabel = input.label ? utils.updatePostTypeLabel(input.label): '';
let selectedOption, selectedValue = false;
if ( selectedData.configOptions ) {
selectedOption = selectedData.configOptions.find( config => config.key === key );
selectedValue = typeof selectedOption === 'undefined' ? false : selectedOption.value;
}
#>
<#if(input.type == 'select'){#>
<label for="fr-dropdown-list-<#= key #>" class="tcb-select-label"><#= inputLabel #> </label>
<select name="<#= key #>" class="fr-custom-input <#= input.info? '': 'fr-input-line' #>" id="fr-dropdown-list-<#= key #>">
<# _.each(input.value, function(option, option_key) { #>
<option value="<#= option_key #>"
<#= selectedValue == option_key? 'selected="selected"':'' #><#= input.value_type? 'data-type="'+input.value_type[option_key]+'"':'' #>>
<#= input.labels && input.labels[ option ] ? TVE.trimStringAfterWidth(input.labels[ option ]) : TVE.trimStringAfterWidth(option) #>
</option>
<# }); #>
</select>
<#}#>
<#if(input.type == 'input'){#>
<label for="fr-dropdown-list-<#= key #>" class="tcb-shortcode-input"><#= inputLabel #></label>
<input type="text" name="<#= key #>" class="fr-custom-input <#= input.info? '': 'fr-input-line' #>" id="fr-dropdown-list-<#= key #>" value="<#= selectedValue? selectedValue:input.value #>"/>
<#}#>
<#if(input.type == 'hidden'){#>
<input type="hidden" name="<#= key #>" class="fr-custom-input <#= input.info? '': 'fr-input-line' #>" id="fr-dropdown-list-<#= key #>" value="<#= selectedValue? selectedValue:input.value #>"/>
<#}#>
<#if(input.type == 'checkbox'){#>
<label class="tcb-checkbox fr-dropdown-list-<#= key #> <#= input.info? '': 'fr-input-line' #> mr-10">
<input type="checkbox" name="<#= key #>" class="fr-custom-input" <#= parseInt(selectedValue) || ( isNew && input.value) ? 'checked="checked"' : '' #> value="1">
<span><#= inputLabel #></span>
</label>
<#= input.disable_br ? '':'<br>' #>
<#}#>
<# }); #>
<div class="tve-custom-input-extra-options"></div>

View File

@@ -0,0 +1,12 @@
<div class="fr-static-box fr-link-box">
<div class="fr-input-line fr-link-url fr-with-icon"><input id="fr-link-insert-layer-url-<#= editor_id #>" data-side="top" name="href" type="text" class="fr-link-attr" placeholder="URL"><#= link_buttons #></div>
<div class="fr-checkbox-line fr-link-atts">
<span class="fr-checkbox"><input name="target" class="fr-link-attr" data-checked="_blank" type="checkbox" id="fr-link-target-<#= editor_id #>"><span><?php tcb_icon( 'froala-checkmark' ); ?></span></span><label for="fr-link-target-<#= editor_id #>"><?php echo __( 'Open in new tab', 'thrive-cb' ) ?></label>
<span class="fr-checkbox"><input name="rel" class="fr-link-attr" data-checked="nofollow" type="checkbox" id="fr-link-rel-<#= editor_id #>"><span><?php tcb_icon( 'froala-checkmark' ); ?></span></span><label for="fr-link-rel-<#= editor_id #>"><?php echo __( 'Nofollow', 'thrive-cb' ) ?></label>
</div>
<div class="fr-action-buttons row between-xs reverse">
<button class="fr-command fr-submit" role="button" data-cmd="linkInsert" href="#" type="button"><?php echo __( 'Insert', 'thrive-cb' ) ?></button>
<button class="fr-command fr-danger fr-remove fr-hidden" role="button" data-cmd="linkRemove" href="#" type="button"><?php echo __( 'Remove', 'thrive-cb' ) ?></button>
</div>
</div>