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,7 @@
<div class="tth-dropdown-container q-s-relation"></div>
<span><?php echo __( ' results that have at least one of these authors', 'thrive-cb' ); ?></span>
<div class="tth-dropdown-container q-s-terms"></div>
<button class="tth-delete-block click" data-fn="ruleRemove"></button>

View File

@@ -0,0 +1,22 @@
<?php $sizes = TCB_Post_List_Featured_Image::filter_available_sizes(); ?>
<div class="tve-background-image-type"></div>
<label class = "image-label"><?php echo __( 'Image', 'thrive-cb' ) ?></label>
<div class="control-grid wrap full-width">
<div class="bg-static-image full-width" data-state="static">
<div class="image-picker-wrapper"></div>
</div>
<div class="tve-advanced-controls p-5 pt-0 full-width" data-state="dynamic">
<div class="bg-dynamic-image full-width">
<label><?php echo __( 'Dynamic source', 'thrive-cb' ); ?></label>
<select class="dynamic-image-select change" data-fn="dynamicImageChanged"></select>
</div>
<div class="bg-dynamic-image mt-5 size-select full-width">
<label><?php echo __( 'Image size', 'thrive-cb' ); ?></label>
<select class="dynamic-image-size-select change" data-fn="dynamicImageSizeChanged">
<?php foreach ( $sizes as $key => $size ): ?>
<option value="<?php echo $key ?>"><?php echo $size ?></option>
<?php endforeach; ?>
</select>
</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<?php
$query = str_replace( '"', "'", json_encode( array(
'filter' => 'custom',
'related' => [],
'post_type' => 'post',
'orderby' => 'date',
'order' => 'DESC',
'posts_per_page' => '1',
'offset' => '1',
'no_posts_text' => esc_html__( 'There are no posts to display.' ),
'exclude_current_post' => [ '1' ],
'rules' => [],
) ) );
?>
<div class="thrv_wrapper tcb-elem-placeholder tcb-compact-element tcb-ct-placeholder tcb-selector-no_save tcb-featured-list tve_no_drag tve_no_duplicate tve-draggable tve-droppable"
data-element-name="Featured Content List" data-tcb-elem-type="post_list_featured" data-ct="post_list_featured-0"
data-query="<?php echo esc_attr( $query ); ?>" data-specific-modal="featured-list">
<span class="tcb-inline-placeholder-action with-icon"><?php tcb_icon( 'post-list', false, 'editor' ); ?>
<?php echo esc_html__( 'Insert Featured Content List', 'thrive-cb' ) ?>
</span>
</div>

View File

@@ -0,0 +1,4 @@
<span class="tth-elem-multi q-selected-term">
<span class="loading-when-empty"><#= term #></span>
<button class="click dynamic-filter" data-fn="renderDynamicFiltering" data-value="<#= term #>"></button>
</span>

View File

@@ -0,0 +1,6 @@
<span>
<?php echo __( 'In a format string, each letter represents a specific part of date or time.', 'thrive-cb' ); ?>
<a href="https://wordpress.org/support/article/formatting-date-and-time/" class="blue-text" target="_blank">
<?php echo __( 'Learn more about format strings', 'thrive-cb' ); ?>
</a>
</span>

View File

@@ -0,0 +1,8 @@
<div class="control-grid full-width pb-0">
<span>
<?php echo esc_html__( 'Featured content sits above the main post list element and can be used to highlight important posts.', 'thrive-cb' ); ?>
</span>
<a href="https://thrivethemes.com/tkb_item/how-to-use-the-featured-content-option-of-the-post-list-element" class="blue-text mt-5" target="_blank">
<?php echo esc_html__( 'Learn more about this feature', 'thrive-cb' ); ?>
</a>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<span>
<?php echo esc_html__( 'Thrive Landing Pages can only inherit theme fonts if you have Thrive Theme Builder active on your site.', 'thrive-cb' ); ?>
</span>
</div>

View File

