Ver Mensaje Individual
  #11 (permalink)  
Antiguo 14/01/2013, 16:42
arturocivit
 
Fecha de Ingreso: octubre-2011
Mensajes: 13
Antigüedad: 12 años, 6 meses
Puntos: 0
Respuesta: Hook Ups, temas propio y los plugins

Sera que el error viene de el centro de la spaginas, no el header ni el footer sino todo lo demas?

Por ejemplo:

Código:
<?php
/*
Template Name: Home Page
*/
?>
<?php get_header(); ?>

<!--BEGIN CONTENT -->

<div id="container">
<?php include('comms.php'); ?>
    
    
<div id="content-container">



<?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>



<div id="content">
<div id="PageTitles">RANDE TURNER FEATURED PROPERTIES</div>

<p>

<?php
global $post;
$args = array( 'numberposts' => 9, 'category' => 5, 'orderby' => 'rand' );
$myposts = get_posts( $args );
foreach( $myposts as $post ) :	setup_postdata($post); ?>

<div id="FeaturedPropery">
<a href="<?php the_permalink(); ?>" border="0"><?php the_post_thumbnail('mycustomsize'); ?></a>
<br />
<?php echo get_post_meta($post->ID, 'Community', true); ?> | <?php echo get_post_meta($post->ID, 'Price', true); ?> | <?php echo get_post_meta($post->ID, 'Status', true); ?>
</div>
<?php endforeach; ?>

</p>


<div id="VideoProperty">

<?php query_posts('cat=3&showposts=1&offset=0&orderby=rand'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>


</div>

</div>


<?php get_sidebar(); ?>


<div id="Bios"><img src="<?php print IMAGES; ?>/Bios.png" width="1066" height="167" border="0" usemap="#Map3">
  <map name="Map3">
    <area shape="rect" coords="129,87,248,98" href="mailto:[email protected]">
    <area shape="rect" coords="129,104,237,115" href="http://randeturner.com">
    <area shape="rect" coords="393,88,502,99" href="mailto:[email protected]">
    <area shape="rect" coords="392,105,500,115" href="http://randeturner.com">
    <area shape="rect" coords="661,86,781,98" href="mailto:[email protected]">
    <area shape="rect" coords="661,105,768,115" href="http://randeturner.com">
    <area shape="rect" coords="926,87,1037,98" href="mailto:[email protected]">
    <area shape="rect" coords="927,105,1037,115" href="http://randeturner.com">
  </map>
</div>



<div id="BlogTwNewsBox">
<div id="clear-center-image"><img src="<?php print IMAGES; ?>/NewsBanner.png" width="1065" height="79"></div>
<div id="clear-center-image"><img src="<?php print IMAGES; ?>/LatestBlogEntries.png" width="294" height="64"></div>




<div id="BlogRoundBox">

<?php
global $post;
$args = array( 'numberposts' => 6, 'category' => 4 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) :	setup_postdata($post); ?>


<!-- Begin Post -->

<div class="BoxBlog">
<?php the_post_thumbnail('BlogImagesThumb', 'class=alignleft'); ?>
<b><?php the_title(); ?></b>
<?php the_excerpt(); ?>
</div>

<?php endforeach; ?>

<!-- End Post -->



</div> 


<div id="clear-center-image"><img src="<?php print IMAGES; ?>/LatestTweets.png" width="229" height="61" /></div>




<div id="TweetRoundBox">
<?php
include_once(ABSPATH . WPINC . '/feed.php');
$rss = fetch_feed('https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=randeturner');
$maxitems = $rss->get_item_quantity(4);
$rss_items = $rss->get_items(0, $maxitems);
?>

<ul style="list-style: disc;">
<?php if ($maxitems == 0) echo '<li>No items.</li>';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<li>
<a href='<?php echo $item->get_permalink(); ?>' class="NewsBoxLink">
<?php echo $item->get_title(); ?>
</a>
</li><br />
<?php endforeach; ?>
</ul>
</div>



</div>



<div id="Logos">
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Luxury.jpg" width="183" height="132"></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/LuxuryPort.jpg" width="183" height="132"></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Regent.jpg" width="264" height="132"></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/LeadinRealState.jpg" width="128" height="132"></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Willis.jpg" width="128" height="132"></div>
</div> <!-- End Logos -->

</div>
</div>

<!--END CONTENT -->
<?php get_footer(); ?>
Saludos!