Widget de Redes Sociales Estetico Blogger y Wordpress

Estado
No está abierto para más respuestas.

garlock

Oro Blanco
Usuario de Bronce
Mensajes
1,294
Puntuación de reacción
0
Hoy les vengo a compartir el código de un widget que podemos poner en la sidebar y que nos muestra las redes sociales de la siguiente manera:

FxgbvaV.png

Blogger:

Para ponerlo iremos a los elementos de la plantilla y añadiremos en nuestra sidebar un nuevo widget: HTML/JAVASCRIPT. (texto en wordpress)

En ese widget que yo titule siguenos, tu le puedes poner el titulo que desees pones el siguiente codigo:

Código:
<!-- Styles -->
<style type="text/css">
#share-box-0 {
	width:300px;
	overflow:hidden;
}
#share-box-0 .gplusone {
	background-color:#f5fcfe;
	border:1px solid #d8e6eb;
	border-top:1px solid #FFF;
	font-size:.87em;
	color:#000;
	line-height:24px;
	padding:9px 0 0 11px;
}

#share-box-0 .gplusone span {
	display:inline-block;
	vertical-align:middle;
	height:20px;
	margin-top:-17px;
}

#share-box-0 .fb-like-box {
	border:1px solid #dcdcdc;
	padding:5px 11px;
}
#share-box-0 .twitter-follow {
	background-color:#eef9fd;
	border:1px solid #c7dbe2;
	border-top:0;
}

