1
Publicidade e tráfego / Re: Tráfego Voz & SMS - Vouchers Skype
« em: 21/Ago/2012 20:16 »
hum, ok
$my_feed_url = "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=url-do-feed";
$s_ch = curl_init();
curl_setopt($s_ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($s_ch, CURLOPT_URL, $my_feed_url);
$data = curl_exec($s_ch);
curl_close($s_ch);
$xml = new SimpleXMLElement($data);
$no_of_readers = $xml->feed->entry['circulation'];
echo $no_of_readers."Readers";
E a tua theme tem o CSS feito para submenus?
<div id="top_menu">
<div id="wp_menus"><?php wp_nav_menu(array('sort_column' => 'menu_order', 'container_class' => 'menu-header')); ?></div>
</div>
#top_menu { float: right; width: 600px; height: 53px; background: url(images/nav_center.png) no-repeat; position: static; margin-top: 15px; font-family: 'Yanone Kaffeesatz', arial, serif; font-size: 13px; text-align: center; }
#wp_menus { list-style: none; }
#wp_menus ul { font-size:1.4em; list-style:none; line-height:2.7em; float: left; margin-left: 0px; }
#wp_menus ul li { float:left; border-right: 1px solid #d7d7d7; text-align:center; }
#wp_menus ul li a { color: #7f7f7f; float: left; padding-right:20px; padding-left: 20px; }
#wp_menus li a:hover { background: #e4e4e4; opacity:0.3; color: #000000; border-top: 1px solid #e4e4e4; border-bottom: 10px; solid #e4e4e4; border-right: 20px solid #e4e4e4; border-left: 20px solid #e4e4e4; padding-right:0px; padding-left: 0px; }
#wp_menus ul li.current-menu-item a { background: #e4e4e4; opacity:0.3; color: #000000; border-top: 1px solid #e4e4e4; border-bottom: 10px; solid #e4e4e4; border-right: 20px solid #e4e4e4; border-left: 20px solid #e4e4e4; padding-right:0px; padding-left: 0px; }
#wp_menus ul ul {display:none; float: left; }
#content{
width:400px;
float: left;
border: 0px;
}
#content a {
border: 0px;
}
#image_post {
margin-left: 10px;
margin-right: 5px;
margin-bottom: 10px;
margin-top: 5px;
}
#image_post a {
border:0px;
}
<div id="image_post">
<a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a>
</div>