Foros del Web » Creando para Internet » HTML »

Problema con linea de código y algo de WP

Estas en el tema de Problema con linea de código y algo de WP en el foro de HTML en Foros del Web. tengo un problema con mi index estoy tratanto de colocarle el plugin WP-PostRating y no me funciona el link dle plugin es http://wordpress.org/extend/plugins/.../installation/ es solo ...
  #1 (permalink)  
Antiguo 19/04/2011, 08:04
 
Fecha de Ingreso: octubre-2009
Mensajes: 129
Antigüedad: 15 años, 1 mes
Puntos: 1
Problema con linea de código y algo de WP

tengo un problema con mi index estoy tratanto de colocarle el plugin WP-PostRating y no me funciona

el link dle plugin es http://wordpress.org/extend/plugins/.../installation/

es solo insertar esta linea de codigo
Código:
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
donde quieres que se muestra el plugin


aqui una imagen de como se ve me


creo que tengo es un div mal, anteriormente tenia un script de postraint pero lo comentarize aqui el codigo


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">

<head>

<style type="text/css">

<!--

.Estilo2 {font-size: 12px}

.Estilo8 {font-size: 15px}

-->

</style>



<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/engine.css" />

<script language="javascript" type="text/javascript">

<!--

function bookmarkthis(title,url) {

  if (window.sidebar) { // Firefox

     window.sidebar.addPanel(title, url, "");

  } else if (document.all) { // IE

     window.external.AddFavorite(url, title);

  } else if (window.opera && window.print) { // Opera

     var elem = document.createElement('a');

     elem.setAttribute('href',url);

     elem.setAttribute('title',title);

     elem.setAttribute('rel','sidebar');

     elem.click();

  }

}

//-->

</script>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/css/tooltip.js"></script>



        <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/all.css" />

        <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="{THEME}/css/lt7.css" /><![endif]-->



    </head>

    <body>

    

        <div class="w1">

            <div class="w2">

                <div class="w3">

                    <div id="wrapper">

                        <div class="wrapper-c">

                            <div class="wrapper-h">

                                <div id="header">

                                    <h1 class="logo"><a href="<?php bloginfo('wpurl'); ?>">cinex24.com</a></h1>
                                    
                                  
            

                                    <form action="<?php bloginfo('wpurl'); ?>" method="get" class="search-form">

                                        <fieldset>

                                            <a href="#" class="basket">???????</a>

                                        <span class="text-input"><input name="s" name="story" type="text" id="search_input" class="search_input" />

                                        </span>
                                        
                                        <input type="image" value="Buscar pelicula" class="advanced-search" src="<?php bloginfo('template_url'); ?>/images/spacer.gif" alt="" title="" />
                                    

                                                                      <input type="hidden" name="do" value="search" />

                                                                      <input type="hidden" name="subaction" value="search" />

                                        </fieldset>

                                    </form>

                                    <div class="cinema-top"><div>&nbsp;</div></div>

                                </div>

                                <div id="main">

                                    <div id="content">

                                        <div class="banner"><!-- BEGIN SMOWTION TAG - 728x90 - peliculas: p2p - DO NOT MODIFY -->

<iframe allowtransparency="true" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="728" height="90" src="http://ads.smowtion.com/st?ad_size=728x90&section=1678302"></iframe>

<!-- END SMOWTION TAG - 728x90 - peliculas: p2p - DO NOT MODIFY -->

</div>

<div class="content-c">


                                            <div class="content-h">



                                                <div class="novelty-wrapper">

                                                    <h2 class="novelty">???????  ??????????</h2>

                                                </div>



                                                <div class="novelty-block">

                                                

                                                <div id='dle-content'>

                                                  <div class="column">

                                                        <div class="image-holder">

                                                            
                                                            
                                                            <div class="holder">

                                                                <div class="inner">

                                                                   <div id='ratig-layer-47'><div class="rating" style="float:left;"> 
                                                                   

