Files
roi-theme/wp-content/plugins/advanced-ads/views/admin/placements/edit-modal/fields/ad-label-position.php
root a22573bf0b 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>
2025-11-03 21:04:30 -06:00

40 lines
1.6 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Render ad label position option for placements.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.50.0
*
* @var string $position Value of the position option.
* @var bool $clearfix Value of the position clearfix option.
*/
?>
<label title="<?php esc_html_e( 'default', 'advanced-ads' ); ?>">
<input type="radio" name="advads[placements][options][placement_position]" value="default" <?php checked( $position, 'default' ); ?>/>
<?php esc_html_e( 'default', 'advanced-ads' ); ?>
</label>
<label title="<?php esc_html_e( 'left', 'advanced-ads' ); ?>">
<input type="radio" name="advads[placements][options][placement_position]" value="left" <?php checked( $position, 'left' ); ?>/>
<?php esc_html_e( 'left', 'advanced-ads' ); ?>
</label>
<label title="<?php esc_html_e( 'center', 'advanced-ads' ); ?>">
<input type="radio" name="advads[placements][options][placement_position]" value="center" <?php checked( $position, 'center' ); ?>/>
<?php esc_html_e( 'center', 'advanced-ads' ); ?>
</label>
<label title="<?php esc_html_e( 'right', 'advanced-ads' ); ?>">
<input type="radio" name="advads[placements][options][placement_position]" value="right" <?php checked( $position, 'right' ); ?>/>
<?php esc_html_e( 'right', 'advanced-ads' ); ?>
</label>
<p>
<label>
<input type="checkbox" name="advads[placements][options][placement_clearfix]" value="1" <?php checked( $clearfix, 1 ); ?>/>
<?php esc_html_e( 'Check this if you dont want the following elements to float around the ad. (adds a placement_clearfix)', 'advanced-ads' ); ?>
</label>
</p>