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,50 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
if ( ! empty( $args['name'] ) && false !== $has_shortcode ) : ?>
<br>
<b><?php echo ! empty( $labels['name'] ) ? esc_html( $labels['name'] ) . ':' : esc_html__( 'Name:', 'thrive-dash' ); ?> </b><span> <?php echo esc_html( $args['name'] ); ?> </span>
<?php endif; ?>
<?php if ( false !== $has_shortcode ) : ?>
<br>
<b><?php echo ! empty( $labels['email'] ) ? esc_html( $labels['email'] ) . ':' : esc_html__( 'Email:', 'thrive-dash' ); ?></b><span> <?php echo esc_html( $args['email'] ); ?> </span>
<?php endif; ?>
<?php if ( ! empty( $args['phone'] ) && false !== $has_shortcode ) : ?>
<br>
<b><?php echo ! empty( $labels['phone'] ) ? esc_html( $labels['phone'] ) . ':' : esc_html__( 'Phone:', 'thrive-dash' ); ?></b><span> <?php echo esc_html( $args['phone'] ); ?> </span>
<?php endif; ?>
<?php if ( isset( $args['include_date'] ) && 1 === (int) $args['include_date'] ) : ?>
<br>
<b><?php echo esc_html__( 'Date:', 'thrive-dash' ); ?> </b> <span> <?php echo esc_html( date_i18n( 'jS F, Y' ) ); ?> </span>
<?php endif; ?>
<?php if ( isset( $args['include_time'] ) && 1 === (int) $args['include_time'] ) : ?>
<br>
<b><?php echo esc_html__( 'Time:', 'thrive-dash' ); ?> </b> <span> <?php echo esc_html( $time ); ?> </span>
<?php endif; ?>
<?php if ( isset( $args['include_page_url'] ) && 1 === (int) $args['include_page_url'] ) : ?>
<br>
<b><?php echo esc_html__( 'Page URL:', 'thrive-dash' ); ?> </b> <span> <a href="<?php echo esc_url( $args['url'] ); ?>"> <?php echo esc_html( $args['url'] ); ?> </a> </span>
<?php endif; ?>
<?php if ( isset( $args['include_ip'] ) && 1 === (int) $args['include_ip'] ) : ?>
<br>
<b><?php echo esc_html__( 'IP Address:', 'thrive-dash' ); ?> </b> <span> <?php echo esc_html( tve_dash_get_ip() ); ?> </span>
<?php endif; ?>
<?php if ( isset( $args['include_device_settings'] ) && 1 === (int) $args['include_device_settings'] ) : ?>
<br>
<b><?php echo esc_html__( 'Device Settings:', 'thrive-dash' ); ?> </b><span> <?php echo esc_html( isset( $_SERVER['HTTP_USER_AGENT'] ) ? sanitize_text_field( $_SERVER['HTTP_USER_AGENT'] ) : '' ); ?> </span>
<?php endif; ?>
<br>

View File

@@ -0,0 +1,19 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
$api_slug = strtolower( str_replace( array( ' ', '-' ), '', $this->get_key() ) ); ?>
<?php $video_urls = $this->get_api_video_urls(); ?>
<?php if ( array_key_exists( $api_slug, $video_urls ) && ! empty( $video_urls[ $api_slug ] ) ) : ?>
<div class="ttw-video-urls-container tvd-m6 tvd-no-padding tvd-left ttw-<?php echo esc_attr( $api_slug ); ?>-video">
<p class="ttw-video-urls-wrapper">
<a class="ttw-video-urls tvd-open-video" data-source="<?php echo esc_attr( $video_urls[ $api_slug ] ) ?>"><?php echo esc_html__( 'I need help with this', 'thrive-dash' ); ?></a>
</p>
</div>
<?php endif ?>