Hallo,
ich habe auf http://www.php-scripts.com/20050907/3/ diesen Schnippel gefunden. Leider funktioniert der gar nicht. Hat das jemand schon einmal probiert?
Im Prinzip geht es darum Artikel aus einem Blog auf einer anderen PHP-Seite anzeigen zu können. Wäre fein wenn wenn es da was gäbe.
PHP
<?php
require(‘wp-blog-header.php’);
?>
<!– if you want to have a title graphic it goes here –>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
# [url="<?php the_permalink() ?>"]"><?php the_title(); ?>[/url] [size="1"] in <?php the_category(’, ‘) ?> [/size][size="1"]<?php the_time(’m-d-Y’); ?> <?php the_time(’g:i a’); ?>[/size]
<?php endforeach; else: ?>
<!– put what you want here when there are no posts –>
<?php endif; ?>
Alles anzeigen
marcoo