← WordPress

[Plugin] Post Mais Vistos

Lida 4239 vezes

Offline

Aderio 
Beta tester
Mensagens 177 Gostos 31
Feedback +2

Troféus totais: 23
Trófeus: (Ver todos)
Sixth year Anniversary Level 5 Linux User Mobile User Level 4 Windows User Super Combination Combination Topic Starter Poll Voter

Boas, já experimentei montes de plugin para adicionar à barra lateral os posts mais vistos do site, mas nenhum funcionou correctamente?
Alguém me pode ajudar?
Offline

Aderio 
Beta tester
Mensagens 177 Gostos 31
Feedback +2

Troféus totais: 23
Trófeus: (Ver todos)
Sixth year Anniversary Level 5 Linux User Mobile User Level 4 Windows User Super Combination Combination Topic Starter Poll Voter

Pois era mesmo isso... No entanto o projecto é ainda muito verde para estar a investir em plugins pagos.  :-(
Não existem opções viáveis free?

Muito obrigado pela gratidão.
Offline

flock 
Membro
Mensagens 508 Gostos 0
Feedback +7

Troféus totais: 22
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 500 Posts 100 Posts

Pois era mesmo isso... No entanto o projecto é ainda muito verde para estar a investir em plugins pagos.  :-(
Não existem opções viáveis free?

Muito obrigado pela gratidão.
Free não sei só utilizo esse pago isso fica cerca de 7€
Offline

Jóni Oliveira 
Administrador
Mensagens 3428 Gostos 395
Feedback +28

Troféus totais: 35
Trófeus: (Ver todos)
Tenth year Anniversary Nineth year Anniversary Mobile User Apple User Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes

Tens melhor grátis e só procurares no wp ;)
Offline

Aderio 
Beta tester
Mensagens 177 Gostos 31
Feedback +2

Troféus totais: 23
Trófeus: (Ver todos)
Sixth year Anniversary Level 5 Linux User Mobile User Level 4 Windows User Super Combination Combination Topic Starter Poll Voter

Tens melhor grátis e só procurares no wp ;)

Pois mas eu já procurei muitos e nenhum funcionou correctamente... Será conflito com o tema?
Offline

Luizi 
Membro
Mensagens 522 Gostos 2
Feedback +3

Troféus totais: 26
Trófeus: (Ver todos)
Apple User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2

Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Ou melhor ainda, sem plugin nenhum...

Código: (php) [Seleccione]
<ul class="top-comments">
   <?php
      $args 
= array(
         
'orderby' => 'comment_count',
         
'posts_per_page' => 5,
      );
   
?>

   <?php $pc = new WP_Query($args); ?>
   <?php while ($pc->have_posts()) : $pc->the_post(); ?>
   <li>
      <p><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
   </li>
   <?php endwhile; ?>
</ul>

Isso apresenta os 5 artigos com mais comentários.
Offline

Luizi 
Membro
Mensagens 522 Gostos 2
Feedback +3

Troféus totais: 26
Trófeus: (Ver todos)
Apple User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2

Acho que ele procura os mais vistos.
Ser mais comentado, não quer dizer que tenha sido o mais visto do mês...