
GoRXiKaRa
Kappa
Social Media
¿Moderadora desde cuando? 😱
Madre mía pues anda que no lleva tiempo xD
¿Moderadora desde cuando? 😱
[MENTION=3486]iNeedYou[/MENTION]
Dejo mi aporte 🙄
Se trata de este otro, es más facil de usar solo ahi que pegar el ca-pub- ### y listo 🙂
HTML:<script type="text/javascript"><!-- google_ad_client = "ca-pub-AQUI-REEMPLAZAR"; if(window.innerWidth >= 800){ google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; }else if(window.innerWidth < 400){ google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; }else{ google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; } google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "FFFFFF"; google_color_text = "FFFFFF"; google_color_url = "FFFFFF"; google_ui_features = "rc:0"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Es editable Y listo solo lo pegan donde desea que se muestre el banner :encouragement:
Saludos buen tuto :welcoming:
Gracias por publicar esta otra opción. Yo pronto tendré que implementar códigos de este tipo para mostrar en PC 336 y en móvil que se ajuste. Veremos si para entonces me aclaro 🙄
[MENTION=3486]iNeedYou[/MENTION] Muchas gracias por este tutorial!
Pero me gustaría preguntarte algo. Para colocar los anuncios en Blogger hay que parchearlos o algo por el estilo. Entonces, si yo hiciese eso, aún me serviría esto del anuncio adaptable??
Gracias nuevamente 🙂
Cito a [MENTION=47896]RaikND[/MENTION] que los implementó en Blogger si no me equivoco. ¿Puedes responder por mi? 🙄 Yo en Blogger no los uso todavía.
Aquí mismo por favor, y resuelves la duda a más gente que llegue hasta esta página 🙂Perdona... tengo el sueño descontrolado y me acabo de levantar ahora... en un rato te lo paso por privado o por aquí mismo y lo pones :encouragement:
No, ni tenía idea de su existencia, ¿dejas su link, por favor? Y le echo un ojo cuando pueda 😀[MENTION=3486]iNeedYou[/MENTION] genial el tuto.
Consulta has probado el plugin de AdSense realizado por google para WordPress?
Estoy en la calle.. Pero desde WordPress pones AdSense y te aparece el plugin desarrollado por google... Cualquier cosa mas tarde te paso el link.No, ni tenía idea de su existencia, ¿dejas su link, por favor? Y le echo un ojo cuando pueda 😀
.promoPc p {width: 100%; height: 100px;}
.promoPhone p {width: 100%; height: 100px; display: inherit;}
<b:if cond='data:blog.pageType == "item"'>
<style type='text/css'>
/* Promo Header by RaikND */
.promoContent {background-color: #F3F3F5; width:100%; text-align:center; margin: 5px 0 0 0; padding: 2px;}
.promoPc, .promoPhone {width: 100%;}
.promoPc p {width: 100%; height: 100px;}
.promoPhone p {display: none;}
/* Responsive Phone by RaikND */
@ media (max-width: 480px) {
.promoContent {height:100px;}
.promoPc p {display: none;}
.promoPhone { float:left; width: 100%; margin-bottom: 5px;}
.promoPhone p {width: 100%; height: 100px; display: inherit;}
}
</style>
</b:if>
<!-- Promo Header by RaikND -->
<b:if cond='data:blog.pageType == "item"'>
<div class='promoContent'>
<div class='promoPc'>
<p>EDITAR CODIGO PARA IMPRIMIR DESDE EL PC</p>
</div>
<div class='promoPhone'>
<p>EDITAR CODIGO PARA IMPRIMIR DESDE EL MOVIL</p>
</div>
</div>
</b:if>
/* Promo Header by RaikND */
.promoContent {background-color: #F3F3F5; width:100%; text-align:center; margin: 5px 0 0 0; padding: 2px;}
.promoPc, .promoPhone {width: 100%;}
.promoPc p {width: 100%; height: 100px;}
.promoPhone p {display: none;}
/* Responsive Phone by RaikND */
@ media (max-width: 480px) {
.promoContent {height:100px;}
.promoPc p {display: none;}
.promoPhone { float:left; width: 100%; margin-bottom: 5px;}
.promoPhone p {width: 100%; height: 100px; display: inherit;}
}
<!-- Promo Header by RaikND -->
<div class='promoContent'>
<div class='promoPc'>
<p>EDITAR CODIGO PARA IMPRIMIR DESDE EL PC</p>
</div>
<div class='promoPhone'>
<p>EDITAR CODIGO PARA IMPRIMIR DESDE EL MOVIL</p>
</div>
</div>
Consultonta... Que archivos son en WordPressBueno yo aquí dejo mi pequeño aporte en CSS y HTML, sin necesidad de el asqueroso javascript odioso.
Podeis modificar exactamente como quereis que salga vuestro anuncio cambiando el width / height en estas clases:
PHP:.promoPc p {width: 100%; height: 100px;} .promoPhone p {width: 100%; height: 100px; display: inherit;}
Esta parte solo sera apto para que el anuncio solo se imprima en entradas de Blogger:
Antes de el </head>:
PHP:<b:if cond='data:blog.pageType == "item"'> <style type='text/css'> /* Promo Header by RaikND */ .promoContent {background-color: #F3F3F5; width:100%; text-align:center; margin: 5px 0 0 0; padding: 2px;} .promoPc, .promoPhone {width: 100%;} .promoPc p {width: 100%; height: 100px;} .promoPhone p {display: none;} /* Responsive Phone by RaikND */ @ media (max-width: 480px) { .promoContent {height:100px;} .promoPc p {display: none;} .promoPhone { float:left; width: 100%; margin-bottom: 5px;} .promoPhone p {width: 100%; height: 100px; display: inherit;} } </style> </b:if>
Y en el sitio que quieres ubicar tu anuncio en la parte HTML, claro despues de la etiqueta <body>:
HTML:<!-- Promo Header by RaikND --> <b:if cond='data:blog.pageType == "item"'> <div class='promoContent'> <div class='promoPc'> <p>EDITAR CODIGO PARA IMPRIMIR DESDE EL PC</p> </div> <div class='promoPhone'> <p>EDITAR CODIGO PARA IMPRIMIR DESDE EL MOVIL</p> </div> </div> </b:if>
Todas las plataformas y ponen esto antes de el </head>:
PHP:/* Promo Header by RaikND */ .promoContent {background-color: #F3F3F5; width:100%; text-align:center; margin: 5px 0 0 0; padding: 2px;} .promoPc, .promoPhone {width: 100%;} .promoPc p {width: 100%; height: 100px;} .promoPhone p {display: none;} /* Responsive Phone by RaikND */ @ media (max-width: 480px) { .promoContent {height:100px;} .promoPc p {display: none;} .promoPhone { float:left; width: 100%; margin-bottom: 5px;} .promoPhone p {width: 100%; height: 100px; display: inherit;} }
Y aqui despues del <body>:
HTML:<!-- Promo Header by RaikND --> <div class='promoContent'> <div class='promoPc'> <p>EDITAR CODIGO PARA IMPRIMIR DESDE EL PC</p> </div> <div class='promoPhone'> <p>EDITAR CODIGO PARA IMPRIMIR DESDE EL MOVIL</p> </div> </div>
Aquí esta mi pequeño aporte, lo que necesiten, avisarme :encouragement:
Consultonta... Que archivos son en WordPress