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,16 @@
<?php
/**
* Responsive Ads fallback browser width template
*
* @var int $width Fallback width.
*
* @package Advanced_Ads_Pro\Module
* @subpackage Responsive_Ads
* @author Advanced Ads <info@wpadvancedads.com>
*/
$setting_name = Advanced_Ads_Pro::OPTION_KEY . '[responsive-ads][fallback-width]';
?>
<input type="number" name="<?php echo esc_attr( $setting_name ); ?>" value="<?php echo esc_attr( $width ); ?>" class="small-text" /> px.
<a href="https://wpadvancedads.com/manual/display-ads-by-browser-width/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings-fallback-with#Fallback_width" target="_blank" class="advads-manual-link"><?php esc_html_e( 'Manual', 'advanced-ads-pro' ); ?></a>

View File

@@ -0,0 +1,31 @@
<?php
/**
* Responsive Ads reload setting template
*
* @package Advanced_Ads_Pro\Module
* @subpackage Responsive_Ads
* @author Advanced Ads <info@wpadvancedads.com>
*/
$setting_name = Advanced_Ads_Pro::OPTION_KEY . '[responsive-ads][reload-ads-on-resize]';
?>
<input id="aa-pro-reload-ads-on-resize" type="checkbox" name="<?php echo esc_attr( $setting_name ); ?>" value="1"<?php checked( $reload_ads_option_enabled ); ?><?php disabled( ! $cache_busting_enabled ); ?> />
<label for="aa-pro-reload-ads-on-resize">
<?php
esc_html_e( 'Reload ads when the screen resizes.', 'advanced-ads-pro' );
if ( ! $cache_busting_enabled ) {
echo ' ';
esc_html_e( 'You need to enable cache-busting in order to use this feature.', 'advanced-ads-pro' );
}
?>
</label>
<script>
(function($) {
const cacheSwitch = $('#advanced-ads-pro-cache-busting-enabled');
const reloadSwitch = $('#aa-pro-reload-ads-on-resize');
cacheSwitch.on( 'change', function() {
reloadSwitch.prop( 'disabled', ! cacheSwitch.is(':checked') )
})
})(jQuery)
</script>

View File

@@ -0,0 +1,16 @@
<?php
/**
* Responsive Ads setting template
*
* @package Advanced_Ads_Pro\Module
* @subpackage Responsive_Ads
* @author Advanced Ads <info@wpadvancedads.com>
*/
$setting_name = Advanced_Ads_Pro::OPTION_KEY . '[responsive-ads][force-responsive-images]';
?>
<input type="checkbox" id="aa-pro-responsive-images-force" name="<?php echo esc_attr( $setting_name ); ?>" value="1" <?php checked( $force_responsive ); ?> />
<label for="aa-pro-responsive-images-force">
<?php esc_html_e( 'Check this option if the size of image ads is not adjusted responsively by your theme.', 'advanced-ads-pro' ); ?>
</label>