Tema: Nuevo modulo
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 29/04/2009, 16:59
Xray
 
Fecha de Ingreso: febrero-2003
Mensajes: 70
Antigüedad: 21 años, 3 meses
Puntos: 0
Respuesta: Nuevo modulo

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php ?> <?php wp_title(); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lte IE 6]>
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/sfhover.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body>
<div id="page">
    <div class="top-header">
        <div id="logo"><a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.gif" alt="logo"/></a></div>
        <div class="banner">
            <div align="center" style="padding-top:5px;">
            </div>
        </div>
        
        <div class="carro">
            <?php include (ABSPATH '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
        </div>
        
        <div class="carro2">
            <?php 
                query_posts
('showposts=5&cat=3'); 
                if (
have_posts()) : while (have_posts()) : the_post(); 
            
?> 
            <div class="caja">
                <img src="<?php bloginfo('stylesheet_directory'); ?>/images/mini.gif" width="11" height="11" alt="" /><a href="<?php the_permalink() ?>"><?php the_title() ?></a> 
                <?php the_excerpt(''?>   
            </div>
            
            <?php endwhile; endif; ?> 
        </div>

<ul id="nav">
        <div class="navdcha"><span>RSS:</span> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss2.gif" width="21" height="21" alt="" /><span>EMAIL:</span> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/email2.gif" width="21" height="21" alt="" /></div>
            <?php /* If this is the frontpage */ if ( is_home() ) { ?>
            <li class="current-cat"><a href="<?php echo get_option('home'); ?>/" class="home">Home</a></li>
  <?php } else { ?>
            <li><a href="<?php echo get_option('home'); ?>/" class="home">Home</a></li>
            <?php ?>
  <?php wp_list_pages('title_li='); ?>
</ul>

<div class="texture-top">&nbsp;</div>
<div class="wrap-middle">
Hay alguna cosa en css un poco chapuza pero no dan pa mas mis conocimientos xD

Te pondria un enlace para que lo vieses tu mismo, pero lo tengo en local y no se realmente como hacer para que el apache muestre la web publicamente. :S