<!--<ul class="unit-rating">

       <li class="current-rating" style="width:0px;">0</li>
        <li><a href="#" title="Muy Malo" class="r1-unit" onclick="dleRate('1', '47'); return false;">1</a></li>
        <li><a href="#" title="Malo" class="r2-unit" onclick="dleRate('2', '47'); return false;">2</a></li>
        <li><a href="#" title="Regular" class="r3-unit" onclick="dleRate('3', '47'); return false;">3</a></li>
        <li><a href="#" title="Bueno" class="r4-unit" onclick="dleRate('4', '47'); return false;">4</a></li>
        <li><a href="#" title="Excelente" class="r5-unit" onclick="dleRate('5', '47'); return false;">5</a></li>
        </ul>-->
        <?php if(function_exists('the_ratings')) { the_ratings(); } ?> 
</div></div>

                                                                    <a class="dvd-rip">dvd-rip</a>

                                                                </div>

                                                            </div>

                                                        </div>


                                                        </a>

                                         
                                                    </div>
   
                                                     <div class="navigation" align="center" style="margin:0px 0px 20px 0px;clear:both;"><?php wp_pagenavi(); ?></div>

</div>

                                                </div>



                                            </div>

                                        </div>

                                    </div>


                                    <div id="sidebar">

                                        <div class="oscar"></div>

                                        <div class="holder">

                                            <ul class="top-list">

<li><a href="<?php bloginfo('wpurl'); ?>">Inicio</a>|</li>
                                                <li><a href="<?php bloginfo('wpurl'); ?>/foro">Foro</a>|</li>

                                                

                                                <li><a href="<?php bloginfo('wpurl'); ?>/contacto.html">Contactanos</a></li>

                                            </ul>

                                            <div class="films" id="dle_login" style="display:none;">

                                            

                                                <div class="inner">

                                                

                                                </div>

                                            </div>

                                            <div class="films">

                                                <h4>Categor&iacute;as </h4>

                                                <div class="inner">

                                                    <ul class="Estilo8">

                                                        <?php wp_list_categories('title_li='); ?>

                                                  </ul>

                                                    <p>&nbsp;</p>

                                              <span class="more"><a href="#"></a></span>                                                </div>

                                            </div>

                                            <div class="box">

                                                <h4><div style="color:#0066CC">Lo + Popular</div></h4>

                                                <div class="inner">

                                                    <ul>

                                                        <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=weekly&limit=10&order_by=views&stats_comments=0&pages=0"); ?> 

                                                    </ul>

                                                    </div>

                                            </div>

                                            <div class="box">

                                                <h4><div style="color:#0066CC">Peli del D&iacute;a</div></h4>

                                                <div class="inner">

                                                <ul class="news-list">

                                                        <?php if (have_posts()) : ?>

                            

                                                </ul>

                                              </div>

                                            </div>

                                            <div class="banner"><a href="#"></a></div>

                                        </div>

                                    </div>

                                </div>

                                <div id="footer">

                                    <div class="holder">

                                        <div id="info">

                                          <div id="link">

                                            <div align="center"><a href="#">AVISO LEGAL</a> | <a href="#">POLITICA DE PRIVACIDAD</a> | <a href="#">TERMINOS Y CONDICIONES</a></div>

                                          </div>

                                          <p align="center" class="Estilo2">Copyright 2010-2011 &copy; <a href="<?php bloginfo('wpurl'); ?>" target="_blank">cinex24.com</a> descarga de peliculas gratis  Todos los derechos reservados. <a href="http://whos.amung.us/stats/aaqpxv765y6r/" target="_blank"><img src="http://whos.amung.us/cwidget/aaqpxv765y6r/ffc20e000000.png" width="3" height="2" border="0"  /></a></p>

                                      </div>

                                        <p>&nbsp;</p>

                                  </div>

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="cinema"><div>&nbsp;</div></div>

                </div>

            </div>

        </div>

    </body>

</html>

Última edición por moises9633; 19/04/2011 a las 08:17

Etiquetas: linea
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:28.