Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Últimos posts do WP

Featured Replies

Postado

Olá pessoal eu estou querendo colocar uma lista com meus últimos 3 posts do wordpress em meu site que é em html, gostaria de saber como fazer pois pesquisei muito e não encontrei solução.

Andei olhando alguns sites aqui do forum e achei bem legal o da mibhost que usa bem o que eu queria kk , e o da brasilhosp também muito legal.

http://www.mibhost.com/

http://www.brasilhosp.com.br/

Obrigado


Postado
Olá pessoal eu estou querendo colocar uma lista com meus últimos 3 posts do wordpress em meu site que é em html, gostaria de saber como fazer pois pesquisei muito e não encontrei solução.

Andei olhando alguns sites aqui do forum e achei bem legal o da mibhost que usa bem o que eu queria kk , e o da brasilhosp também muito legal.

http://www.mibhost.com/

http://www.brasilhosp.com.br/

Obrigado

Entra no msn que eu te passo o script :)


Postado
<?php
// Include Wordpress
define('WP_USE_THEMES', false);
require('./PASTADOBLOG/wp-load.php');
query_posts('showposts=5');

while (have_posts()): the_post(); ?>
<li><a target="_blank" href="<?php the_permalink(); ?>"><?php $str = get_the_title(); echo utf8_decode($str); ?></a></li>
<?php endwhile; ?>
[/PHP]


Postado
  • Autor
Entra no msn que eu te passo o script :)

Muito Obrigado Igor, ja ja to Online


Postado
  • Autor
<?php
// Include Wordpress
define('WP_USE_THEMES', false);
require('./PASTADOBLOG/wp-load.php');
query_posts('showposts=5');

while (have_posts()): the_post(); ?>
<li><a target="_blank" href="<?php the_permalink(); ?>"><?php $str = get_the_title(); echo utf8_decode($str); ?></a></li>
<?php endwhile; ?>
[/PHP]

Valew Jordan você é 10 ...


Postado
<?php
// Include Wordpress
define('WP_USE_THEMES', false);
require('./PASTADOBLOG/wp-load.php');
query_posts('showposts=5');

while (have_posts()): the_post(); ?>
<li><a target="_blank" href="<?php the_permalink(); ?>"><?php $str = get_the_title(); echo utf8_decode($str); ?></a></li>
<?php endwhile; ?>
[/PHP]

Muito bom, Jordan :)

Joel, lembrando que seu site não for em php, você deve usar um frame :)

Editado por IgorBueno


Postado
  • Autor
Muito bom, Jordan :)

Joel, lembrando que seu site não for em php, você deve usar um frame :)

vixi é em html....

Vou usar frame mesmo então.

Valew


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.