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,21 @@
<?php
/**
* Display message indicating that ads are disabled for a specific post type.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*
* @var object $labels Post type labels.
*/
?>
<p>
<?php
printf(
/* translators: %s post type plural name */
esc_html__( 'Ads are disabled for all %s', 'advanced-ads' ),
$labels->name // phpcs:ignore
);
?>
</p>

View File

@@ -0,0 +1,39 @@
<?php
/**
* Create your first ad tutorial.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
// TODO: create popup for video.
?>
<div class="advads-ad-metabox postbox" style="clear: both; margin: 10px 20px 0 2px;">
<div id="advads-first-ad-links">
<button type="button" id="advads-first-ad-video-link" class="button-primary">
<span class="dashicons dashicons-format-video"></span>
&nbsp;<?php esc_attr_e( 'Watch the “First Ad” Tutorial (Video)', 'advanced-ads' ); ?>
</button>
</div>
</div>
<script>
( function ( $ ) {
var videoButton = $( '#advads-first-ad-video-link' );
var wpLang = '<?php echo esc_html( get_locale() ); ?>';
var buttonClicked = false;
videoButton
.click( function () {
if ( ! buttonClicked ) {
if ( wpLang === 'de_DE' ) {
$( '<br class="clear"/><br/><iframe width="420" height="315" src="https://www.youtube-nocookie.com/embed/Gd09nf1dNwY?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>' ).appendTo( '#advads-first-ad-links' );
} else {
$( '<br class="clear"/><br/><iframe width="420" height="315" src="https://www.youtube-nocookie.com/embed/nfybYz8ayXQ?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>' ).appendTo( '#advads-first-ad-links' );
}
buttonClicked = ! buttonClicked;
}
} )
.children( '.dashicons' ).css( 'line-height', videoButton.css( 'line-height' ) );
} )( jQuery );
</script>