Preguntas frecuentes
La página de preguntas frecuentes contiene varias de las preguntas más frecuentes y nuestras soluciones para ellas. Esta sección cambiará con el tiempo y debe ser su primera parada para un problema específico.
Esto suele deberse a un problema con los enlaces permanentes.
Vaya a Configuración > Enlaces permanentes y vuelva a guardar la página Enlaces permanentes. (No hagas ningún cambio en la configuración. Simplemente haz clic en el botón azul para volver a guardar la configuración actual).
A veces, cuando se activan en el sitio nuevos tipos de entrada personalizados, como los anuncios de AdSanity, los enlaces permanentes no se restablecen para incluir el nuevo tipo. Esta solución debe restablecer la estructura de permalink e incluir AdSanity en el proceso. Esto no afectará a nada en su sitio (a menos que realice cambios en la configuración de permalink, en el que tendrá implicaciones obvias).
Sí, hay muchas opciones: botón shortcode en el editor clásico, bloques gutenberg, módulos Beaver Builder y etiquetas de plantilla PHP.
Ejemplo de código corto
[adsanity id="put-the-ad-id-here" align="alignnone"]
[adsanity_group num_ads=4 num_columns=2 group_ids=1,2 /]
Ejemplos de plantillas de etiquetas
Etiquetas de las plantillas principales
Los anuncios de AdSanity se pueden colocar de forma programática. Hay dos etiquetas de plantilla disponibles para los usuarios. Una para añadir un solo anuncio y otra para mostrar un grupo de anuncios. Es posible que desee añadir estas etiquetas a plantillas o partes de plantillas específicas para mostrar sus anuncios.
Para mostrar un solo anuncio:
<?php
adsanity_show_ad( array(
// any valid ad ID will do
// (you can get this from the main list of ads)
'post_id' => 1,
// (one of the following:
// alignleft, aligncenter, alignright or alignnone)
'align' => false,
// this will optionally return the output instead of echoing it
'return' => false,
));
?>
Para mostrar un grupo de anuncios:
<?php
adsanity_show_ad_group( array(
// an array of valid group ids
// (you can get these from the main list of ad groups)
'group_ids' => array(),
// number of ads to show total
'num_ads' => 1,
// number of ads to show per row
'num_columns' => 1,
// this will optionally return the output instead of echoing it
'return' => false,
));
?>
Etiquetas de plantillas adicionales
Además de nuestras etiquetas de plantilla principales, algunos complementos proporcionan etiquetas de plantilla adicionales.
Para mostrar anuncios rotativos:
<?php
adsanity_show_rotating_ads( array(
// any valid group id
'group_id' => 0,
// (one of the following: alignleft, aligncenter, alignright or alignnone)
'align' => false,
// how many seconds to show an ad before rotating
'time' => 30,
// setting a max width can help keep ads responsive,
// but also no wider than necessary
'max_width' => 0,
// this will optionally return the output instead of echoing it
'return' => false,
));
?>
Para mostrar anuncios ordenados:
<?php
function adsanity_show_ordered_ads( array(
// the number of columns to output
'num_columns' => 1,
// an array of valid ad ids
// (you can get these from the main list of ads)
'ad_ids' => array(),
// (one of the following:
// alignleft, aligncenter, alignright or alignnone)
'align' => 'alignnone',
// this will optionally return the output instead of echoing it
'return' => false,
));
AdSanity siempre tendrá la capacidad de admitir cualquier tamaño de anuncio no estándar a través de un complemento. AdSanity actualmente soporta los siguientes tamaños de anuncios por defecto:
- 1x1 - Respuesta
- 1x2 - Respuesta
- 1x3 - Respuesta
- 1x4 - Respuesta
- 2x1 - Respuesta
- 3x1 - Respuesta
- 4x1 - Respuesta
- 6x1 - Respuesta
- 8x1 - Respuesta
- 10x1 - Respuesta
- 88x31 - Micro Bar
- 120x60 - Botón 2
- 120x90 - Botón 1
- 120x240 - Banner vertical
- 120x600 - Rascacielos
- 125x125 - Botón cuadrado
- 160x600 - Rascacielos ancho
- 180x150 - Rectángulo
- 200x90
- 200x200
- 234x60 - Media pancarta
- 240x400 - Rectángulo vertical
- 250x250 - Pop-Up cuadrado
- 300x100 - Rectángulo 3:1
- 300x250 - Rectángulo mediano
- 300x600 - Anuncio de media página
- 336x280 - Rectángulo grande
- 468x15
- 468x60 - Banner completo
- 720x300 - Pop-Under
- 728x90 - Clasificación
Estos tamaños de anuncio se derivan de las normas IAB. Los tamaños de anuncios responsivos deben utilizarse para contenidos HTML5 dinámicos que cumplan las nuevas normas LEAN. En diciembre de 2016, se actualizaron los estándares de la IAB ( consulte https://www.iab.com/guidelines/iab-display-advertising-guidelines). Si desea mantener los valores predeterminados de la versión 1.0, descargue, instale y active el complemento AdSanity adjunto a través del instalador de complementos de WordPress.
adsanity-size-filter.php.zip (2 KB)
If you're getting an error message when trying to authenticate your plugin, it is likely being caused by one of a few things that you can fix on your own. Follow the steps below to resolve any issues you might be having before sending in a support ticket.
- Use the correct username. Your correct username consists of the first part of your email address you used during your purchase - basically, everything before the @ sign.
- Be sure that the plugin folder name is "adsanity." Occasionally after updating plugins, WordPress will rename the folder adsanity.tmp or something of that sort. Our authentication system is unable to find the plugin and is therefore unable to authenticate it.
If none of that worked for you, you've done your due diligence. Go ahead and submit a support ticket and we'll make sure there's nothing else going on on our end that is blocking your authentication.
We recognize that static or animated image files aren't the only type in use on the web. We also support flash ads with a static image fallback. While we work on an updated interface to include Flash ads, we have always had the ability to use the network ad code field to place flash ads.
Step 1
Upload your flash file to WordPress via the media uploader.
Step 2
Paste the flash embed code below into the code box under the network ads tab (changing your-flash-file.swf with the URL of your flash file). If you use a clickTAG in your swf file, the attached code will also track clicks.
You can optionally include a static fallback image for devices that don't support flash wrapped in a special link so the clicks get tracked. You'll need to upload the image via the media uploader and replace your-image-file.jpg with the full url to the uploaded image as well. You have to enter the destination URL in the tracking url field and use our special %link% tag in the href.
<object type="application/x-shockwave-flash" data="your-flash-file.swf" width="300" height="250">
<param name="movie" value="your-flash-file.swf" />
<param name="quality" value="high" />
<param name="flashvars" value="clickTAG=%link%">
<!-- STATIC FALLBACK IMAGE-->
<a href="%link%"><img src="your-image-file.jpg" width="300" height="250" /></a>
<!-- /STATIC FALLBACK IMAGE-->
</object>
¿No ha encontrado lo que buscaba?
Si es suscriptor de AdSanity y no encuentra respuesta a su pregunta concreta, envíe una solicitud y nuestro departamento de asistencia resolverá su problema rápidamente.