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,6 @@
<div class="control-grid full-width tcb-bn-url">
<label for="v-bn-url">URL <span class="click tve-bunnynet-info ml-5" data-paneltlt-hover data-fn="openTooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span></label>
<input type="text" data-setting="url" class="bn-url tve_provider_url" id="v-bn-url" placeholder="e.g. https://video.bunnycdn.com/play/{library-id}/{video-id}">
</div>
<div class="bunnynet-url-validate inline-message"></div>

View File

@@ -0,0 +1,35 @@
<?php
$settings = array(
array(
'setting' => 'autoplay',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Autoplay', 'thrive-cb' ),
'info' => true,
'info_fn' => 'openTooltip',
),
array(
'setting' => 'controls',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide player controls', 'thrive-cb' ),
'disable_option' => 'no-download',
'disable_option_val' => 0,
),
array(
'setting' => 'loop',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Loop', 'thrive-cb' ),
),
array(
'setting' => 'no-download',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Allow users to download', 'thrive-cb' ),
),
);
foreach ( $settings as $setting ) {
tcb_template( 'actions/responsive-video-providers/provider-extra', $setting );
}

View File

@@ -0,0 +1 @@
<div class="extra-settings"></div>

View File

@@ -0,0 +1,27 @@
<?php
$settings = array(
array(
'setting' => 'autoplay',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Autoplay', 'thrive-cb' ),
'info' => true,
'info_fn' => 'openTooltip',
),
array(
'setting' => 'controls',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide player controls', 'thrive-cb' ),
),
array(
'setting' => 'loop',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Loop', 'thrive-cb' ),
),
);
foreach ( $settings as $setting ) {
tcb_template( 'actions/responsive-video-providers/provider-extra', $setting );
}

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width">
<label for="v-eh-url">URL</label>
<input type="text" data-setting="url" class="eh-url tve_provider_url" id="v-eh-url" placeholder="e.g. https://www.domain.com/video.extension">
</div>
<div class="eh-url-validate inline-message"></div>

View File

@@ -0,0 +1,38 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
if ( empty( $data ) || ! is_array( $data ) ) {
return;
}
?>
<div class="control-grid switch" data-setting="<?php echo esc_attr( $data['setting'] ); ?>">
<div class="fill">
<span class="switch-label"><?php echo esc_html( $data['label'] ); ?></span>
<?php if ( ! empty( $data['info'] ) ): ?>
<span class="click tve-switch-info" data-fn="<?php echo esc_attr( $data['info_fn'] ); ?>" data-paneltlt-hover><?php tcb_icon( 'info-circle-solid' ); ?></span>
<?php endif; ?>
</div>
<div class="tcb-switch">
<label>
<input type="checkbox" class="change"
data-fn="extra_settings_changed"
data-elem-attr="<?php echo esc_attr( $data['setting'] ); ?>"
data-elem-attr-val="<?php echo esc_attr( $data['checked_val'] ); ?>"
data-elem-attr-val-unchecked="<?php echo esc_attr( $data['unchecked_val'] ); ?>"
<?php if ( ! empty( $data['disable_option'] ) ) : ?>
data-disable-option="<?php echo esc_attr( $data['disable_option'] ); ?>"
data-disable-value="<?php echo esc_attr( $data['disable_option_val'] ); ?>"
<?php endif; ?>
>
<span class="tcb-lever"></span>
</label>
</div>
</div>

View File

@@ -0,0 +1,33 @@
<?php
$settings = array(
array(
'setting' => 'autoplay',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Autoplay', 'thrive-cb' ),
'info' => true,
'info_fn' => 'openTooltip',
),
array(
'setting' => 'modestbranding',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide logo', 'thrive-cb' ),
),
array(
'setting' => 'showinfo',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide title bar', 'thrive-cb' ),
),
array(
'setting' => 'byline',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide byline', 'thrive-cb' ),
),
);
foreach ( $settings as $setting ) {
tcb_template( 'actions/responsive-video-providers/provider-extra', $setting );
}

View File

@@ -0,0 +1,13 @@
<div class="control-grid wrap">
<label for="v-v-url">
<?php echo esc_html__( 'URL', 'thrive-cb' ) ?>
</label>
<input type="text" data-setting="url" class="v-url tve_provider_url full-width" id="v-v-url" placeholder="e.g. https://vimeo.com/22676965">
</div>
<div class="inline-message"></div>
<div class="control-grid wrap no-space">
<label>
<?php echo esc_html__( 'Player color', 'thrive-cb' ) ?>
</label>
<div class="tcb-text-right v-setting-color full-width"></div>
</div>

View File

@@ -0,0 +1,7 @@
<div class="control-grid wrap">
<label for="v-v-url">
<?php echo esc_html__( 'URL', 'thrive-cb' ) ?>
</label>
<input type="text" data-setting="url" class="v-url tve_provider_url full-width" id="v-v-url" placeholder="e.g. https://domain.vooplayer.com/22676965">
</div>
<div class="vooplayer-url-validate inline-message"></div>

View File

@@ -0,0 +1,27 @@
<?php
$settings = array(
array(
'setting' => 'autoplay',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Autoplay', 'thrive-cb' ),
'info' => true,
'info_fn' => 'openTooltip',
),
array(
'setting' => 'play-bar',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Disable Playbar', 'thrive-cb' ),
),
array(
'setting' => 'fs',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide full-screen button', 'thrive-cb' ),
),
);
foreach ( $settings as $setting ) {
tcb_template( 'actions/responsive-video-providers/provider-extra', $setting );
}

View File

@@ -0,0 +1,13 @@
<div class="control-grid wrap">
<label for="v-w-url">
<?php echo esc_html__( 'URL', 'thrive-cb' ) ?>
</label>
<input type="text" data-setting="url" class="w-url tve_provider_url fill" id="v-w-url" placeholder="e.g. http://fast.wistia.net/embed/iframe/pestdpyl7m">
</div>
<div class="inline-message"></div>
<div class="control-grid wrap no-space">
<label>
<?php echo esc_html__( 'Player color', 'thrive-cb' ) ?>
</label>
<div class="tcb-text-right v-setting-color full-width"></div>
</div>

View File

@@ -0,0 +1,49 @@
<?php
$settings = array(
array(
'setting' => 'autoplay',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Autoplay', 'thrive-cb' ),
'info' => true,
'info_fn' => 'openTooltip',
),
array(
'setting' => 'no-cookie',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Disable YouTube cookies', 'thrive-cb' ),
'info' => true,
'info_fn' => 'cookieTooltip',
),
array(
'setting' => 'rel',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Optimize related videos', 'thrive-cb' ),
),
array(
'setting' => 'controls',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide player controls', 'thrive-cb' ),
'disable_option' => 'modestbranding,fs',
'disable_option_val' => 0,
),
array(
'setting' => 'fs',
'checked_val' => 0,
'unchecked_val' => 1,
'label' => __( 'Hide full-screen', 'thrive-cb' ),
),
array(
'setting' => 'modestbranding',
'checked_val' => 1,
'unchecked_val' => 0,
'label' => __( 'Hide logo', 'thrive-cb' ),
),
);
foreach ( $settings as $setting ) {
tcb_template( 'actions/responsive-video-providers/provider-extra', $setting );
}

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width">
<label for="v-yt-url">URL</label>
<input type="text" data-setting="url" class="yt-url tve_provider_url" id="v-yt-url" placeholder="e.g. https://www.youtube.com/watch?v=oJ440S7gTBU">
</div>
<div class="yt-url-validate inline-message"></div>