@@ -0,0 +1,55 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
$data_attr = '';
foreach ( TCB_Post_List::default_args() as $key => $value ) {
$data_attr .= 'data-' . $key . '="' . $value . '" ';
}
?>
<main class="tcb-post-list tcb-compact-element thrv_wrapper" <?php echo $data_attr; ?> data-element-name="Post List" draggable="true" data-css="tve-u-16b3297f569"><?php // phpcs:ignore ?>
<article class="<?php echo esc_attr(TCB_POST_WRAPPER_CLASS); ?>">
<a class="tcb-post-thumbnail tcb-shortcode thrv_wrapper tve-draggable tve-droppable tcb-selector-no_save tcb-post-list-shortcode" href="#" title="blank post 5" data-type-url="post_url" data-type-display="default_image" data-css="" data-size="medium" data-post_id="" draggable="true" data-shortcode="tcb_post_featured_image"></a>
<div class="tcb-clear tcb-post-list-cb-clear">
<div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box tcb-post-list-cb tve-draggable tve-droppable" draggable="true">
<div class="tve-content-box-background"></div>
<div class="tve-cb">
<div class="thrv_wrapper thrv_text_element">
<p>
<span class="thrive-inline-shortcode" contenteditable="false"><span class="thrive-shortcode-content" contenteditable="false" data-attr-link="1" data-attr-rel="0" data-attr-target="0" data-extra_key="" data-option-inline="1" data-shortcode="tcb_post_categories" data-shortcode-name="List of Categories"><a href="#"></a></span></span>
</p>
</div>
</div>
</div>
</div>
<div class="thrv_wrapper thrv_text_element tve-default-heading">
<h2>
<span class="thrive-inline-shortcode" contenteditable="false"><span class="thrive-shortcode-content" contenteditable="false" data-attr-link="0" data-attr-rel="0" data-attr-target="0" data-extra_key="" data-option-inline="1" data-shortcode="tcb_post_title" data-shortcode-name="Post title"></span></span>
</h2>
</div>
<section class="tcb-post-content tcb-shortcode thrv_wrapper tve-draggable tve-droppable tcb-selector-no_save tcb-post-list-shortcode" data-size="words" data-read_more="" data-words="12" draggable="true" data-shortcode="tcb_post_content"><p><a href="#" draggable="false"></a></p></section>
<div class="tcb-clear tcb-post-read-more-clear">
<div class="tcb-post-read-more thrv_wrapper tve-draggable tve-droppable" draggable="true">
<a href="#" class="tcb-button-link tcb-post-read-more-link" draggable="false">
<span class="tcb-button-texts">
<span class="tcb-button-text thrv-inline-text"><?php echo esc_html__( 'Read More', 'thrive-cb' ); ?></span>
</span>
</a>
</div>
</div>
</article>
</main>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<span>
<?php echo esc_html__( 'Landing Page Typography is not available when inheriting active theme typography is enabled.', 'thrive-cb' ); ?>
</span>
</div>

View File

@@ -0,0 +1,7 @@
<div class="tth-dropdown-container q-s-relation"></div>
<span><?php echo __( ' the following results', 'thrive-cb' ); ?></span>
<div class="tth-dropdown-container q-s-terms"></div>
<button class="tth-delete-block click" data-fn="ruleRemove"></button>

View File