#share-box-0 .twitter-follow iframe {
	margin:9px 11px;
}
#other-social-bar {
    background-color: #D8E6EB;
    border: 1px solid #B6D0DA;
    box-shadow: 0 1px 1px #FFFFFF inset;
    font-family: "Arial","Helvetica",sans-serif;
    font-weight: bold;
    overflow: hidden;
    padding: 0;
}
#other-social-bar ul {
    list-style: none outside none;
    padding-left: 4px;
}
#other-social-bar .other-follow {
    color: #1E598E;
    float: left;
    height: 16px;
    overflow: hidden;
    padding: 10px 10px 7px;
    width: 270px;
}
#other-social-bar .other-follow ul {
    list-style: none outside none;
    padding-left: 4px;
}
#other-social-bar .other-follow li {
    border: 0 none;
    display: inline;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px white;
}
#other-social-bar .other-follow li a {
    color: #1E598E;
    display: inline;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px white;
}
#other-social-bar .other-follow li.my-rss {
    background: url(http://4.bp.blogspot.com/-3ZR8uAHB8QY/T-MLyuLqG4I/AAAAAAAAFxw/Zxk86OIXwJM/s000/rss-16x16.png) no-repeat scroll 0 0 transparent;
    line-height: 1;
    margin-bottom: 0;
    padding: 0 3px 1px 20px;
    width: 60px;
}
#other-social-bar .other-follow li.my-gplus {
	background: url(http://2.bp.blogspot.com/-oV5JSdsA2Sw/T-MLyxNI7PI/AAAAAAAAFx4/rVvTQjUpjCE/s000/gplus-16x16.png) no-repeat transparent;
	line-height: 1;
	width: 60px;
	padding: 0px 3px 1px 20px;
	margin-bottom:0px;
}
#other-social-bar .other-follow li.my-pinterest {
	background: url(http://4.bp.blogspot.com/-zYx6lF1--pw/T-MLzJGZcNI/AAAAAAAAFyA/R7emD2taC9s/s000/small-p-button.png) no-repeat transparent;
	line-height: 1;
	width: 60px;
	padding: 0px 3px 1px 20px;
	margin-bottom:0px;
}
#email-news-subscribe .email-box {
	padding: 10px 10px; 
	font-family: "Arial","Helvetica",sans-serif;
	border-top: 0;
	border-right: 1px solid #C7DBE2;
	border-left: 1px solid #C7DBE2;
	border-image: initial;
}
#email-news-subscribe .email-box input.email {
	background:#FFFFFF;
	border: 1px solid #dedede;
	color: #999;
	padding: 7px 10px 8px 10px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	border-image: initial;
	font-family: "Arial","Helvetica",sans-serif;
}	
#email-news-subscribe .email-box input.email:focus {
	color:#333
}	
#email-news-subscribe .email-box input.subscribe {
	background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#FFCA00),color-stop(1,#FF9B00));
	background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
	-pie-background: linear-gradient(270deg,#ffca00,#ff9b00);
	font-family: "Arial","Helvetica",sans-serif;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border:1px solid #cc7c00;
	color:white;
	text-shadow:#d08d00 1px 1px 0;
	padding:7px 14px;
	margin-left:3px;
	font-weight:bold;
	font-size:12px;
	cursor:pointer;
	border-image: initial;
}
#email-news-subscribe .email-box input.subscribe:hover {
	background: #ff9b00;
	background-image:-moz-linear-gradient(top,#ffda4d,#ff9b00);
	background-image:-webkit-gradient(linear,left top,left bottom,from(#ffda4d),to(#ff9b00));
	filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#ebebeb);
	outline:0;-moz-box-shadow:0 0 3px #999;
	-webkit-box-shadow:0 0 3px #999;
	box-shadow:0 0 3px #999
	background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ffda4d),color-stop(1,#ff9b00));
	background:-moz-linear-gradient(center top,#ffda4d 0,#ff9b00 100%);
	-pie-background:linear-gradient(270deg,#ffda4d,#ff9b00);
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border:1px solid #cc7c00;
	color:#FFFFFF;
	text-shadow:#d08d00 1px 1px 0
}
</style>


  <div id="share-box-0">  
  
    <div class="fb-like-box">
      <iframe src="http://www.facebook.com/plugins/like.php?href=[COLOR="#FF0000"]URL DE TU BLOG/FANPAGE[/COLOR]&layout=standard&show_faces=false&width=350&action=like&colorscheme=light" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:250px; height:40px"></iframe></div>
    <div class="gplusone">
      <div class="g-plusone po-stub" data-size="medium" data-count="true" data-callback="fire_multitrack" data-href="[COLOR="#FF0000"]URL DE TU BLOG[/COLOR]"></div> <span>Recomendar en Google</span>
    </div>
   <div class="twitter-follow">
      <a href="http://twitter.com/[COLOR="#FF0000"]NOMBREDEUSUARIO[/COLOR]" class="twitter-follow-button">Follow @[COLOR="#FF0000"]NOMBREDEUSUARIO[/COLOR]</a>
    </div>
	<div style="background: #E3EDF4;" id="email-news-subscribe">
	     <div class="email-box">
		    <form onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=[COLOR="#FF0000"]ULTIMAPARTEDEURL[/COLOR]', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow" method="post" action="http://feedburner.google.com/fb/a/mailverify?uri=[COLOR="#FF0000"]ULTIMAPARTEDEURL[/COLOR]">	
			    <input type="text" onblur="if(this.value=='')this.value=this.defaultValue;" onfocus="if(this.value==this.defaultValue)this.value='';" value="Escribe tu email" name="email" id="email" style="width: 140px; font-size: 12px;" class="email" />		
			    <input type="hidden" name="uri" value="[COLOR="#FF0000"]ULTIMAPARTEDEURL[/COLOR]" />
			    <input type="hidden" value="es_US" name="loc" />
			    <input type="submit" value="Suscribete" name="commit" class="subscribe" />	
		    </form>
	    </div>
	</div>
<div style="background: #D8E6EB;" id="other-social-bar">
	<ul class="other-follow">
		<li class="my-rss">
			<a target="_blank" href="[COLOR="#FF0000"]URL DE TU RSS (PUEDE SER FEEDBURNER)[/COLOR]" title="RSS" rel="nofollow">RSS Feed</a>
		</li>
		<li class="my-gplus">
			<a target="_blank" href="[COLOR="#FF0000"]URL DE TU PERFIL DE GOOGLE+[/COLOR]" title="Google Plus" rel="nofollow">Google Plus</a>
		</li>
		<li class="my-pinterest">
			<a target="_blank" href="http://pinterest.com/[COLOR="#FF0000"]NOMBREDEUSUARIO[/COLOR]" title="Pinterest" rel="nofollow">Pinterest</a>
		</li>
	</ul>
</div>
  </div>

<!-- Scripts -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: 'en'}</script>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

<div class='clear'></div>

Ya solo queda modificar lo que puse en MAYUSCULAS Y EN ROJO.
NOTA: para poner la caja de suscripcion por email de feedburner tomaremos la ultima parte de la url de feedburner, es decir, si nuestra direccion de fedburner es: http://feeds.feedburner.com/SoyTwitter , en el codigo solo sustituiremos lo que esta en rojo por lo que esta despues del / , en mi caso: SoyTwitter
(Espero asi les funcione)

NOTA2: Los Me Gusta no cuestan, deja uno si te agrado el widget!

Cualquier duda déjenla en este hilo
 

Novato

Oro Blanco
Usuario de Bronce
Mensajes
1,239
Puntuación de reacción
3
Se ve bien, vamos a ver que tal va ! Gracias :cool:
 
Mensajes
399
Puntuación de reacción
2
Ostras! Esa caja la vi yo en muchos sitios webs y me encantó! En cuanto pueda la pongo...
Muchas gracias!!
 
Mensajes
121
Puntuación de reacción
0
Pues está muy bien una cosa así, dejas de tener mil celdas en el lado y todo en una.

Me lo anoto.
 

devan

Piedra
Usuario de Piedra
Mensajes
48
Puntuación de reacción
0
Alguna forma facil de implementar esto como un sidebar widget en wordpress? Gracias de antemano
 
Mensajes
366
Puntuación de reacción
0
Gracias, estuve buscando algo parecido para una página web que tengo :mola:
 
Estado
No está abierto para más respuestas.
Arriba