@@ -0,0 +1,166 @@
<div class="query-title margin-bottom-40">
<div class="query-filter-type">
<div><?php echo esc_html__( 'I want to display the following', 'thrive-cb' ); ?></div>
<div class="query-type-switch">
<button class="click" data-fn="q_filter" data-filter="custom"><?php echo esc_html__( 'Custom Query', 'thrive-cb' ); ?></button>
<button <?php echo apply_filters( 'tcb_post_list.disable_related', '' ); ?> class="click" data-fn="q_filter" data-filter="related">
<?php echo esc_html__( 'Related Posts', 'thrive-cb' ); ?>
</button>
<div class="related-posts-disabled-tooltip">
<div>
<?php echo esc_html__( 'The "Related Posts" section will show the content related to the post or page you\'re adding the "Post List" element to. Posts or pages are "related" if they share a common tag/category/author/format.', 'thrive-cb' ); ?>
</div>
<div>
<?php echo esc_html__( 'The "Related Posts" section is not available for "Blog", as there aren\'t any categories, tags, authors etc. assigned to it.', 'thrive-cb' ); ?>
</div>
</div>
</div>
<input class="query-arg" type="hidden" data-arg="filter" value="">
</div>
</div>
<div class="tth-query-container q-filter" data-view="custom">
<span class="tth-subtitle tth-items-to-display">
<?php echo esc_html__( 'Content to display', 'thrive-cb' ); ?>
</span>
<div class="query-post-type-select tth-dropdown-container"></div>
<input class="query-arg" type="hidden" data-arg="post_type" value="">
</div>
<div class="tth-query-container">
<div class="post-list-count loading-when-empty"></div>
<div class="q-filter" data-view="related" style="display: none">
<span class="tth-subtitle mb-20">
<?php echo esc_html__( 'Related', 'thrive-cb' ); ?>
</span>
<p>
<?php $text = esc_html__( 'Display results related to the current page, by the following criteria: ', 'thrive-cb' ); ?>
<?php echo apply_filters( 'tcb_post_list.related_text', $text ); ?>
</p>
<ul class="tth-options q-related-taxonomies"></ul>
</div>
<div class="q-filter" data-view="custom" style="display: none;">
<div class="tth-rule-container-header mb-10">
<span class="tth-subtitle">
<?php echo esc_html__( 'Filtering', 'thrive-cb' ); ?>
</span>
<div>
<button class="tth-add-rule click" data-fn="newRule" disabled>
<?php echo esc_html__( 'Add Rule', 'thrive-cb' ); ?>
</button>
</div>
</div>
<div class="tth-body-container q-custom-container">
<div class="no-rules">
<?php echo esc_html__( 'All posts on your website are selected to be displayed in the post list.', 'thrive-cb' ); ?>
</div>
<div class="query-rules"></div>
<div class="new-rules">
<span><?php echo esc_html__( 'Create a display rule based on', 'thrive-cb' ); ?></span>
<div class="tth-dropdown-container new-rule-taxonomies"></div>
</div>
</div>
<div class="tth-incompatible-taxonomies-container" style="display:none">
<span class="tth-incompatible-title">
<span class="tth-incompatible-title-alert">
<span class="tth-warning-icon"></span>
<?php echo esc_html__( 'WARNING', 'thrive-cb' ); ?>
</span>
<span class="tth-incompatible-title-text">
<?php echo esc_html__( ' - Some content types will not be displayed', 'thrive-cb' ); ?>
</span>
<span class="tth-show-details click" data-fn="showWarningDetails">
<?php echo esc_html__( '... show details', 'thrive-cb' ); ?>
</span>
<span class="tth-hide-details click" data-fn="hideWarningDetails" style="display:none">
<?php echo esc_html__( 'Hide details', 'thrive-cb' ); ?>
</span>
</span>
<div class="tth-incompatible-container" style="display:none">
<ul class="tth-incompatible-taxonomies-list"></ul>
<a href="https://thrivethemes.com/tkb_item/some-content-types-will-not-be-displayed-warning-why-does-this-occur/" target="_blank">
<?php echo esc_html__( 'Learn why this occurs and how to solve it', 'thrive-cb' ); ?>
</a>
</div>
</div>
</div>
</div>
<div class="tth-query-container">
<div class="tth-subtitle tth-fe-filters">
<?php echo esc_html__( 'Allowed Front End Filters', 'thrive-cb' ); ?>
<div class="tth-info-tooltip">
<?php tcb_icon( 'info-circle-solid' ); ?>
<div class="tth-tooltip-message">
<?php echo esc_html__( 'Front end filters let your visitors apply the filters that they want to your post lists. Add both this post list and a filter element to your page. Filters will only affect this post list if the URL Query Key has been enabled below.', 'thrive-cb' ); ?>
<a href="https://help.thrivethemes.com/en/articles/6533678-how-to-use-the-post-list-filter-element#h_12dd68c67c" target="_blank" class="tth-tooltip-redirect-link">
<?php echo esc_html__( ' Learn more.', 'thrive-cb' ); ?>
</a>
</div>
</div>
</div>
<div class="tth-rule-container-header mt-10 mb-10">
<div class="query-options-row">
<div class="new-filters">
<div class="tth-dropdown-container new-filters-dropdown"></div>
</div>
</div>
</div>
</div>
<div class="tth-query-container query-options">
<span class="tth-subtitle mb-20">
<?php echo esc_html__( 'Order', 'thrive-cb' ); ?>
</span>
<div class="query-options-row">
<div class="arrange-results">
<div><?php echo esc_html__( 'Arrange the results by: ', 'thrive-cb' ); ?></div>
<div class="tth-dropdown-container orderby-arg"></div>
<input type="hidden" data-arg="orderby" class="query-arg">
<span><?php echo esc_html__( 'and', 'thrive-cb' ); ?></span>
</div>
<span class="arrange-sort"><?php echo esc_html__( 'sort', 'thrive-cb' ); ?></span>
<div class="tth-dropdown-container order-arg"></div>
<input type="hidden" data-arg="order" class="query-arg">
<div><?php echo esc_html__( 'Display', 'thrive-cb' ); ?></div>
<input type="number" min="1" value="1" class="query-arg inline-input-arg" data-arg="posts_per_page">
<div><?php echo esc_html__( 'of the sorted results', 'thrive-cb' ); ?></div>
<div class="tth-offset-container pl-5">
<span><?php echo esc_html__( 'starting from item number', 'thrive-cb' ); ?></span>
<input type="number" min="1" value="1" class="query-arg inline-input-arg" data-arg="offset">
</div>
</div>
<div class="query-options-row bottom-settings">
<label>
<span>
<?php echo esc_html__( 'If there are no results show this message:', 'thrive-cb' ); ?>
</span>
<input type="text" class="query-arg" data-arg="no_posts_text">
</label>
<label class="exclude-items">
<?php if ( apply_filters( 'tcb_post_list.show_exclude', true ) ) : ?>
<span class="tcb-switch tcb-exclude-post-lever">
<label>
<input type="checkbox" class="tve-checkbox change query-arg" data-arg="exclude_current_post">
<span class="tcb-lever"></span>
</label>
</span>
<span><?php echo esc_html__( 'Exclude current post from the list', 'thrive-cb' ); ?></span>
<?php endif; ?>
</label>
</div>
</div>

View File

@@ -0,0 +1,13 @@
<div class="tth-dropdown-container q-s-relation"></div>
<span><?php echo __( 'results that belong to ', 'thrive-cb' ); ?></span>
<div class="tth-dropdown-container q-s-operator"></div>
<span><?php echo __( ' of these ', 'thrive-cb' ); ?></span>
<span class="taxonomy-label"><#= this.model.getTaxonomyLabel() #></span>
<div class="tth-dropdown-container q-s-terms"></div>
<button class="tth-delete-block click" data-fn="ruleRemove"></button>

View File

@@ -0,0 +1,4 @@
<span class="tth-elem-multi q-selected-term">
<span class="loading-when-empty"><#= label #></span>
<button class="click" data-fn="manageTerms" data-value="<#= term #>"></button>
</span>

View File

@@ -0,0 +1,3 @@
<button class="tth-elem-selected click" data-fn="selectToggle"><#= this.defaultSelected #></button>
<input type="text" class="tth-dropdown-search input" data-fn="search" placeholder="<?php echo __( 'Search', 'thrive-cb' ); ?>">
<ul class="tth-dropdown"></ul>